diff options
-rw-r--r-- | lib/libc/sys/getpeername.2 | 3 | ||||
-rw-r--r-- | lib/libc/sys/getsockname.2 | 3 | ||||
-rw-r--r-- | lib/libc/sys/listen.2 | 3 | ||||
-rw-r--r-- | lib/libc/sys/shutdown.2 | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 3d672ab5da3..9e489a962b5 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpeername.2,v 1.5 1999/02/15 19:04:20 millert Exp $ +.\" $OpenBSD: getpeername.2,v 1.6 1999/02/15 21:48:57 millert Exp $ .\" $NetBSD: getpeername.2,v 1.6 1995/10/12 15:40:56 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -41,6 +41,7 @@ .Nm getpeername .Nd get name of connected peer .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Ft int .Fn getpeername "int s" "struct sockaddr *name" "socklen_t *namelen" diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index 3e4c054e3e4..b8d545b8c85 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockname.2,v 1.6 1999/02/15 19:04:20 millert Exp $ +.\" $OpenBSD: getsockname.2,v 1.7 1999/02/15 21:48:57 millert Exp $ .\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -41,6 +41,7 @@ .Nm getsockname .Nd get socket name .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Ft int .Fn getsockname "int s" "struct sockaddr *name" "socklen_t *namelen" diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index a44a951bd95..b60ce7bc574 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: listen.2,v 1.2 1996/03/19 23:15:16 niklas Exp $ +.\" $OpenBSD: listen.2,v 1.3 1999/02/15 21:48:57 millert Exp $ .\" $NetBSD: listen.2,v 1.7 1996/02/16 20:38:45 phil Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -41,6 +41,7 @@ .Nm listen .Nd listen for connections on a socket .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Ft int .Fn listen "int s" "int backlog" diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index b229ccb2fe6..fbe9493b1b9 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shutdown.2,v 1.5 1998/07/06 18:28:32 deraadt Exp $ +.\" $OpenBSD: shutdown.2,v 1.6 1999/02/15 21:48:57 millert Exp $ .\" $NetBSD: shutdown.2,v 1.5 1995/02/27 12:37:11 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -41,6 +41,7 @@ .Nm shutdown .Nd shut down part of a full-duplex connection .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <sys/socket.h> .Ft int .Fn shutdown "int s" "int how" |