diff options
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 6 | ||||
-rw-r--r-- | lib/libc/sys/accept.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/aio_read.2 | 189 | ||||
-rw-r--r-- | lib/libc/sys/fcntl.2 | 7 | ||||
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 2 | ||||
-rw-r--r-- | lib/libc/sys/rename.2 | 54 | ||||
-rw-r--r-- | lib/libc/sys/revoke.2 | 11 | ||||
-rw-r--r-- | lib/libc/sys/sendfile.2 | 151 | ||||
-rw-r--r-- | lib/libc/sys/sigaltstack.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/stat.2 | 38 | ||||
-rw-r--r-- | lib/libc/sys/vfork.2 | 4 |
11 files changed, 65 insertions, 410 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 517c4ba5f292c..6882621dd5a97 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,5 +1,5 @@ # @(#)Makefile.inc 8.3 (Berkeley) 10/24/94 -# $Id: Makefile.inc,v 1.56 1998/11/05 14:43:29 dg Exp $ +# $Id: Makefile.inc,v 1.54 1998/07/28 03:33:25 jlemon Exp $ # sys sources .PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/sys ${.CURDIR}/../libc/sys @@ -73,7 +73,7 @@ ${SPSEUDOR}: > ${.TARGET} .if ${LIB} == "c" -MAN2+= _exit.2 accept.2 access.2 acct.2 adjtime.2 aio_read.2 \ +MAN2+= _exit.2 accept.2 access.2 acct.2 adjtime.2 \ bind.2 brk.2 chdir.2 chflags.2 \ chmod.2 chown.2 chroot.2 clock_gettime.2 close.2 \ connect.2 dup.2 execve.2 \ @@ -87,7 +87,7 @@ MAN2+= _exit.2 accept.2 access.2 acct.2 adjtime.2 aio_read.2 \ mount.2 mprotect.2 msync.2 munmap.2 nanosleep.2 \ nfssvc.2 open.2 pathconf.2 pipe.2 poll.2 profil.2 ptrace.2 quotactl.2 \ read.2 readlink.2 reboot.2 recv.2 rename.2 revoke.2 rfork.2 rmdir.2 \ - rtprio.2 select.2 semctl.2 semget.2 semop.2 send.2 sendfile.2 \ + rtprio.2 select.2 semctl.2 semget.2 semop.2 send.2 \ setgroups.2 setpgid.2 setregid.2 setreuid.2 setsid.2 setuid.2 \ shmat.2 shmctl.2 shmget.2 shutdown.2 \ sigaction.2 sigaltstack.2 sigpending.2 sigprocmask.2 sigreturn.2 \ diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 041ea5a774ae4..8a14cc6aa2e5f 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)accept.2 8.2 (Berkeley) 12/11/93 -.\" $Id: accept.2,v 1.5 1998/01/11 17:07:20 alex Exp $ +.\" $Id$ .\" .Dd December 11, 1993 .Dt ACCEPT 2 @@ -171,9 +171,9 @@ The per-process descriptor table is full. The system file table is full. .It Bq Er ENOTSOCK The descriptor references a file, not a socket. -.It Bq Er EINVAL -.Xr listen 2 -has not been called on the socket descriptor. +.It Bq Er EOPNOTSUPP +The referenced socket is not of type +.Dv SOCK_STREAM . .It Bq Er EFAULT The .Fa addr diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 deleted file mode 100644 index 16dab679519a7..0000000000000 --- a/lib/libc/sys/aio_read.2 +++ /dev/null @@ -1,189 +0,0 @@ -.\" Copyright (c) 1998 Terry Lambert -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. -.\" -.\" $Id$ -.\" -.Dd November 17, 1998 -.Dt AIO_READ 2 -.Os -.Sh NAME -.Nm aio_read -.Nd asynchronus read from a file (REALTIME) -.Sh SYNOPSIS -.Fd #include <aio.h> -.Ft int -.Fn aio_read "struct aiocb *iocb" -.Sh DESCRIPTION -The -.Fn aio_read -function allows the calling process to read -.Ar iocb->aio_nbytes -from the descriptor -.Ar iocb->aio_fildes -beginning at the offset -.Ar iocb->aio_offset -into the buffer pointed to by -.Ar iocb->aio_buf . -The call returns immediately after the read request has -been enqueued to the descriptor; the read may or may not have -completed at the time the call returns. -.Pp -If _POSIX_PRIORITIZED_IO is defined, and the descriptor supports it, -then the enqueued operation is submitted at a priority equal to that -of the calling process minus -.Ar iocb->aio_reqprio . -.Pp -The -.Ar iocb->aio_lio_opcode -is ignored by the -.Fn aio_read -call. -.Pp -The -.Ar iocb -pointer may be subsequently used as an argument to -.Fn aio_return -and -.Fn aio_error -in order to determine return or error status for the enqueued operation -while it is in progress. -.Pp -If the request could not be enqueued (generally due to invalid arguments), -then the call returns without having enqueued the request. -.Pp -If the request is successfully enqueued, the value of -.Ar iocb->aio_offset -can be modified during the request as context, so this value must -not be referenced after the request is enqueued. -.Sh RESTRICTIONS -The Asynchronous I/O Control Block structure pointed to by -.Ar iocb -and the buffer that the -.Ar iocb->aio_buf -member of that structure references must remain valid until the -operation has completed. For this reason, use of auto (stack) variables -for these objects is discouraged. -.Pp -Modifications of the Asynchronous I/O Control Block structure or the -buffer contents after the request has been enqueued, but before the -request has completed, are not allowed. -.Pp -If the file offset in -.Ar iocb->aio_offset -is past the offset maximum for -.Ar iocb->aio_fildes , -no I/O will occur. -.Sh RETURN VALUES -.Rv -std aio_read -.Sh STANDARDS -The -.Fn aio_read -call conforms to the -.St -p1003.2 -standard. -.Sh DIAGNOSTICS -None. -.Sh ERRORS -The -.Fn aio_read -function will fail if: -.Bl -tag -width Er -.It Bq Er EAGAIN -The request was not queued because of system resource limitations. -.It Bq Er ENOSYS -The -.Fn aio_read -call is not supported. -.El -.Pp -The following conditions may be synchronously detected when the -.Fn aio_read -call is made, or asynchronously, at any time thereafter. If they -are detected at call time, -.Fn aio_read -returns -1 and sets -.Ar errno -appropriately; otherwise the -.Fn aio_return -function must be called, and will return -1, and -Fn aio_error -must be called to determine the actual calue that would have been -returned in -.Ar errno . -.Pp -.Bl -tag -width Er -.It Bq Er EBADF -.Ar iocb->aio_fildes -is invalid. -.It Bq Er EINVAL -The offset -.Ar iocb->aio_offset -is not valid, the priority specified by -.Ar iocb->aio_reqprio -is not a valid priority, or the number of bytes specified by -.Ar iocb->aio_nbytes -is not valid. -.It Bq Er EOVERFLOW -The file is a regular file, -.Ar iocb->aio_nbytes -is greater than zero, the starting offset in -.Ar iocb->aio_offset -is before the end of the file, but is at or beyond the -.Ar iocb->aio_fildes -offset maximum. -.El -.Pp -If the request is successfully enqueued, but subsequently cancelled -or an error occurs, the value returned by the -.Fn aio_return -function is per the -.Xr read 2 -call, and the value returned by the -.Fn aio_error -function is either one of the error returns from the -.Xr read 2 -call, or one of: -.Bl -tag -width Er -.It Bq Er EBADF -.Ar iocb->aio_fildes -is invalid for reading. -.It Bq Er ECANCELED -The request was explicitly cancelled via a call to -.Fn aio_cancel . -.It Bq Er EINVAL -The offset -.Ar iocb->aio_offset -would be invalid. -.El -.Sh HISTORY -The -.Nm -Function first appeared in -.Fx 3.0 . -.Sh AUTHOR -This -manual page was written by -.An Terry Lambert Aq terry@whistle.com . -.Sh BUGS -The value of iocb->aio_offset is ignored. diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2 index 51f0ef5190070..fdf1941d3cb1c 100644 --- a/lib/libc/sys/fcntl.2 +++ b/lib/libc/sys/fcntl.2 @@ -483,13 +483,6 @@ or .Dv F_SETLKW , and satisfying the lock or unlock request would result in the number of locked regions in the system exceeding a system-imposed limit. -.It Bq Er EPERM -.Fa Cmd -is -.Dv F_SETOWN -and -the process ID or process group given as an argument is in a -different session than the caller. .It Bq Er ESRCH .Fa Cmd is diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 329b6502b3a76..abc680e7b9b33 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -69,7 +69,7 @@ structures each containing the following entries: u_int32_t d_fileno; u_int16_t d_reclen; u_int8_t d_type; -u_int8_t d_namlen; +u_int8_t d_namelen; char d_name[MAXNAMELEN + 1]; /* see below */ .Ed .Pp diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index 9c5102655c5a8..d9e1b8351f0a9 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)rename.2 8.1 (Berkeley) 6/4/93 -.\" $Id: rename.2,v 1.6 1997/02/22 15:04:16 peter Exp $ +.\" $Id$ .\" .Dd June 4, 1993 .Dt RENAME 2 @@ -69,32 +69,32 @@ If the final component of is a symbolic link, the symbolic link is renamed, not the file or directory to which it points. -.\".Sh CAVEAT -.\"The system can deadlock if a loop in the file system graph is present. -.\"This loop takes the form of an entry in directory -.\".Ql Pa a , -.\"say -.\".Ql Pa a/foo , -.\"being a hard link to directory -.\".Ql Pa b , -.\"and an entry in -.\"directory -.\".Ql Pa b , -.\"say -.\".Ql Pa b/bar , -.\"being a hard link -.\"to directory -.\".Ql Pa a . -.\"When such a loop exists and two separate processes attempt to -.\"perform -.\".Ql rename a/foo b/bar -.\"and -.\".Ql rename b/bar a/foo , -.\"respectively, -.\"the system may deadlock attempting to lock -.\"both directories for modification. -.\"Hard links to directories should be -.\"replaced by symbolic links by the system administrator. +.Sh CAVEAT +The system can deadlock if a loop in the file system graph is present. +This loop takes the form of an entry in directory +.Ql Pa a , +say +.Ql Pa a/foo , +being a hard link to directory +.Ql Pa b , +and an entry in +directory +.Ql Pa b , +say +.Ql Pa b/bar , +being a hard link +to directory +.Ql Pa a . +When such a loop exists and two separate processes attempt to +perform +.Ql rename a/foo b/bar +and +.Ql rename b/bar a/foo , +respectively, +the system may deadlock attempting to lock +both directories for modification. +Hard links to directories should be +replaced by symbolic links by the system administrator. .Sh RETURN VALUES A 0 value is returned if the operation succeeds, otherwise .Fn rename diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2 index 8787597f8206e..b64c9dc5fc884 100644 --- a/lib/libc/sys/revoke.2 +++ b/lib/libc/sys/revoke.2 @@ -65,8 +65,10 @@ is called as if all open references to the file had been closed. Access to a file may be revoked only by its owner or the super user. The .Fn revoke -function is normally used to prepare a terminal device for a new -login session, preventing any access by a previous user of the terminal. +function is currently supported only for block and character special +device files. +It is normally used to prepare a terminal device for a new login session, +preventing any access by a previous user of the terminal. .Sh RETURN VALUES A 0 value indicated that the call succeeded. A \-1 return value indicates an error occurred and @@ -90,9 +92,8 @@ Too many symbolic links were encountered in translating the pathname. .Fa Path points outside the process's allocated address space. .It Bq Er EINVAL -The named file does not support the -.Fn revoke -operation. +The named file is neither a character special or block +special file. .It Bq Er EPERM The caller is neither the owner of the file nor the super user. .El diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2 deleted file mode 100644 index 58d61571a6616..0000000000000 --- a/lib/libc/sys/sendfile.2 +++ /dev/null @@ -1,151 +0,0 @@ -.\" Copyright (c) 1998, David Greenman -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice unmodified, this list of conditions, and the following -.\" disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. -.\" -.\" $Id: sendfile.2,v 1.1 1998/11/05 14:43:29 dg Exp $ -.\" -.Dd November 5, 1998 -.Dt SENDFILE 2 -.Os -.Sh NAME -.Nm sendfile -.Nd send a file to a socket -.Sh SYNOPSIS -.Fd #include <sys/types.h> -.Fd #include <sys/socket.h> -.Fd #include <sys/uio.h> -.Ft int -.Fn sendfile "int fd" "int s" "off_t offset" "size_t nbytes" "struct sf_hdtr *hdtr" "off_t *sbytes" "int flags" -.Sh DESCRIPTION -.Fn Sendfile -sends a regular file specified by descriptor -.Fa fd -out a stream socket specified by descriptor -.Fa s . -.Pp -The -.Fa offset -argument specifies where to begin in the file. The -.Fa nbytes -argument specifies how many bytes of the file should be sent, with 0 having the special -meaning of send until the end of file has been reached. -.Pp -An optional header and/or trailer can be sent before and after the file data by specifying -a pointer to a struct sf_hdtr, which has the following structure: -.Pp -.Bd -literal -offset indent -compact -struct sf_hdtr { - struct iovec *headers; /* pointer to header iovecs */ - int hdr_cnt; /* number of header iovecs */ - struct iovec *trailers; /* pointer to trailer iovecs */ - int trl_cnt; /* number of trailer iovecs */ -}; -.Ed -.Pp -The -.Fa headers -and -.Fa tailers -pointers, if non-NULL, point to arrays of struct iovec structures. See the -.Fn writev -system call for information on the iovec structure. The number of iovecs in these -arrays is specified by -.Fa hdr_cnt -and -.Fa trl_cnt . -.Pp -If non-NULL, the system will write the total number of bytes sent on the socket to the -variable pointed to by -.Fa sbytes . -.Pp -The -.Fa flags -argument is currently undefined and should be specified as 0. -.Pp -When using a socket marked for non-blocking I/O, -.Fn sendfile -may send fewer bytes than requested. In this case, the number of bytes successfully -written is returned in -.Fa *sbytes -(if specified), -and the error -.Er EAGAIN -is returned. -.Sh IMPLEMENTATION NOTES -.Pp -The FreeBSD implementation of -.Fn sendfile -is "zero-copy", meaning that it has been optimized so that copying of the file data is avoided. -.Sh RETURN VALUES -Upon successful completion, -.Fn sendfile -returns 0. Otherwise a -1 is returned and the global variable -.Va errno -is set to indicate the error. -.Sh ERRORS -.Bl -tag -width Er -.It Bq Er EBADF -.Fa fd -is not a valid file descriptor. -.It Bq Er EBADF -.Fa s -is not a valid socket descriptor. -.It Bq Er ENOTSOCK -.Fa s -is not a socket. -.It Bq Er EINVAL -.Fa fd -is not a regular file. -.It Bq Er EINVAL -.Fa s -is not a SOCK_STREAM type socket. -.It Bq Er EINVAL -.Fa offset -is negative or out of range. -.It Bq Er ENOTCONN -.Fa s -points to an unconnected socket. -.It Bq Er EPIPE -The socket peer has closed the connection. -.It Bq Er EIO -An error occurred while reading from -.Fa fd . -.It Bq Er EFAULT -An invalid address was specified for a parameter. -.It Bq Er EAGAIN -The socket is marked for non-blocking I/O and not all data was sent due to the socket buffer being filled. -If specified, the number of bytes successfully sent will be returned in -.Fa *sbytes . -.El -.Sh SEE ALSO -.Xr open 2 , -.Xr socket 2 , -.Xr send 2 , -.Xr writev 2 -.Sh HISTORY -.Fn sendfile -first appeared in FreeBSD 3.0.1. -.Sh AUTHORS -.Fn sendfile -and this manual page were written by David Greenman <dg@root.com>. diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index 9d77c8525a20c..7ea6113a4d53a 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)sigaltstack.2 8.2 (Berkeley) 5/1/95 -.\" $Id: sigaltstack.2,v 1.8 1997/03/12 17:16:22 bde Exp $ +.\" $Id: sigaltstack.2,v 1.7 1997/03/12 16:23:36 mpp Exp $ .\" .Dd May 1, 1995 .Dt SIGALTSTACK 2 @@ -39,11 +39,12 @@ .Nm sigaltstack .Nd set and/or get signal stack context .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <signal.h> .Bd -literal struct sigaltstack { char *ss_sp; - size_t ss_size; + long ss_size; int ss_flags; }; .Ed diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 6e5ffeeab0cad..50d489a75e830 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)stat.2 8.4 (Berkeley) 5/1/95 -.\" $Id: stat.2,v 1.13 1998/01/02 19:22:49 alex Exp $ +.\" $Id: stat.2,v 1.12 1997/03/11 11:35:55 peter Exp $ .\" .Dd May 1, 1995 .Dt STAT 2 @@ -94,30 +94,30 @@ as defined by and into which information is placed concerning the file. .Bd -literal struct stat { - dev_t st_dev; /* inode's device */ - ino_t st_ino; /* inode's number */ - mode_t st_mode; /* inode protection mode */ - nlink_t st_nlink; /* number of hard links */ - uid_t st_uid; /* user ID of the file's owner */ - gid_t st_gid; /* group ID of the file's group */ - dev_t st_rdev; /* device type */ + dev_t st_dev; /* inode's device */ + ino_t st_ino; /* inode's number */ + mode_t st_mode; /* inode protection mode */ + nlink_t st_nlink; /* number of hard links */ + uid_t st_uid; /* user ID of the file's owner */ + gid_t st_gid; /* group ID of the file's group */ + dev_t st_rdev; /* device type */ #ifndef _POSIX_SOURCE struct timespec st_atimespec; /* time of last access */ struct timespec st_mtimespec; /* time of last data modification */ struct timespec st_ctimespec; /* time of last file status change */ #else - time_t st_atime; /* time of last access */ - long st_atimensec; /* nsec of last access */ - time_t st_mtime; /* time of last data modification */ - long st_mtimensec; /* nsec of last data modification */ - time_t st_ctime; /* time of last file status change */ - long st_ctimensec; /* nsec of last file status change */ + time_t st_atime; /* time of last access */ + long st_atimensec; /* nsec of last access */ + time_t st_mtime; /* time of last data modification */ + long st_mtimensec; /* nsec of last data modification */ + time_t st_ctime; /* time of last file status change */ + long st_ctimensec; /* nsec of last file status change */ #endif - off_t st_size; /* file size, in bytes */ - int64_t st_blocks; /* blocks allocated for file */ - u_int32_t st_blksize; /* optimal blocksize for I/O */ - u_int32_t st_flags; /* user defined flags for file */ - u_int32_t st_gen; /* file generation number */ + off_t st_size; /* file size, in bytes */ + quad_t st_blocks; /* blocks allocated for file */ + u_long st_blksize; /* optimal blocksize for I/O */ + u_long st_flags; /* user defined flags for file */ + u_long st_gen; /* file generation number */ }; .Ed .Pp diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2 index 2c97af94ca409..5fff122a90bde 100644 --- a/lib/libc/sys/vfork.2 +++ b/lib/libc/sys/vfork.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)vfork.2 8.1 (Berkeley) 6/4/93 -.\" $Id: vfork.2,v 1.10 1998/01/02 19:22:49 alex Exp $ +.\" $Id: vfork.2,v 1.9 1997/11/18 03:59:30 jdp Exp $ .\" .Dd June 4, 1993 .Dt VFORK 2 @@ -57,7 +57,7 @@ in that the child borrows the parent's memory and thread of control until a call to .Xr execve 2 or an exit (either by a call to -.Xr _exit 2 +.Xr exit 3 or abnormally). The parent process is suspended while the child is using its resources. .Pp |