Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add declaration of getsockopt2().



details:   https://anonhg.NetBSD.org/src/rev/2c6ef62b4637
branches:  trunk
changeset: 365083:2c6ef62b4637
user:      rjs <rjs%NetBSD.org@localhost>
date:      Tue Jul 31 13:20:34 2018 +0000

description:
Add declaration of getsockopt2().

diffstat:

 sys/sys/socket.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 64956d8cf9b4 -r 2c6ef62b4637 sys/sys/socket.h
--- a/sys/sys/socket.h  Tue Jul 31 13:06:32 2018 +0000
+++ b/sys/sys/socket.h  Tue Jul 31 13:20:34 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socket.h,v 1.125 2018/07/17 05:52:07 msaitoh Exp $     */
+/*     $NetBSD: socket.h,v 1.126 2018/07/31 13:20:34 rjs Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -655,6 +655,7 @@
 int    getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
 int    getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
 int    getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
+int    getsockopt2(int, int, int, void *__restrict, socklen_t * __restrict);
 int    listen(int, int);
 int    paccept(int, struct sockaddr * __restrict, socklen_t * __restrict,
        const sigset_t * __restrict, int);



Home | Main Index | Thread Index | Old Index