]> Zhao Yanbai Git Server - minix.git/commitdiff
Added prototype for getsockopt().
authorBen Gras <ben@minix3.org>
Mon, 12 Dec 2005 10:40:29 +0000 (10:40 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Dec 2005 10:40:29 +0000 (10:40 +0000)
include/sys/socket.h

index aacb0540b22e4197d709554231f875d0c9ee2779..65d1a8128498ed75fbd4e59852d9758a1c143359 100644 (file)
@@ -61,6 +61,8 @@ _PROTOTYPE( int getsockname, (int _socket,
                                socklen_t *_RESTRICT _address_len)      );
 _PROTOTYPE( int setsockopt,(int _socket, int _level, int _option_name,
                const void *_option_value, socklen_t _option_len)       );
+_PROTOTYPE( int getsockopt, (int _socket, int _level, int _option_name,
+        void *_RESTRICT _option_value, socklen_t *_RESTRICT _option_len));
 _PROTOTYPE( int listen, (int _socket, int _backlog)                    );
 _PROTOTYPE( ssize_t recvfrom, (int _socket, void *_RESTRICT _buffer,
        size_t _length, int _flags, struct sockaddr *_RESTRICT _address,