Remove inclusion of <sys/types.h> from synopsis; it is no longer needed.

This commit is contained in:
kleink 2001-10-16 20:09:59 +00:00
parent 7c6ef4a85e
commit 481b132673
8 changed files with 16 additions and 24 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: accept.2,v 1.17 2001/09/16 02:13:26 wiz Exp $
.\" $NetBSD: accept.2,v 1.18 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)accept.2 8.2 (Berkeley) 12/11/93
.\"
.Dd December 11, 1993
.Dd October 16, 2001
.Dt ACCEPT 2
.Os
.Sh NAME
@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn accept "int s" "struct sockaddr *addr" "socklen_t *addrlen"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bind.2,v 1.17 2001/09/16 02:13:27 wiz Exp $
.\" $NetBSD: bind.2,v 1.18 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)bind.2 8.1 (Berkeley) 6/4/93
.\"
.Dd March 23, 1999
.Dd October 16, 2001
.Dt BIND 2
.Os
.Sh NAME
@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn bind "int s" "const struct sockaddr *name" "socklen_t namelen"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: connect.2,v 1.18 2001/09/16 02:13:27 wiz Exp $
.\" $NetBSD: connect.2,v 1.19 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)connect.2 8.1 (Berkeley) 6/4/93
.\"
.Dd June 4, 1993
.Dd October 16, 2001
.Dt CONNECT 2
.Os
.Sh NAME
@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn connect "int s" "const struct sockaddr *name" "socklen_t namelen"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getsockopt.2,v 1.20 2001/09/16 02:13:28 wiz Exp $
.\" $NetBSD: getsockopt.2,v 1.21 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)getsockopt.2 8.4 (Berkeley) 5/2/95
.\"
.Dd May 2, 1995
.Dd October 16, 2001
.Dt GETSOCKOPT 2
.Os
.Sh NAME
@ -43,7 +43,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn getsockopt "int s" "int level" "int optname" "void *optval" "socklen_t *optlen"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: recv.2,v 1.18 2001/09/16 02:13:30 wiz Exp $
.\" $NetBSD: recv.2,v 1.19 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)recv.2 8.3 (Berkeley) 2/21/94
.\"
.Dd February 21, 1994
.Dd October 16, 2001
.Dt RECV 2
.Os
.Sh NAME
@ -44,7 +44,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft ssize_t
.Fn recv "int s" "void *buf" "size_t len" "int flags"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: send.2,v 1.17 2001/09/16 02:13:31 wiz Exp $
.\" $NetBSD: send.2,v 1.18 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)send.2 8.2 (Berkeley) 2/21/94
.\"
.Dd February 21, 1994
.Dd October 16, 2001
.Dt SEND 2
.Os
.Sh NAME
@ -44,7 +44,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft ssize_t
.Fn send "int s" "const void *msg" "size_t len" "int flags"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: socket.2,v 1.20 2001/09/16 02:13:31 wiz Exp $
.\" $NetBSD: socket.2,v 1.21 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)socket.2 8.1 (Berkeley) 6/4/93
.\"
.Dd June 4, 1993
.Dd October 16, 2001
.Dt SOCKET 2
.Os
.Sh NAME
@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn socket "int domain" "int type" "int protocol"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: socketpair.2,v 1.12 2001/09/16 02:13:32 wiz Exp $
.\" $NetBSD: socketpair.2,v 1.13 2001/10/16 20:09:59 kleink Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)socketpair.2 8.1 (Berkeley) 6/4/93
.\"
.Dd June 4, 1993
.Dd October 16, 2001
.Dt SOCKETPAIR 2
.Os
.Sh NAME
@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn socketpair "int d" "int type" "int protocol" "int *sv"