Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys \- is a minus, not -.



details:   https://anonhg.NetBSD.org/src/rev/4054db2b08c0
branches:  trunk
changeset: 566582:4054db2b08c0
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu May 13 10:20:57 2004 +0000

description:
\- is a minus, not -.

diffstat:

 lib/libc/sys/access.2        |   4 ++--
 lib/libc/sys/acct.2          |   4 ++--
 lib/libc/sys/adjtime.2       |   4 ++--
 lib/libc/sys/bind.2          |   4 ++--
 lib/libc/sys/brk.2           |   6 +++---
 lib/libc/sys/chdir.2         |   4 ++--
 lib/libc/sys/chflags.2       |   4 ++--
 lib/libc/sys/chmod.2         |   4 ++--
 lib/libc/sys/chown.2         |   6 +++---
 lib/libc/sys/chroot.2        |   4 ++--
 lib/libc/sys/clock_settime.2 |   4 ++--
 lib/libc/sys/close.2         |   4 ++--
 lib/libc/sys/connect.2       |   4 ++--
 lib/libc/sys/dup.2           |   4 ++--
 lib/libc/sys/execve.2        |   4 ++--
 lib/libc/sys/fcntl.2         |   8 ++++----
 lib/libc/sys/fdatasync.2     |   4 ++--
 lib/libc/sys/fhopen.2        |   4 ++--
 lib/libc/sys/flock.2         |   4 ++--
 lib/libc/sys/fork.2          |   4 ++--
 lib/libc/sys/getdents.2      |   4 ++--
 lib/libc/sys/getdirentries.3 |   4 ++--
 lib/libc/sys/getfh.2         |   4 ++--
 lib/libc/sys/getgroups.2     |   4 ++--
 lib/libc/sys/getitimer.2     |   4 ++--
 lib/libc/sys/getlogin.2      |   4 ++--
 lib/libc/sys/getpriority.2   |   8 ++++----
 lib/libc/sys/getrlimit.2     |   4 ++--
 lib/libc/sys/getrusage.2     |   6 +++---
 lib/libc/sys/getsid.2        |   4 ++--
 lib/libc/sys/getsockopt.2    |   4 ++--
 lib/libc/sys/gettimeofday.2  |   4 ++--
 lib/libc/sys/intro.2         |  10 +++++-----
 lib/libc/sys/ioctl.2         |   4 ++--
 lib/libc/sys/kill.2          |   8 ++++----
 lib/libc/sys/ktrace.2        |   4 ++--
 lib/libc/sys/lfs_bmapv.2     |   4 ++--
 lib/libc/sys/lfs_markv.2     |   4 ++--
 lib/libc/sys/lfs_segclean.2  |   4 ++--
 lib/libc/sys/lfs_segwait.2   |   6 +++---
 lib/libc/sys/link.2          |   4 ++--
 lib/libc/sys/listen.2        |   4 ++--
 lib/libc/sys/lseek.2         |   4 ++--
 lib/libc/sys/madvise.2       |   4 ++--
 lib/libc/sys/mincore.2       |   4 ++--
 lib/libc/sys/mkdir.2         |   4 ++--
 lib/libc/sys/mkfifo.2        |   4 ++--
 lib/libc/sys/mknod.2         |   4 ++--
 lib/libc/sys/mlock.2         |   4 ++--
 lib/libc/sys/mlockall.2      |   4 ++--
 lib/libc/sys/mount.2         |   6 +++---
 lib/libc/sys/msgctl.2        |   4 ++--
 lib/libc/sys/msgget.2        |   4 ++--
 lib/libc/sys/msgrcv.2        |  10 +++++-----
 lib/libc/sys/msgsnd.2        |   6 +++---
 lib/libc/sys/msync.2         |   4 ++--
 lib/libc/sys/munmap.2        |   4 ++--
 lib/libc/sys/nanosleep.2     |   6 +++---
 lib/libc/sys/nfssvc.2        |   4 ++--
 lib/libc/sys/pathconf.2      |   4 ++--
 lib/libc/sys/pipe.2          |   4 ++--
 lib/libc/sys/pmc_control.2   |   4 ++--
 lib/libc/sys/poll.2          |   8 ++++----
 lib/libc/sys/ptrace.2        |   8 ++++----
 lib/libc/sys/quotactl.2      |   4 ++--
 lib/libc/sys/read.2          |   4 ++--
 lib/libc/sys/readlink.2      |   4 ++--
 lib/libc/sys/reboot.2        |   4 ++--
 lib/libc/sys/recv.2          |   6 +++---
 lib/libc/sys/rename.2        |   4 ++--
 lib/libc/sys/rmdir.2         |   4 ++--
 lib/libc/sys/select.2        |   6 +++---
 lib/libc/sys/semctl.2        |   4 ++--
 lib/libc/sys/semget.2        |   4 ++--
 lib/libc/sys/semop.2         |   6 +++---
 lib/libc/sys/send.2          |   6 +++---
 lib/libc/sys/setgroups.2     |   4 ++--
 lib/libc/sys/setpgid.2       |   4 ++--
 lib/libc/sys/setregid.2      |   6 +++---
 lib/libc/sys/setreuid.2      |   6 +++---
 lib/libc/sys/setsid.2        |   4 ++--
 lib/libc/sys/shmat.2         |   4 ++--
 lib/libc/sys/shmctl.2        |   4 ++--
 lib/libc/sys/shutdown.2      |   4 ++--
 lib/libc/sys/sigaltstack.2   |   6 +++---
 lib/libc/sys/sigprocmask.2   |   4 ++--
 lib/libc/sys/sigsuspend.2    |   4 ++--
 lib/libc/sys/socket.2        |   6 +++---
 lib/libc/sys/socketpair.2    |   4 ++--
 lib/libc/sys/stat.2          |   4 ++--
 lib/libc/sys/swapon.3        |   4 ++--
 lib/libc/sys/symlink.2       |   4 ++--
 lib/libc/sys/syscall.2       |   4 ++--
 lib/libc/sys/truncate.2      |   4 ++--
 lib/libc/sys/undelete.2      |   4 ++--
 lib/libc/sys/unlink.2        |   4 ++--
 lib/libc/sys/utimes.2        |   4 ++--
 lib/libc/sys/utrace.2        |   4 ++--
 lib/libc/sys/wait.2          |  14 +++++++-------
 lib/libc/sys/write.2         |   4 ++--
 100 files changed, 236 insertions(+), 236 deletions(-)

diffs (truncated from 2086 to 300 lines):

diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/access.2
--- a/lib/libc/sys/access.2     Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/access.2     Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: access.2,v 1.20 2003/08/07 16:43:54 agc Exp $
+.\"    $NetBSD: access.2,v 1.21 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -85,7 +85,7 @@
 If
 .Fa path
 cannot be found or if any of the desired access modes would
-not be granted, then a -1 value is returned; otherwise
+not be granted, then a \-1 value is returned; otherwise
 a 0 value is returned.
 .Sh ERRORS
 Access to the file is denied if:
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/acct.2
--- a/lib/libc/sys/acct.2       Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/acct.2       Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: acct.2,v 1.15 2003/08/07 16:43:55 agc Exp $
+.\"    $NetBSD: acct.2,v 1.16 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -80,7 +80,7 @@
 creates a kernel thread called
 .Dq acctwatch .
 .Sh RETURN VALUES
-On error -1 is returned.
+On error \-1 is returned.
 The file must exist and the call may be exercised only by the super-user.
 .Sh ERRORS
 .Fn acct
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/adjtime.2
--- a/lib/libc/sys/adjtime.2    Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/adjtime.2    Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: adjtime.2,v 1.19 2003/08/07 16:43:55 agc Exp $
+.\"    $NetBSD: adjtime.2,v 1.20 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -92,7 +92,7 @@
 system call, which is restricted to the super user.
 .Sh RETURN VALUES
 A return value of 0 indicates that the call succeeded.
-A return value of -1 indicates that an error occurred, and in this
+A return value of \-1 indicates that an error occurred, and in this
 case an error code is stored in the global variable
 .Va errno .
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/bind.2
--- a/lib/libc/sys/bind.2       Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/bind.2       Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bind.2,v 1.23 2003/08/07 16:43:55 agc Exp $
+.\"    $NetBSD: bind.2,v 1.24 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -69,7 +69,7 @@
 Consult the manual entries in section 4 for detailed information.
 .Sh RETURN VALUES
 If the bind is successful, a 0 value is returned.
-A return value of -1 indicates an error, which is
+A return value of \-1 indicates an error, which is
 further specified in the global
 .Va errno .
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/brk.2
--- a/lib/libc/sys/brk.2        Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/brk.2        Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: brk.2,v 1.31 2003/08/07 16:43:55 agc Exp $
+.\"    $NetBSD: brk.2,v 1.32 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -114,14 +114,14 @@
 .Sh RETURN VALUES
 .Fn brk
 returns 0 if successful;
-otherwise -1 with
+otherwise \-1 with
 .Va errno
 set to indicate why the allocation failed.
 .Pp
 The
 .Fn sbrk
 function returns the prior break value if successful;
-otherwise ((void *)-1) is returned and
+otherwise ((void *)\-1) is returned and
 .Va errno
 is set to indicate why the allocation failed.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/chdir.2
--- a/lib/libc/sys/chdir.2      Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/chdir.2      Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chdir.2,v 1.19 2003/08/07 16:43:55 agc Exp $
+.\"    $NetBSD: chdir.2,v 1.20 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -71,7 +71,7 @@
 a process must have execute (search) access to the directory.
 .Sh RETURN VALUES
 Upon successful completion, a value of 0 is returned.
-Otherwise, a value of -1 is returned and
+Otherwise, a value of \-1 is returned and
 .Va errno
 is set to indicate
 the error.
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/chflags.2
--- a/lib/libc/sys/chflags.2    Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/chflags.2    Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chflags.2,v 1.23 2003/08/07 16:43:55 agc Exp $
+.\"    $NetBSD: chflags.2,v 1.24 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -107,7 +107,7 @@
 for details.)
 .Sh RETURN VALUES
 Upon successful completion, a value of 0 is returned.
-Otherwise, -1 is returned and the global variable
+Otherwise, \-1 is returned and the global variable
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/chmod.2
--- a/lib/libc/sys/chmod.2      Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/chmod.2      Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chmod.2,v 1.28 2004/01/30 15:38:47 wiz Exp $
+.\"    $NetBSD: chmod.2,v 1.29 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -135,7 +135,7 @@
 at the expense of a degree of compatibility.
 .Sh RETURN VALUES
 Upon successful completion, a value of 0 is returned.
-Otherwise, a value of -1 is returned and
+Otherwise, a value of \-1 is returned and
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/chown.2
--- a/lib/libc/sys/chown.2      Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/chown.2      Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chown.2,v 1.29 2003/08/07 16:43:56 agc Exp $
+.\"    $NetBSD: chown.2,v 1.30 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -101,10 +101,10 @@
 .Xr flock 2 ) .
 .Pp
 One of the owner or group id's
-may be left unchanged by specifying it as (uid_t)-1 or (gid_t)-1 respectively.
+may be left unchanged by specifying it as (uid_t)\-1 or (gid_t)\-1 respectively.
 .Sh RETURN VALUES
 Zero is returned if the operation was successful;
--1 is returned if an error occurs, with a more specific
+\-1 is returned if an error occurs, with a more specific
 error code being placed in the global variable
 .Va errno .
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/chroot.2
--- a/lib/libc/sys/chroot.2     Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/chroot.2     Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chroot.2,v 1.21 2003/08/07 16:43:56 agc Exp $
+.\"    $NetBSD: chroot.2,v 1.22 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -72,7 +72,7 @@
 .Fa fd .
 .Sh RETURN VALUES
 Upon successful completion, a value of 0 is returned.
-Otherwise, a value of -1 is returned and
+Otherwise, a value of \-1 is returned and
 .Va errno
 is set to indicate an error.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/clock_settime.2
--- a/lib/libc/sys/clock_settime.2      Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/clock_settime.2      Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: clock_settime.2,v 1.16 2003/04/16 13:34:51 wiz Exp $
+.\" $NetBSD: clock_settime.2,v 1.17 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -127,7 +127,7 @@
 system call, which is restricted to the super user.
 .Sh RETURN VALUES
 A value of 0 is returned on success.
-Otherwise, a value of -1 is returned and
+Otherwise, a value of \-1 is returned and
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/close.2
--- a/lib/libc/sys/close.2      Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/close.2      Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: close.2,v 1.15 2003/08/07 16:43:56 agc Exp $
+.\"    $NetBSD: close.2,v 1.16 2004/05/13 10:20:57 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -103,7 +103,7 @@
 .Dq Fa d .
 .Sh RETURN VALUES
 Upon successful completion, a value of 0 is returned.
-Otherwise, a value of -1 is returned and the global integer variable
+Otherwise, a value of \-1 is returned and the global integer variable
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/connect.2
--- a/lib/libc/sys/connect.2    Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/connect.2    Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: connect.2,v 1.24 2003/08/07 16:43:56 agc Exp $
+.\"    $NetBSD: connect.2,v 1.25 2004/05/13 10:20:58 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -73,7 +73,7 @@
 by connecting to an invalid address, such as a null address.
 .Sh RETURN VALUES
 If the connection or binding succeeds, 0 is returned.
-Otherwise a -1 is returned, and a more specific error
+Otherwise a \-1 is returned, and a more specific error
 code is stored in
 .Va errno .
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/dup.2
--- a/lib/libc/sys/dup.2        Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/dup.2        Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: dup.2,v 1.17 2003/08/07 16:43:56 agc Exp $
+.\"    $NetBSD: dup.2,v 1.18 2004/05/13 10:20:58 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -96,7 +96,7 @@
 .Xr close 2
 call had been done first.
 .Sh RETURN VALUES
-The value -1 is returned if an error occurs in either call.
+The value \-1 is returned if an error occurs in either call.
 The external variable
 .Va errno
 indicates the cause of the error.
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/execve.2
--- a/lib/libc/sys/execve.2     Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/execve.2     Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: execve.2,v 1.32 2003/08/07 16:43:56 agc Exp $
+.\"    $NetBSD: execve.2,v 1.33 2004/05/13 10:20:58 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -200,7 +200,7 @@
 If
 .Fn execve
 does return to the calling process an error has occurred; the
-return value will be -1 and the global variable
+return value will be \-1 and the global variable
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
diff -r 9ab50c710d2f -r 4054db2b08c0 lib/libc/sys/fcntl.2
--- a/lib/libc/sys/fcntl.2      Thu May 13 10:10:46 2004 +0000
+++ b/lib/libc/sys/fcntl.2      Thu May 13 10:20:57 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fcntl.2,v 1.30 2004/01/05 00:34:34 christos Exp $
+.\"    $NetBSD: fcntl.2,v 1.31 2004/05/13 10:20:58 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -156,7 +156,7 @@
 call, or if a
 .Xr write 2
 operation would block,
-the read or write call returns -1 with the error
+the read or write call returns \-1 with the error
 .Er EAGAIN .
 .It Dv O_APPEND
 Force each write to append at the end of file;



Home | Main Index | Thread Index | Old Index