Reflect the addition of socklen_t.
This commit is contained in:
parent
5dfcd3c125
commit
710170a1d2
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: accept.2,v 1.8 1998/07/28 09:43:30 is Exp $
|
||||
.\" $NetBSD: accept.2,v 1.9 1999/02/10 18:20:02 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1990, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -43,7 +43,7 @@
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Ft int
|
||||
.Fn accept "int s" "struct sockaddr *addr" "int *addrlen"
|
||||
.Fn accept "int s" "struct sockaddr *addr" "socklen_t *addrlen"
|
||||
.Sh DESCRIPTION
|
||||
The argument
|
||||
.Fa s
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: bind.2,v 1.10 1998/08/29 08:32:35 lukem Exp $
|
||||
.\" $NetBSD: bind.2,v 1.11 1999/02/10 18:20:02 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -43,7 +43,7 @@
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Ft int
|
||||
.Fn bind "int s" "const struct sockaddr *name" "int namelen"
|
||||
.Fn bind "int s" "const struct sockaddr *name" "socklen_t namelen"
|
||||
.Sh DESCRIPTION
|
||||
.Fn bind
|
||||
assigns a name to an unnamed socket.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: connect.2,v 1.11 1998/08/29 08:32:36 lukem Exp $
|
||||
.\" $NetBSD: connect.2,v 1.12 1999/02/10 18:20:02 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -43,7 +43,7 @@
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Ft int
|
||||
.Fn connect "int s" "const struct sockaddr *name" "int namelen"
|
||||
.Fn connect "int s" "const struct sockaddr *name" "socklen_t namelen"
|
||||
.Sh DESCRIPTION
|
||||
The parameter
|
||||
.Fa s
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: getpeername.2,v 1.7 1998/06/07 04:56:20 enami Exp $
|
||||
.\" $NetBSD: getpeername.2,v 1.8 1999/02/10 18:20:02 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -42,7 +42,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/socket.h>
|
||||
.Ft int
|
||||
.Fn getpeername "int s" "struct sockaddr *name" "int *namelen"
|
||||
.Fn getpeername "int s" "struct sockaddr *name" "socklen_t *namelen"
|
||||
.Sh DESCRIPTION
|
||||
.Fn getpeername
|
||||
returns the name of the peer connected to
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: getsockname.2,v 1.9 1998/06/07 04:56:20 enami Exp $
|
||||
.\" $NetBSD: getsockname.2,v 1.10 1999/02/10 18:20:02 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -42,7 +42,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/socket.h>
|
||||
.Ft int
|
||||
.Fn getsockname "int s" "struct sockaddr *name" "int *namelen"
|
||||
.Fn getsockname "int s" "struct sockaddr *name" "socklen_t *namelen"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn getsockname
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: getsockopt.2,v 1.15 1998/08/29 08:32:38 lukem Exp $
|
||||
.\" $NetBSD: getsockopt.2,v 1.16 1999/02/10 18:20:03 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -44,9 +44,9 @@
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Ft int
|
||||
.Fn getsockopt "int s" "int level" "int optname" "void *optval" "int *optlen"
|
||||
.Fn getsockopt "int s" "int level" "int optname" "void *optval" "socklen_t *optlen"
|
||||
.Ft int
|
||||
.Fn setsockopt "int s" "int level" "int optname" "const void *optval" "int optlen"
|
||||
.Fn setsockopt "int s" "int level" "int optname" "const void *optval" "socklen_t optlen"
|
||||
.Sh DESCRIPTION
|
||||
.Fn getsockopt
|
||||
and
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: recv.2,v 1.11 1998/08/29 08:32:41 lukem Exp $
|
||||
.\" $NetBSD: recv.2,v 1.12 1999/02/10 18:20:03 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1990, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -47,7 +47,7 @@
|
||||
.Ft ssize_t
|
||||
.Fn recv "int s" "void *buf" "size_t len" "int flags"
|
||||
.Ft ssize_t
|
||||
.Fn recvfrom "int s" "void *buf" "size_t len" "int flags" "struct sockaddr *from" "int *fromlen"
|
||||
.Fn recvfrom "int s" "void *buf" "size_t len" "int flags" "struct sockaddr *from" "socklen_t *fromlen"
|
||||
.Ft ssize_t
|
||||
.Fn recvmsg "int s" "struct msghdr *msg" "int flags"
|
||||
.Sh DESCRIPTION
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: send.2,v 1.12 1998/09/30 14:03:06 hwr Exp $
|
||||
.\" $NetBSD: send.2,v 1.13 1999/02/10 18:20:03 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -47,7 +47,7 @@
|
||||
.Ft ssize_t
|
||||
.Fn send "int s" "const void *msg" "size_t len" "int flags"
|
||||
.Ft ssize_t
|
||||
.Fn sendto "int s" "const void *msg" "size_t len" "int flags" "const struct sockaddr *to" "int tolen"
|
||||
.Fn sendto "int s" "const void *msg" "size_t len" "int flags" "const struct sockaddr *to" "socklen_t tolen"
|
||||
.Ft ssize_t
|
||||
.Fn sendmsg "int s" "const struct msghdr *msg" "int flags"
|
||||
.Sh DESCRIPTION
|
||||
|
Loading…
x
Reference in New Issue
Block a user