summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2002-04-29 01:41:43 +0000
committersimonb <simonb@NetBSD.org>2002-04-29 01:41:43 +0000
commiteb0846961ea97ec3f03c0cf2dbe77e90bfa7db6f (patch)
tree54fa6023647b3f877883bf435bb10ee0d8304b26 /lib
parentcb3d9867b6eab4530daf4e261bc679b2a1859388 (diff)
Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/directory.33
-rw-r--r--lib/libc/gen/getgrent.33
-rw-r--r--lib/libc/gen/getpwent.33
-rw-r--r--lib/libc/gen/utime.33
-rw-r--r--lib/libc/regex/regex.33
-rw-r--r--lib/libc/sys/chmod.23
-rw-r--r--lib/libc/sys/chown.23
-rw-r--r--lib/libc/sys/fork.23
-rw-r--r--lib/libc/sys/getgid.23
-rw-r--r--lib/libc/sys/getgroups.23
-rw-r--r--lib/libc/sys/getpid.23
-rw-r--r--lib/libc/sys/getuid.23
-rw-r--r--lib/libc/sys/mkdir.23
-rw-r--r--lib/libc/sys/mkfifo.23
-rw-r--r--lib/libc/sys/setsid.23
-rw-r--r--lib/libc/sys/setuid.23
-rw-r--r--lib/libc/sys/stat.23
-rw-r--r--lib/libc/sys/umask.23
-rw-r--r--lib/libc/sys/wait.23
-rw-r--r--lib/libc/termios/tcgetpgrp.33
-rw-r--r--lib/libc/termios/tcsetpgrp.33
21 files changed, 21 insertions, 42 deletions
diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3
index 87cef0209e8..23ba9249e73 100644
--- a/lib/libc/gen/directory.3
+++ b/lib/libc/gen/directory.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: directory.3,v 1.14 2002/02/07 09:24:04 ross Exp $
+.\" $NetBSD: directory.3,v 1.15 2002/04/29 01:41:43 simonb Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -48,7 +48,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]dirent.h\*[Gt]
.Ft DIR *
.Fn opendir "const char *filename"
diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3
index 954c4791327..d5f2236eccd 100644
--- a/lib/libc/gen/getgrent.3
+++ b/lib/libc/gen/getgrent.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: getgrent.3,v 1.15 2002/02/07 07:00:12 ross Exp $
+.\" $NetBSD: getgrent.3,v 1.16 2002/04/29 01:41:44 simonb Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -48,7 +48,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]grp.h\*[Gt]
.Ft struct group *
.Fn getgrent void
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index 47204df80bf..527dd564d29 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: getpwent.3,v 1.19 2002/02/07 07:00:13 ross Exp $
+.\" $NetBSD: getpwent.3,v 1.20 2002/04/29 01:41:44 simonb Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -47,7 +47,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]pwd.h\*[Gt]
.Ft struct passwd *
.Fn getpwent void
diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3
index ccd654fe8ed..6a994fcc764 100644
--- a/lib/libc/gen/utime.3
+++ b/lib/libc/gen/utime.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: utime.3,v 1.15 2002/02/07 07:00:18 ross Exp $
+.\" $NetBSD: utime.3,v 1.16 2002/04/29 01:41:44 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]utime.h\*[Gt]
.Ft int
.Fn utime "const char *file" "const struct utimbuf *timep"
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index c5a56caaae9..d824b8d0fb6 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: regex.3,v 1.12 2002/02/07 07:00:22 ross Exp $
+.\" $NetBSD: regex.3,v 1.13 2002/04/29 01:41:44 simonb Exp $
.\"
.\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
.\" Copyright (c) 1992, 1993, 1994
@@ -50,7 +50,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]regex.h\*[Gt]
.Ft int
.Fn regcomp "regex_t *preg" "const char *pattern" "int cflags"
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index c2f8eb840ac..81a583dab94 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: chmod.2,v 1.21 2002/02/08 01:28:16 ross Exp $
+.\" $NetBSD: chmod.2,v 1.22 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -44,7 +44,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]sys/stat.h\*[Gt]
.Ft int
.Fn chmod "const char *path" "mode_t mode"
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2
index 34ee8d3e551..17c4cabcdd1 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: chown.2,v 1.25 2002/04/01 11:19:41 jdolecek Exp $
+.\" $NetBSD: chown.2,v 1.26 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -44,7 +44,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft int
.Fn chown "const char *path" "uid_t owner" "gid_t group"
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index a0171dc3b6b..805b7fa923f 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: fork.2,v 1.13 2002/02/08 01:28:17 ross Exp $
+.\" $NetBSD: fork.2,v 1.14 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft pid_t
.Fn fork void
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index fe62303165e..2afe0bbf83f 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getgid.2,v 1.13 2002/02/08 01:28:17 ross Exp $
+.\" $NetBSD: getgid.2,v 1.14 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,7 +43,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft gid_t
.Fn getgid void
diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2
index fb9a15224a2..c708fc2e554 100644
--- a/lib/libc/sys/getgroups.2
+++ b/lib/libc/sys/getgroups.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getgroups.2,v 1.15 2002/02/08 01:28:17 ross Exp $
+.\" $NetBSD: getgroups.2,v 1.16 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft int
.Fn getgroups "int gidsetlen" "gid_t *gidset"
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2
index 576469b62ea..53bebd5c558 100644
--- a/lib/libc/sys/getpid.2
+++ b/lib/libc/sys/getpid.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getpid.2,v 1.12 2002/02/08 01:28:17 ross Exp $
+.\" $NetBSD: getpid.2,v 1.13 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,7 +43,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft pid_t
.Fn getpid void
diff --git a/lib/libc/sys/getuid.2 b/lib/libc/sys/getuid.2
index dae3232f17d..57571616d26 100644
--- a/lib/libc/sys/getuid.2
+++ b/lib/libc/sys/getuid.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getuid.2,v 1.11 2002/02/08 01:28:18 ross Exp $
+.\" $NetBSD: getuid.2,v 1.12 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,7 +43,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft uid_t
.Fn getuid void
diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2
index eb6bbe8f4f4..2404d9f773f 100644
--- a/lib/libc/sys/mkdir.2
+++ b/lib/libc/sys/mkdir.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkdir.2,v 1.15 2002/02/08 01:28:19 ross Exp $
+.\" $NetBSD: mkdir.2,v 1.16 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]sys/stat.h\*[Gt]
.Ft int
.Fn mkdir "const char *path" "mode_t mode"
diff --git a/lib/libc/sys/mkfifo.2 b/lib/libc/sys/mkfifo.2
index e413d020948..4cff4bab0e6 100644
--- a/lib/libc/sys/mkfifo.2
+++ b/lib/libc/sys/mkfifo.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkfifo.2,v 1.13 2002/02/08 01:28:19 ross Exp $
+.\" $NetBSD: mkfifo.2,v 1.14 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]sys/stat.h\*[Gt]
.Ft int
.Fn mkfifo "const char *path" "mode_t mode"
diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2
index 64bba8a5c1f..3b15fe057df 100644
--- a/lib/libc/sys/setsid.2
+++ b/lib/libc/sys/setsid.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: setsid.2,v 1.8 2002/02/08 01:28:22 ross Exp $
+.\" $NetBSD: setsid.2,v 1.9 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft pid_t
.Fn setsid "void"
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index 3c34a25a960..3228d1ebb1c 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: setuid.2,v 1.11 2002/02/08 01:28:22 ross Exp $
+.\" $NetBSD: setuid.2,v 1.12 2002/04/29 01:41:45 simonb Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -45,7 +45,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft int
.Fn setuid "uid_t uid"
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index dd3905090a8..c8e1be5d280 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.2,v 1.26 2002/02/08 01:28:22 ross Exp $
+.\" $NetBSD: stat.2,v 1.27 2002/04/29 01:41:46 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -44,7 +44,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]sys/stat.h\*[Gt]
.Ft int
.Fn stat "const char *path" "struct stat *sb"
diff --git a/lib/libc/sys/umask.2 b/lib/libc/sys/umask.2
index cb301af882a..287be462efc 100644
--- a/lib/libc/sys/umask.2
+++ b/lib/libc/sys/umask.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: umask.2,v 1.11 2002/02/08 01:28:23 ross Exp $
+.\" $NetBSD: umask.2,v 1.12 2002/04/29 01:41:46 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]sys/stat.h\*[Gt]
.Ft mode_t
.Fn umask "mode_t numask"
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index e4fa5a4661e..405d54c96e2 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: wait.2,v 1.17 2002/02/08 01:28:23 ross Exp $
+.\" $NetBSD: wait.2,v 1.18 2002/04/29 01:41:46 simonb Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -45,7 +45,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]sys/wait.h\*[Gt]
.Ft pid_t
.Fn wait "int *status"
diff --git a/lib/libc/termios/tcgetpgrp.3 b/lib/libc/termios/tcgetpgrp.3
index 63649ba2d8b..02530aac720 100644
--- a/lib/libc/termios/tcgetpgrp.3
+++ b/lib/libc/termios/tcgetpgrp.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: tcgetpgrp.3,v 1.8 2002/02/07 07:00:34 ross Exp $
+.\" $NetBSD: tcgetpgrp.3,v 1.9 2002/04/29 01:41:46 simonb Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft pid_t
.Fn tcgetpgrp "int fd"
diff --git a/lib/libc/termios/tcsetpgrp.3 b/lib/libc/termios/tcsetpgrp.3
index 71b31ea2897..0d126252b08 100644
--- a/lib/libc/termios/tcsetpgrp.3
+++ b/lib/libc/termios/tcsetpgrp.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: tcsetpgrp.3,v 1.7 2002/02/07 07:00:34 ross Exp $
+.\" $NetBSD: tcsetpgrp.3,v 1.8 2002/04/29 01:41:46 simonb Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]unistd.h\*[Gt]
.Ft int
.Fn tcsetpgrp "int fd" "pid_t pgrp_id"