Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc Remove <sys/types.h> from synopsis, as per latest S...



details:   https://anonhg.NetBSD.org/src/rev/6439273b6f0e
branches:  trunk
changeset: 526236:6439273b6f0e
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Apr 29 01:41:43 2002 +0000

description:
Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs.

diffstat:

 lib/libc/gen/directory.3     |  3 +--
 lib/libc/gen/getgrent.3      |  3 +--
 lib/libc/gen/getpwent.3      |  3 +--
 lib/libc/gen/utime.3         |  3 +--
 lib/libc/regex/regex.3       |  3 +--
 lib/libc/sys/chmod.2         |  3 +--
 lib/libc/sys/chown.2         |  3 +--
 lib/libc/sys/fork.2          |  3 +--
 lib/libc/sys/getgid.2        |  3 +--
 lib/libc/sys/getgroups.2     |  3 +--
 lib/libc/sys/getpid.2        |  3 +--
 lib/libc/sys/getuid.2        |  3 +--
 lib/libc/sys/mkdir.2         |  3 +--
 lib/libc/sys/mkfifo.2        |  3 +--
 lib/libc/sys/setsid.2        |  3 +--
 lib/libc/sys/setuid.2        |  3 +--
 lib/libc/sys/stat.2          |  3 +--
 lib/libc/sys/umask.2         |  3 +--
 lib/libc/sys/wait.2          |  3 +--
 lib/libc/termios/tcgetpgrp.3 |  3 +--
 lib/libc/termios/tcsetpgrp.3 |  3 +--
 21 files changed, 21 insertions(+), 42 deletions(-)

diffs (truncated from 357 to 300 lines):

diff -r 25c9d9c49abb -r 6439273b6f0e lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3  Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/gen/directory.3  Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/gen/getgrent.3
--- a/lib/libc/gen/getgrent.3   Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/gen/getgrent.3   Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/gen/getpwent.3
--- a/lib/libc/gen/getpwent.3   Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/gen/getpwent.3   Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/gen/utime.3
--- a/lib/libc/gen/utime.3      Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/gen/utime.3      Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/regex/regex.3
--- a/lib/libc/regex/regex.3    Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/regex/regex.3    Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/chmod.2
--- a/lib/libc/sys/chmod.2      Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/chmod.2      Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/chown.2
--- a/lib/libc/sys/chown.2      Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/chown.2      Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/fork.2
--- a/lib/libc/sys/fork.2       Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/fork.2       Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/getgid.2
--- a/lib/libc/sys/getgid.2     Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/getgid.2     Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/getgroups.2
--- a/lib/libc/sys/getgroups.2  Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/getgroups.2  Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/getpid.2
--- a/lib/libc/sys/getpid.2     Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/getpid.2     Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/getuid.2
--- a/lib/libc/sys/getuid.2     Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/getuid.2     Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/mkdir.2
--- a/lib/libc/sys/mkdir.2      Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/mkdir.2      Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/mkfifo.2
--- a/lib/libc/sys/mkfifo.2     Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/mkfifo.2     Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/setsid.2
--- a/lib/libc/sys/setsid.2     Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/setsid.2     Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/setuid.2
--- a/lib/libc/sys/setuid.2     Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/setuid.2     Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/stat.2
--- a/lib/libc/sys/stat.2       Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/stat.2       Mon Apr 29 01:41:43 2002 +0000
@@ -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 -r 25c9d9c49abb -r 6439273b6f0e lib/libc/sys/umask.2
--- a/lib/libc/sys/umask.2      Sun Apr 28 22:35:19 2002 +0000
+++ b/lib/libc/sys/umask.2      Mon Apr 29 01:41:43 2002 +0000
@@ -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



Home | Main Index | Thread Index | Old Index