Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src Catch up to -current.
details: https://anonhg.NetBSD.org/src/rev/34ed8182b3df
branches: nathanw_sa
changeset: 506349:34ed8182b3df
user: nathanw <nathanw%NetBSD.org@localhost>
date: Fri Oct 18 02:14:39 2002 +0000
description:
Catch up to -current.
diffstat:
include/fnmatch.h | 3 +-
include/stringlist.h | 39 +-
include/util.h | 6 +-
lib/libc/compat-43/getdtablesize.3 | 5 +-
lib/libc/compat-43/killpg.3 | 6 +-
lib/libc/gen/Makefile.inc | 22 +-
lib/libc/gen/alarm.3 | 7 +-
lib/libc/gen/daemon.3 | 18 +-
lib/libc/gen/devname.3 | 6 +-
lib/libc/gen/directory.3 | 11 +-
lib/libc/gen/endutxent.3 | 209 ++++++++++++++
lib/libc/gen/err.3 | 9 +-
lib/libc/gen/fmtcheck.3 | 15 +-
lib/libc/gen/fmtmsg.3 | 24 +-
lib/libc/gen/fnmatch.3 | 12 +-
lib/libc/gen/fnmatch.c | 9 +-
lib/libc/gen/fpgetmask.3 | 6 +-
lib/libc/gen/ftok.3 | 6 +-
lib/libc/gen/fts.3 | 12 +-
lib/libc/gen/getdiskbyname.3 | 11 +-
lib/libc/gen/getdomainname.3 | 9 +-
lib/libc/gen/getgrent.3 | 33 +-
lib/libc/gen/gethostname.3 | 9 +-
lib/libc/gen/getprogname.3 | 23 +-
lib/libc/gen/getpwent.3 | 7 +-
lib/libc/gen/getttyent.3 | 8 +-
lib/libc/gen/getusershell.3 | 5 +-
lib/libc/gen/glob.3 | 5 +-
lib/libc/gen/humanize_number.3 | 10 +-
lib/libc/gen/humanize_number.c | 26 +-
lib/libc/gen/lockf.3 | 34 +-
lib/libc/gen/nlist.3 | 5 +-
lib/libc/gen/psignal.3 | 9 +-
lib/libc/gen/pwcache.3 | 6 +-
lib/libc/gen/setproctitle.3 | 6 +-
lib/libc/gen/shquote.3 | 31 +-
lib/libc/gen/signal.3 | 11 +-
lib/libc/gen/sleep.3 | 8 +-
lib/libc/gen/stringlist.3 | 8 +-
lib/libc/gen/sysctl.3 | 147 +++++----
lib/libc/gen/syslog.3 | 5 +-
lib/libc/gen/time.3 | 6 +-
lib/libc/gen/times.3 | 12 +-
lib/libc/gen/ttyname.3 | 8 +-
lib/libc/gen/ulimit.3 | 9 +-
lib/libc/gen/uname.3 | 4 +-
lib/libc/gen/usleep.3 | 11 +-
lib/libc/gen/utime.3 | 4 +-
lib/libc/gen/utmpx.c | 19 +-
lib/libc/gen/vis.3 | 28 +-
lib/libc/gmon/moncontrol.3 | 14 +-
lib/libc/hash/sha1.3 | 11 +-
lib/libc/locale/mblen.3 | 5 +-
lib/libc/locale/mbrlen.3 | 5 +-
lib/libc/locale/mbsinit.3 | 5 +-
lib/libc/locale/mbsrtowcs.3 | 5 +-
lib/libc/locale/mbtowc.3 | 5 +-
lib/libc/locale/setlocale.3 | 5 +-
lib/libc/locale/towlower.3 | 4 +-
lib/libc/locale/wcsrtombs.3 | 5 +-
lib/libc/md/mdX.3 | 14 +-
lib/libc/net/ethers.3 | 6 +-
lib/libc/net/ethers.c | 10 +-
lib/libc/net/gethostbyname.3 | 4 +-
lib/libc/net/inet6_option_space.3 | 4 +-
lib/libc/net/rcmd.3 | 4 +-
lib/libc/nls/catopen.3 | 4 +-
lib/libc/regex/regex.3 | 17 +-
lib/libc/rpc/clnt_bcast.c | 20 +-
lib/libc/rpc/getnetpath.3 | 8 +-
lib/libc/rpc/getrpcent.3 | 5 +-
lib/libc/rpc/getrpcport.3 | 5 +-
lib/libc/rpc/rpc_clnt_create.3 | 8 +-
lib/libc/rpc/rpc_soc.3 | 179 ++++++-----
lib/libc/rpc/rpc_svc_calls.3 | 12 +-
lib/libc/rpc/rpc_svc_create.3 | 14 +-
lib/libc/rpc/rpc_svc_reg.3 | 5 +-
lib/libc/rpc/rpc_xdr.3 | 5 +-
lib/libc/rpc/rpcb_clnt.c | 5 +-
lib/libc/rpc/rpcbind.3 | 5 +-
lib/libc/rpc/xdr.3 | 89 +++--
lib/libc/stdio/fopen.3 | 5 +-
lib/libc/stdio/mktemp.3 | 6 +-
lib/libc/stdio/printf.3 | 22 +-
lib/libc/stdio/putc.3 | 5 +-
lib/libc/stdio/putwc.3 | 5 +-
lib/libc/stdio/scanf.3 | 6 +-
lib/libc/stdio/stdio.3 | 25 +-
lib/libc/stdlib/a64l.3 | 7 +-
lib/libc/stdlib/exit.3 | 5 +-
lib/libc/stdlib/getopt_long.3 | 84 +++--
lib/libc/stdlib/hcreate.3 | 18 +-
lib/libc/stdlib/malloc.3 | 24 +-
lib/libc/stdlib/random.3 | 8 +-
lib/libc/stdlib/strtoll.c | 18 +-
lib/libc/stdlib/tsearch.3 | 8 +-
lib/libc/string/memcpy.3 | 5 +-
lib/libc/string/strmode.3 | 11 +-
lib/libc/sys/Makefile.inc | 11 +-
lib/libc/sys/accept.2 | 16 +-
lib/libc/sys/access.2 | 8 +-
lib/libc/sys/adjtime.2 | 5 +-
lib/libc/sys/brk.2 | 8 +-
lib/libc/sys/chmod.2 | 11 +-
lib/libc/sys/chroot.2 | 6 +-
lib/libc/sys/clock_settime.2 | 8 +-
lib/libc/sys/clone.2 | 36 +-
lib/libc/sys/dup.2 | 12 +-
lib/libc/sys/execve.2 | 35 +-
lib/libc/sys/fcntl.2 | 43 +-
lib/libc/sys/fdatasync.2 | 9 +-
lib/libc/sys/fhopen.2 | 14 +-
lib/libc/sys/flock.2 | 12 +-
lib/libc/sys/fsync.2 | 6 +-
lib/libc/sys/getfsstat.2 | 4 +-
lib/libc/sys/getitimer.2 | 26 +-
lib/libc/sys/getlogin.2 | 5 +-
lib/libc/sys/getpriority.2 | 14 +-
lib/libc/sys/getrlimit.2 | 26 +-
lib/libc/sys/getrusage.2 | 5 +-
lib/libc/sys/getsockopt.2 | 28 +-
lib/libc/sys/gettimeofday.2 | 18 +-
lib/libc/sys/issetugid.2 | 5 +-
lib/libc/sys/kqueue.2 | 545 +++++++++++++++++++++++++++++++++++++
lib/libc/sys/ktrace.2 | 6 +-
lib/libc/sys/lfs_bmapv.2 | 11 +-
lib/libc/sys/lfs_markv.2 | 13 +-
lib/libc/sys/link.2 | 6 +-
lib/libc/sys/lseek.2 | 9 +-
lib/libc/sys/makelintstub | 5 +-
lib/libc/sys/mincore.2 | 12 +-
lib/libc/sys/mkdir.2 | 6 +-
lib/libc/sys/mkfifo.2 | 6 +-
lib/libc/sys/mknod.2 | 5 +-
lib/libc/sys/mlockall.2 | 8 +-
lib/libc/sys/mmap.2 | 5 +-
lib/libc/sys/mount.2 | 17 +-
lib/libc/sys/msgctl.2 | 16 +-
lib/libc/sys/msgrcv.2 | 28 +-
lib/libc/sys/msgsnd.2 | 22 +-
lib/libc/sys/ntp_adjtime.2 | 25 +-
lib/libc/sys/pipe.2 | 6 +-
lib/libc/sys/pmc_control.2 | 28 +-
lib/libc/sys/poll.2 | 55 ++-
lib/libc/sys/profil.2 | 5 +-
lib/libc/sys/ptrace.2 | 100 ++++--
lib/libc/sys/rasctl.2 | 31 +-
lib/libc/sys/read.2 | 10 +-
lib/libc/sys/reboot.2 | 5 +-
lib/libc/sys/rename.2 | 8 +-
lib/libc/sys/revoke.2 | 6 +-
lib/libc/sys/semctl.2 | 17 +-
lib/libc/sys/semget.2 | 6 +-
lib/libc/sys/semop.2 | 38 +-
lib/libc/sys/setregid.2 | 15 +-
lib/libc/sys/setreuid.2 | 15 +-
lib/libc/sys/shmat.2 | 19 +-
lib/libc/sys/sigpending.2 | 6 +-
lib/libc/sys/sigprocmask.2 | 6 +-
lib/libc/sys/socket.2 | 35 +-
lib/libc/sys/stat.2 | 6 +-
lib/libc/sys/swapctl.2 | 41 +-
lib/libc/sys/swapon.3 | 9 +-
lib/libc/sys/sync.2 | 8 +-
lib/libc/sys/sysarch.2 | 13 +-
lib/libc/sys/syscall.2 | 9 +-
lib/libc/sys/truncate.2 | 12 +-
lib/libc/sys/umask.2 | 7 +-
lib/libc/sys/vfork.2 | 5 +-
lib/libc/sys/wait.2 | 21 +-
lib/libc/sys/write.2 | 8 +-
lib/libc/termios/tcgetsid.3 | 6 +-
lib/libc/time/ctime.3 | 8 +-
lib/libc/time/strftime.3 | 7 +-
lib/libc/time/strftime.c | 46 ++-
lib/libc/time/strptime.3 | 33 +-
lib/libc/time/time2posix.3 | 23 +-
lib/libc/time/tzfile.5 | 8 +-
lib/libc/time/tzset.3 | 59 ++-
lib/libc/yp/ypclnt.3 | 82 +++--
180 files changed, 2411 insertions(+), 1218 deletions(-)
diffs (truncated from 8867 to 300 lines):
diff -r 3bc56e430999 -r 34ed8182b3df include/fnmatch.h
--- a/include/fnmatch.h Thu Oct 17 00:27:46 2002 +0000
+++ b/include/fnmatch.h Fri Oct 18 02:14:39 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fnmatch.h,v 1.7.2.1 2001/11/14 19:32:34 nathanw Exp $ */
+/* $NetBSD: fnmatch.h,v 1.7.2.2 2002/10/18 02:14:39 nathanw Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -48,6 +48,7 @@
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
#define FNM_CASEFOLD 0x08 /* Pattern is matched case-insensitive */
+#define FNM_LEADING_DIR 0x10 /* Ignore /<tail> after Imatch. */
#endif
#include <sys/cdefs.h>
diff -r 3bc56e430999 -r 34ed8182b3df include/stringlist.h
--- a/include/stringlist.h Thu Oct 17 00:27:46 2002 +0000
+++ b/include/stringlist.h Fri Oct 18 02:14:39 2002 +0000
@@ -1,9 +1,12 @@
-/* $NetBSD: stringlist.h,v 1.3 1999/11/28 03:45:14 lukem Exp $ */
+/* $NetBSD: stringlist.h,v 1.3.6.1 2002/10/18 02:14:39 nathanw Exp $ */
-/*
- * Copyright (c) 1994 Christos Zoulas
+/*-
+ * Copyright (c) 1994 The NetBSD Foundation, Inc.
* All rights reserved.
*
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Christos Zoulas.
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -14,21 +17,23 @@
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
- * This product includes software developed by Christos Zoulas.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
+ * This product includes software developed by the NetBSD
+ * Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
*
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _STRINGLIST_H
diff -r 3bc56e430999 -r 34ed8182b3df include/util.h
--- a/include/util.h Thu Oct 17 00:27:46 2002 +0000
+++ b/include/util.h Fri Oct 18 02:14:39 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.h,v 1.19.2.7 2002/09/20 22:01:49 thorpej Exp $ */
+/* $NetBSD: util.h,v 1.19.2.8 2002/10/18 02:14:39 nathanw Exp $ */
/*-
* Copyright (c) 1995
@@ -63,6 +63,7 @@
#define HN_AUTOSCALE 0x20
__BEGIN_DECLS
+struct disklabel;
struct iovec;
struct passwd;
struct termios;
@@ -105,6 +106,9 @@
int ttylock(const char *, int, pid_t *);
char *ttymsg(struct iovec *, int, const char *, int);
int ttyunlock(const char *);
+
+u_short disklabel_dkcksum(struct disklabel *);
+int disklabel_scan(struct disklabel *, char *, size_t);
__END_DECLS
#endif /* !_UTIL_H_ */
diff -r 3bc56e430999 -r 34ed8182b3df lib/libc/compat-43/getdtablesize.3
--- a/lib/libc/compat-43/getdtablesize.3 Thu Oct 17 00:27:46 2002 +0000
+++ b/lib/libc/compat-43/getdtablesize.3 Fri Oct 18 02:14:39 2002 +0000
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getdtablesize.2 8.1 (Berkeley) 6/4/93
-.\" $NetBSD: getdtablesize.3,v 1.9.12.2 2002/03/22 20:42:03 nathanw Exp $
+.\" $NetBSD: getdtablesize.3,v 1.9.12.3 2002/10/18 02:15:41 nathanw Exp $
.\"
.Dd June 4, 1993
.Dt GETDTABLESIZE 3
@@ -46,7 +46,8 @@
.Fn getdtablesize void
.Sh DESCRIPTION
Each process has a fixed size descriptor table,
-which is guaranteed to have at least 20 slots. The entries in
+which is guaranteed to have at least 20 slots.
+The entries in
the descriptor table are numbered with small integers starting at 0.
The call
.Fn getdtablesize
diff -r 3bc56e430999 -r 34ed8182b3df lib/libc/compat-43/killpg.3
--- a/lib/libc/compat-43/killpg.3 Thu Oct 17 00:27:46 2002 +0000
+++ b/lib/libc/compat-43/killpg.3 Fri Oct 18 02:14:39 2002 +0000
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)killpg.2 8.1 (Berkeley) 6/2/93
-.\" $NetBSD: killpg.3,v 1.10.12.3 2002/03/22 20:42:03 nathanw Exp $
+.\" $NetBSD: killpg.3,v 1.10.12.4 2002/10/18 02:15:41 nathanw Exp $
.\"
.Dd June 2, 1993
.Dt KILLPG 3
@@ -65,8 +65,8 @@
As a single special case the continue signal SIGCONT may be sent
to any process that is a descendant of the current process.
.Sh RETURN VALUES
-Upon successful completion, a value of 0 is returned. Otherwise,
-a value of -1 is returned and the global variable
+Upon successful completion, a value of 0 is returned.
+Otherwise, a value of \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
diff -r 3bc56e430999 -r 34ed8182b3df lib/libc/gen/Makefile.inc
--- a/lib/libc/gen/Makefile.inc Thu Oct 17 00:27:46 2002 +0000
+++ b/lib/libc/gen/Makefile.inc Fri Oct 18 02:14:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.106.2.7 2002/08/27 23:49:30 nathanw Exp $
+# $NetBSD: Makefile.inc,v 1.106.2.8 2002/10/18 02:15:43 nathanw Exp $
# from: @(#)Makefile.inc 8.6 (Berkeley) 5/4/95
# gen sources
@@ -37,8 +37,9 @@
.include "${ARCHDIR}/gen/Makefile.inc"
-MAN+= alarm.3 arc4random.3 basename.3 bswap.3 clock.3 confstr.3 ctermid.3 ctype.3 \
- daemon.3 devname.3 directory.3 dirname.3 err.3 exec.3 fmtcheck.3 \
+MAN+= alarm.3 arc4random.3 basename.3 bswap.3 clock.3 confstr.3 \
+ ctermid.3 ctype.3 daemon.3 devname.3 directory.3 dirname.3 \
+ endutxent.3 err.3 exec.3 fmtcheck.3 \
fmtmsg.3 fnmatch.3 fpgetmask.3 frexp.3 ftok.3 fts.3 getbsize.3 \
getcap.3 getcwd.3 getdomainname.3 getdiskbyname.3 getfsent.3 \
getgrent.3 getgrouplist.3 gethostname.3 getloadavg.3 \
@@ -54,22 +55,22 @@
timezone.3 toascii.3 tolower.3 toupper.3 ttyname.3 \
ualarm.3 ulimit.3 uname.3 unvis.3 usleep.3 utime.3 valloc.3 vis.3
-MLINKS+=fpgetmask.3 fpgetround.3 fpgetmask.3 fpgetsticky.3 \
- fpgetmask.3 fpsetmask.3 fpgetmask.3 fpsetround.3 \
- fpgetmask.3 fpsetsticky.3
-MLINKS+=bswap.3 bswap16.3
-MLINKS+=bswap.3 bswap32.3
-MLINKS+=bswap.3 bswap64.3
+MLINKS+=bswap.3 bswap16.3 bswap.3 bswap32.3 bswap.3 bswap64.3
MLINKS+=directory.3 closedir.3 directory.3 dirfd.3 directory.3 opendir.3 \
directory.3 readdir.3 directory.3 rewinddir.3 directory.3 seekdir.3 \
directory.3 telldir.3
+MLINKS+=endutxent.3 getutxent.3 endutxent.3 getutxid.3 \
+ endutxent.3 getutxline.3 endutxent.3 pututxline.3 \
+ endutxent.3 setutxent.3
MLINKS+=err.3 verr.3 err.3 errx.3 err.3 verrx.3 err.3 warn.3 err.3 vwarn.3 \
err.3 warnx.3 err.3 vwarnx.3
MLINKS+=exec.3 execl.3 exec.3 execle.3 exec.3 execlp.3 exec.3 execv.3 \
exec.3 execvp.3 exec.3 exect.3
+MLINKS+=fpgetmask.3 fpgetround.3 fpgetmask.3 fpgetsticky.3 \
+ fpgetmask.3 fpsetmask.3 fpgetmask.3 fpsetround.3 \
+ fpgetmask.3 fpsetsticky.3
MLINKS+=fts.3 fts_open.3 fts.3 fts_read.3 fts.3 fts_children.3 \
fts.3 fts_set.3 fts.3 fts_close.3
-MLINKS+=isinf.3 isnan.3
MLINKS+=getcap.3 cgetcap.3 getcap.3 cgetclose.3 getcap.3 cgetent.3 \
getcap.3 cgetfirst.3 getcap.3 cgetmatch.3 getcap.3 cgetnext.3 \
getcap.3 cgetnum.3 getcap.3 cgetset.3 getcap.3 cgetstr.3 \
@@ -91,6 +92,7 @@
MLINKS+=getttyent.3 endttyent.3 getttyent.3 getttynam.3 getttyent.3 setttyent.3
MLINKS+=getusershell.3 endusershell.3 getusershell.3 setusershell.3
MLINKS+=glob.3 globfree.3
+MLINKS+=isinf.3 isnan.3
MLINKS+=popen.3 pclose.3
MLINKS+=psignal.3 sys_siglist.3 psignal.3 sys_signame.3
MLINKS+=pwcache.3 user_from_uid.3 pwcache.3 group_from_gid.3
diff -r 3bc56e430999 -r 34ed8182b3df lib/libc/gen/alarm.3
--- a/lib/libc/gen/alarm.3 Thu Oct 17 00:27:46 2002 +0000
+++ b/lib/libc/gen/alarm.3 Fri Oct 18 02:14:39 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: alarm.3,v 1.15.12.3 2002/03/22 20:42:05 nathanw Exp $
+.\" $NetBSD: alarm.3,v 1.15.12.4 2002/10/18 02:15:44 nathanw Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -55,7 +55,7 @@
.Fn alarm
function sets a timer to deliver the signal
.Dv SIGALRM
-to the calling proccess
+to the calling process
.Ar seconds
after the call to
.Fn alarm .
@@ -67,7 +67,8 @@
The request
.Fn alarm "0"
voids the current
-alarm and the signal SIGALRM will not be delivered. The maximum number of
+alarm and the signal SIGALRM will not be delivered.
+The maximum number of
.Ar seconds
allowed
is 2147483647.
diff -r 3bc56e430999 -r 34ed8182b3df lib/libc/gen/daemon.3
--- a/lib/libc/gen/daemon.3 Thu Oct 17 00:27:46 2002 +0000
+++ b/lib/libc/gen/daemon.3 Fri Oct 18 02:14:39 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: daemon.3,v 1.8.10.4 2002/08/01 03:28:09 nathanw Exp $
+.\" $NetBSD: daemon.3,v 1.8.10.5 2002/10/18 02:15:44 nathanw Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -56,9 +56,7 @@
is non-zero,
.Fn daemon
changes the current working directory to the root
-.Po
-.Pa /
-.Pc .
+.Pq Pa / .
.Pp
Unless the argument
.Fa noclose
@@ -68,7 +66,7 @@
to
.Pa /dev/null .
.Sh RETURN VALUES
-On return 0 indicates success with -1 indicating error.
+On return 0 indicates success with \-1 indicating error.
.Sh ERRORS
The function
.Fn daemon
@@ -109,12 +107,12 @@
.Fn daemon
uses
.Fn fork
-as part of its tty detachment mechanism. Consequently the process id changes
-when
+as part of its tty detachment mechanism.
+Consequently the process id changes when
.Fn daemon
-is invoked. Processes employing
+is invoked.
+Processes employing
.Fn daemon
-can not be reliably waited
-upon until
+can not be reliably waited upon until
.Fn daemon
has been invoked.
diff -r 3bc56e430999 -r 34ed8182b3df lib/libc/gen/devname.3
--- a/lib/libc/gen/devname.3 Thu Oct 17 00:27:46 2002 +0000
+++ b/lib/libc/gen/devname.3 Fri Oct 18 02:14:39 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: devname.3,v 1.7.4.2 2002/03/22 20:42:06 nathanw Exp $
+.\" $NetBSD: devname.3,v 1.7.4.3 2002/10/18 02:15:45 nathanw Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -63,7 +63,9 @@
.Fa type
do not require additional queries of the device database file.
If no device matches the specified values, or no information is
-available, NULL is returned.
+available,
+.Dv NULL
+is returned.
.Pp
The traditional display for applications when no device is
found is the string
Home |
Main Index |
Thread Index |
Old Index