diff options
author | ru <ru@FreeBSD.org> | 2000-12-29 14:08:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-12-29 14:08:20 +0000 |
commit | 8ba41876884256f20dce333e0a239a8555ee2670 (patch) | |
tree | 406fdc6bd2e9339a476078f0728594ca5e4102f4 /lib/libc/sys | |
parent | f6aeda2758e1076d8ebfb1ef7f190c7f3ed5fb8a (diff) | |
download | FreeBSD-src-8ba41876884256f20dce333e0a239a8555ee2670.zip FreeBSD-src-8ba41876884256f20dce333e0a239a8555ee2670.tar.gz |
Prepare for mdoc(7)NG.
Diffstat (limited to 'lib/libc/sys')
41 files changed, 91 insertions, 68 deletions
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2 index b77fb02..09072a4 100644 --- a/lib/libc/sys/brk.2 +++ b/lib/libc/sys/brk.2 @@ -98,9 +98,9 @@ beyond the .Em rlim_max value returned from a call to .Xr getrlimit 2 , -e.g. +e.g.\& .Dq etext + rlp\(->rlim_max. -(see +(See .Xr end 3 for the definition of .Em etext ) . diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index 4bdf3a0..b97bf95 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -144,7 +144,7 @@ will fail if: .It Bq Er EBADF The descriptor is not valid. .It Bq Er EINVAL -.Fa Fd +.Fa fd refers to a socket, not to a file. .It Bq Er EPERM The effective user ID does not match the owner of the file and diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index f2e1d08..1957859 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -195,7 +195,7 @@ will fail if: .It Bq Er EBADF The descriptor is not valid. .It Bq Er EINVAL -.Fa Fd +.Fa fd refers to a socket, not to a file. .It Bq Er EROFS The file resides on a read-only file system. diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 4ce976c..1ae9bf9 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -127,10 +127,10 @@ An I/O error occurred while reading from or writing to the file system. will fail if: .Bl -tag -width Er .It Bq Er EBADF -.Fa Fd +.Fa fd does not refer to a valid descriptor. .It Bq Er EINVAL -.Fa Fd +.Fa fd refers to a socket, not a file. .It Bq Er EPERM The effective user ID is not the super-user. diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index a86dfdd..4aa00fb 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -42,10 +42,10 @@ .Lb libc .Sh SYNOPSIS .Fd #include <sys/file.h> -.Fd #define LOCK_SH 0x01 /* shared file lock */ -.Fd #define LOCK_EX 0x02 /* exclusive file lock */ -.Fd #define LOCK_NB 0x04 /* don't block when locking */ -.Fd #define LOCK_UN 0x08 /* unlock file */ +.Fd "#define LOCK_SH 0x01 /* shared file lock */" +.Fd "#define LOCK_EX 0x02 /* exclusive file lock */" +.Fd "#define LOCK_NB 0x04 /* don't block when locking */" +.Fd "#define LOCK_UN 0x08 /* unlock file */" .Ft int .Fn flock "int fd" "int operation" .Sh DESCRIPTION diff --git a/lib/libc/sys/fsync.2 b/lib/libc/sys/fsync.2 index a2c696d..28d996c 100644 --- a/lib/libc/sys/fsync.2 +++ b/lib/libc/sys/fsync.2 @@ -87,10 +87,10 @@ The fails if: .Bl -tag -width Er .It Bq Er EBADF -.Fa Fd +.Fa fd is not a valid descriptor. .It Bq Er EINVAL -.Fa Fd +.Fa fd refers to a socket, not to a file. .It Bq Er EIO An I/O error occurred while reading from or writing to the file system. diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index b16cbff..485c067 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -43,9 +43,9 @@ .Lb libc .Sh SYNOPSIS .Fd #include <sys/time.h> -.Fd #define ITIMER_REAL 0 -.Fd #define ITIMER_VIRTUAL 1 -.Fd #define ITIMER_PROF 2 +.Fd "#define ITIMER_REAL 0" +.Fd "#define ITIMER_VIRTUAL 1" +.Fd "#define ITIMER_PROF 2" .Ft int .Fn getitimer "int which" "struct itimerval *value" .Ft int diff --git a/lib/libc/sys/getrusage.2 b/lib/libc/sys/getrusage.2 index b972c9e..9e44151 100644 --- a/lib/libc/sys/getrusage.2 +++ b/lib/libc/sys/getrusage.2 @@ -44,8 +44,8 @@ .Fd #include <sys/types.h> .Fd #include <sys/time.h> .Fd #include <sys/resource.h> -.Fd #define RUSAGE_SELF 0 -.Fd #define RUSAGE_CHILDREN -1 +.Fd "#define RUSAGE_SELF 0" +.Fd "#define RUSAGE_CHILDREN -1" .Ft int .Fn getrusage "int who" "struct rusage *rusage" .Sh DESCRIPTION @@ -93,7 +93,9 @@ of the process(es). .It Fa ru_maxrss the maximum resident set size utilized (in kilobytes). .It Fa ru_ixrss -an \*(lqintegral\*(rq value indicating the amount of memory used +an +.Dq integral +value indicating the amount of memory used by the text segment that was also shared among other processes. This value is expressed in units of kilobytes * ticks-of-execution. @@ -111,12 +113,16 @@ stack segment of a process (expressed in units of kilobytes * ticks-of-execution). .It Fa ru_minflt the number of page faults serviced without any I/O activity; here -I/O activity is avoided by \*(lqreclaiming\*(rq a page frame from +I/O activity is avoided by +.Dq reclaiming +a page frame from the list of pages awaiting reallocation. .It Fa ru_majflt the number of page faults serviced that required I/O activity. .It Fa ru_nswap -the number of times a process was \*(lqswapped\*(rq out of main +the number of times a process was +.Dq swapped +out of main memory. .It Fa ru_inblock the number of times the file system had to perform input. diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index e15afc0..e25c5ba 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -375,9 +375,9 @@ A socket operation failed because the destination host was down. A socket operation was attempted to an unreachable host. .It Er 66 ENOTEMPTY Em "Directory not empty" . A directory with entries other than -.Ql \&. +.Ql .\& and -.Ql \&.. +.Ql ..\& was supplied to a remove directory or rename call. .It Er 67 EPROCLIM Em "Too many processes" . .It Er 68 EUSERS Em "Too many users" . @@ -451,6 +451,7 @@ The scheduled operation was canceled. While decoding a multibyte character the function came along an invalid or an incomplete sequence of bytes or the given wide character is invalid. +.El .Sh DEFINITIONS .Bl -tag -width Ds .It Process ID . @@ -632,7 +633,7 @@ A directory is a special type of file that contains entries that are references to other files. Directory entries are called links. By convention, a directory contains at least two links, -.Ql \&. +.Ql .\& and .Ql \&.. , referred to as @@ -692,7 +693,6 @@ but the permissions for ``other users'' allow access. .Pp Otherwise, permission is denied. .It Sockets and Address Families -.Pp A socket is an endpoint for communication between processes. Each socket has queues for sending and receiving data. .Pp @@ -712,6 +712,7 @@ communications protocols. Each protocol set supports addresses of a certain format. An Address Family is the set of addresses for a specific group of protocols. Each socket has an address chosen from the address family in which the socket was created. +.El .Sh SEE ALSO .Xr intro 3 , .Xr perror 3 diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index 9575288..874a8a6 100644 --- a/lib/libc/sys/jail.2 +++ b/lib/libc/sys/jail.2 @@ -52,7 +52,7 @@ from the inside of the prison. The .Dq Li ip_number can be set to the IP number assigned to the prison. -.Sh PRISON ? +.Sh PRISON\ ? Once a process has been put in a prison, it and its decendants cannot escape the prison. It is not possible to add a process to a preexisting prison. .Pp diff --git a/lib/libc/sys/kldfind.2 b/lib/libc/sys/kldfind.2 index c9e3d49..78cd3be 100644 --- a/lib/libc/sys/kldfind.2 +++ b/lib/libc/sys/kldfind.2 @@ -62,6 +62,7 @@ fails: The data required for this operation could not be read from the kernel space. .It Bq Er ENOENT The file specified is not loaded in the kernel. +.El .Sh SEE ALSO .Xr kldfirstmod 2 , .Xr kldload 2 , diff --git a/lib/libc/sys/kldfirstmod.2 b/lib/libc/sys/kldfirstmod.2 index d24b41f..1474f63 100644 --- a/lib/libc/sys/kldfirstmod.2 +++ b/lib/libc/sys/kldfirstmod.2 @@ -55,6 +55,7 @@ or 0 if there are no references. The kld file referenced by .Fa fileid was not found. +.El .Sh SEE ALSO .Xr kldfind 2 , .Xr kldload 2 , diff --git a/lib/libc/sys/kldload.2 b/lib/libc/sys/kldload.2 index ba6f13e..eb07468 100644 --- a/lib/libc/sys/kldload.2 +++ b/lib/libc/sys/kldload.2 @@ -69,6 +69,7 @@ The file was not found. The file format of .Fa file was unrecognized. +.El .Sh SEE ALSO .Xr kldfind 2 , .Xr kldfirstmod 2 , diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2 index b5e2dd8..1187f69 100644 --- a/lib/libc/sys/kldstat.2 +++ b/lib/libc/sys/kldstat.2 @@ -77,6 +77,7 @@ The id of the file specified in The load address of the kld file. .It size The size of the file. +.El .Sh RETURN VALUES The function .Fn kldstat @@ -107,6 +108,7 @@ There was a problem copying one, some, or all of the fields into in the .Fn copyout function. +.El .Sh SEE ALSO .Xr kldfind 2 , .Xr kldfirstmod 2 , diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2 index 0e5554b..6ef3d3a 100644 --- a/lib/libc/sys/kldunload.2 +++ b/lib/libc/sys/kldunload.2 @@ -64,6 +64,7 @@ You don't have access to unlink the file from the kernel. The file was not found. .It Bq Er EBUSY You attempted to unload a file linked by the kernel. +.El .Sh SEE ALSO .Xr kldfind 2 , .Xr kldfirstmod 2 , diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 5c9e5f8..69c70ca 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -192,13 +192,13 @@ Arguments may be passed to and from the filter via the and .Va data fields in the kevent structure. -.Bl -tag +.Bl -tag -width EVFILT_SIGNAL .It EVFILT_READ Takes a descriptor as the identifier, and returns whenever there is data available to read. The behavior of the filter is slightly different depending on the descriptor type. -.Bl -tag +.Bl -tag -width 2n .It Sockets Sockets which have previously been passed to .Fn listen @@ -216,16 +216,12 @@ also sets EV_EOF in .Va flags . It is possible for EOF to be returned (indicating the connection is gone) while there is still data pending in the socket buffer. -.El -.Bl -tag .It Vnodes Returns when the file pointer is not at the end of file. .Va data contains the offset from current position to end of file, and may be negative. -.El -.Bl -tag -.It Fifos, Pipes +.It "Fifos, Pipes" Returns when the there is data to read; .Va data contains the number of bytes available. @@ -236,8 +232,6 @@ This may be cleared by passing in EV_CLEAR, at which point the filter will resume waiting for data to become available before returning. .El -.El -.Bl -tag .It EVFILT_WRITE Takes a descriptor as the identifier, and returns whenever it is possible to write to the descriptor. For sockets, pipes @@ -247,8 +241,6 @@ will contain the amount of space remaining in the write buffer. The filter will set EV_EOF when the reader disconnects, and for the fifo case, this may be cleared by use of EV_CLEAR. Note that this filter is not supported for vnodes. -.El -.Bl -tag .It EVFILT_AIO A kevent structure is initialized, with .Va ident @@ -264,8 +256,6 @@ returned by the aio_* function. The filter returns under the same conditions as aio_error. .Pp NOTE: this interface is unstable and subject to change. -.El -.Bl -tag .It EVFILT_VNODE Takes a file descriptor as the identifier and the events to watch for in .Va fflags , @@ -290,8 +280,6 @@ The file referenced by the descriptor was renamed. On return, .Va fflags contains the events which triggered the filter. -.El -.Bl -tag .It EVFILT_PROC Takes the process ID to monitor as the identifier and the events to watch for in diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index cc45f91..db4c2d3 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -70,10 +70,12 @@ The parameter specifies the requested ktrace operation. The defined operations are: .Bl -column KTRFLAG_DESCENDXXX -offset indent -.It KTROP_SET Enable trace points specified in Fa trpoints . -.It KTROP_CLEAR Disable trace points specified in Fa trpoints . -.It KTROP_CLEARFILE Stop all tracing. -.It KTRFLAG_DESCEND The tracing change should apply to the +.It "KTROP_SET Enable trace points specified in" +.Fa trpoints . +.It "KTROP_CLEAR Disable trace points specified in +.Fa trpoints . +.It "KTROP_CLEARFILE Stop all tracing." +.It "KTRFLAG_DESCEND The tracing change should apply to the" specified process and all its current children. .El .Pp @@ -82,14 +84,14 @@ The parameter specifies the trace points of interest. The defined trace points are: .Bl -column KTRFAC_SYSCALLXXX -offset indent -.It KTRFAC_SYSCALL Trace system calls. -.It KTRFAC_SYSRET Trace return values from system calls. -.It KTRFAC_NAMEI Trace name lookup operations. -.It KTRFAC_GENIO Trace all I/O (note that this option can +.It "KTRFAC_SYSCALL Trace system calls." +.It "KTRFAC_SYSRET Trace return values from system calls." +.It "KTRFAC_NAMEI Trace name lookup operations." +.It "KTRFAC_GENIO Trace all I/O (note that this option can" generate much output). -.It KTRFAC_PSIG Trace posted signals. -.It KTRFAC_CSW Trace context switch points. -.It KTRFAC_INHERIT Inherit tracing to future children. +.It "KTRFAC_PSIG Trace posted signals." +.It "KTRFAC_CSW Trace context switch points." +.It "KTRFAC_INHERIT Inherit tracing to future children." .El .Pp Each tracing event outputs a record composed of a generic header diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 7dc5520..a9472c8 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -261,7 +261,7 @@ parameters and .Fa fd was not open for writing. .It Bq Er EBADF -.Fa Fd +.Fa fd is not a valid open file descriptor. .It Bq Er EINVAL .Dv MAP_FIXED @@ -293,6 +293,7 @@ parameter wasn't available, or the system has reached the per-process mmap limit specified in the vm.max_proc_mmap sysctl. .Dv MAP_ANON was specified and insufficient memory was available. +.El .Sh "SEE ALSO" .Xr madvise 2 , .Xr mincore 2 , diff --git a/lib/libc/sys/modfind.2 b/lib/libc/sys/modfind.2 index 8e83d9a..362a606 100644 --- a/lib/libc/sys/modfind.2 +++ b/lib/libc/sys/modfind.2 @@ -62,6 +62,7 @@ fails: The data required for this operation could not be read from the kernel space. .It Bq Er ENOENT The file specified is not loaded in the kernel. +.El .Sh SEE ALSO .Xr kldfirstmod 2 , .Xr kldload 2 , diff --git a/lib/libc/sys/modstat.2 b/lib/libc/sys/modstat.2 index e02279a..612ef2e 100644 --- a/lib/libc/sys/modstat.2 +++ b/lib/libc/sys/modstat.2 @@ -80,6 +80,7 @@ The id of the module specified in .Fa modid . .It data Module specific data. +.El .Sh RETURN VALUES .Fn modstat seems to always return 0. @@ -106,6 +107,7 @@ There was a problem copying one, some, or all of the fields into in the .Fn copyout function. +.El .Sh SEE ALSO .Xr kldfind 2 , .Xr kldfirstmod 2 , diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2 index ae4b2e9..f9a7199 100644 --- a/lib/libc/sys/msync.2 +++ b/lib/libc/sys/msync.2 @@ -91,6 +91,7 @@ was both MS_ASYNC and MS_INVALIDATE. Only one of these flags is allowed. .It Bq Er EIO An I/O error occurred while writing to the file system. +.El .Sh SEE ALSO .Xr madvise 2 , .Xr mincore 2 , diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2 index 264e13f..230ec4b 100644 --- a/lib/libc/sys/munmap.2 +++ b/lib/libc/sys/munmap.2 @@ -71,6 +71,7 @@ parameter was not page aligned, the parameter was negative, or some part of the region being unmapped is outside the valid address range for a process. +.El .Sh "SEE ALSO" .Xr madvise 2 , .Xr mincore 2 , diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index 25d30b3..51eaa11 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -75,7 +75,7 @@ Symbolic constants for each name value are found in the include file .Pp The available values are as follows: .Pp -.Bl -tag -width "123456" +.Bl -tag -width 6n .Pp .It Li _PC_LINK_MAX The maximum file link count. diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 44db9f8..708f9ac 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -309,6 +309,7 @@ on a process in violation of the requirements listed under .Dv PT_ATTACH above. .El +.El .Sh SEE ALSO .Xr execve 2 , .Xr sigaction 2 , diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index 8a94b4d..31678f5 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -184,7 +184,7 @@ points outside the process's allocated address space. is a parent directory of .Fa to , or an attempt is made to rename -.Ql \&. +.Ql .\& or .Ql \&.. . .It Bq Er ENOTEMPTY diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2 index a8b94fb..523bc21 100644 --- a/lib/libc/sys/rmdir.2 +++ b/lib/libc/sys/rmdir.2 @@ -51,7 +51,7 @@ whose name is given by .Fa path . The directory must not have any entries other than -.Ql \&. +.Ql .\& and .Ql \&.. . .Sh RETURN VALUES @@ -72,9 +72,9 @@ The named directory does not exist. Too many symbolic links were encountered in translating the pathname. .It Bq Er ENOTEMPTY The named directory contains files other than -.Ql \&. +.Ql .\& and -.Ql \&.. +.Ql ..\& in it. .It Bq Er EACCES Search permission is denied for a component of the path prefix. diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index 51d3367..517d1dd 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -102,6 +102,7 @@ root is allowed to change the realtime priority of any process, and non-root may only change the idle priority of the current process. .It Bq Er ESRCH The specified process was not found. +.El .Sh AUTHORS .An -nosplit The original author was diff --git a/lib/libc/sys/sched_yield.2 b/lib/libc/sys/sched_yield.2 index 5189735..41f0af3 100644 --- a/lib/libc/sys/sched_yield.2 +++ b/lib/libc/sys/sched_yield.2 @@ -54,6 +54,7 @@ will be set to the corresponding value: .Bl -tag -width Er .It Bq Er ENOSYS The system is not configured to support this functionality. +.El .Sh STANDARDS The .Fn sched_yield diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index 8184c09..6fa120b 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -174,6 +174,7 @@ the semaphore set's owner or creator. .It Bq Er EACCES Permission denied due to mismatch between operation and mode of semaphore set. +.El .Sh SEE ALSO .Xr semget 2 , .Xr semop 2 diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2 index f8175a4..cdcd964 100644 --- a/lib/libc/sys/semget.2 +++ b/lib/libc/sys/semget.2 @@ -134,6 +134,7 @@ The kernel could not allocate a No semaphore set was found corresponding to .Fa key , and IPC_CREAT was not specified. +.El .Sh SEE ALSO .Xr semctl 2 , .Xr semop 2 , diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index 80498c9..faf0224 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -191,6 +191,7 @@ Too many operations were specified. .\" .Fa sem_num was not in the range of valid semaphores for the set. +.El .Sh SEE ALSO .Xr semctl 2 , .Xr semget 2 diff --git a/lib/libc/sys/setresuid.2 b/lib/libc/sys/setresuid.2 index d73f726..e6bae06 100644 --- a/lib/libc/sys/setresuid.2 +++ b/lib/libc/sys/setresuid.2 @@ -64,6 +64,7 @@ The calling process was not privileged and tried to change one or more IDs to a value which was not the current real ID, the current effective ID nor the current saved ID. +.El .Sh SEE ALSO .Xr getegid 2 , .Xr geteuid 2 , diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 01cbc53..3140847 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -108,6 +108,7 @@ will fail if: .It Bq Er EINVAL .Fa addr does not point to a shared memory segment. +.El .Sh "SEE ALSO" .Xr shmctl 2 , .Xr shmget 2 diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index 22b08ff..9b5e876 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -132,6 +132,7 @@ the shared memory segment's owner or creator. .It Bq Er EACCES Permission denied due to mismatch between operation and mode of shared memory segment. +.El .Sh "SEE ALSO" .Xr shmat 2 , .Xr shmdt 2 , diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index a09099c..88d3b4a 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -133,7 +133,7 @@ IPC_CREAT and IPC_EXCL were specified, and a shared memory segment corresponding to .Fa key already exists. -.Pp +.El .Sh "SEE ALSO" .Xr shmat 2 , .Xr shmctl 2 , diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 4fec421..d0889b4 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -265,13 +265,13 @@ The following is a list of all signals with names as in the include file .Aq Pa signal.h : .Bl -column SIGVTALARMXX "create core imagexxx" -.It Sy " NAME " " Default Action " " Description" +.It Sy "NAME Default Action Description" .It Dv SIGHUP No " terminate process" " terminal line hangup" .It Dv SIGINT No " terminate process" " interrupt program" .It Dv SIGQUIT No " create core image" " quit program" .It Dv SIGILL No " create core image" " illegal instruction" .It Dv SIGTRAP No " create core image" " trace trap" -.It Dv SIGABRT No " create core image" Xr abort 3 +.It Dv SIGABRT No " create core image" Ta Xr abort 3 call (formerly .Dv SIGIOT ) .It Dv SIGEMT No " create core image" " emulate instruction executed" @@ -428,14 +428,14 @@ is set to indicated the reason. There are three possible prototypes the handler may match: .Bl -tag -offset indent -width short .It ANSI C: -.Fd -void handler(int); +.Ft void +.Fn handler int ; .It Traditional BSD style: -.Fd -void handler(int, int code, struct sigcontext *scp); +.Ft void +.Fn handler int "int code" "struct sigcontext *scp" ; .It POSIX SA_SIGINFO: -.Fd -void handler(int, siginfo_t *info, void *context); +.Ft void +.Fn handler int "siginfo_t *info" "void *context" ; .El .Pp The handler function should match the SA_SIGINFO prototype if the diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2 index 2948c50..ff60beb 100644 --- a/lib/libc/sys/sigprocmask.2 +++ b/lib/libc/sys/sigprocmask.2 @@ -109,6 +109,7 @@ of the following occurs: .It Bq Er EINVAL .Fa how has a value other than those listed here. +.El .Sh SEE ALSO .Xr kill 2 , .Xr sigaction 2 , diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 5e37c55..1cf4616 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -142,7 +142,9 @@ Normally only a single protocol exists to support a particular socket type within a given protocol family. However, it is possible that many protocols may exist, in which case a particular protocol must be specified in this manner. The protocol number to use is -particular to the \*(lqcommunication domain\*(rq in which communication +particular to the +.Dq "communication domain" +in which communication is to take place; see .Xr protocols 5 . .Pp diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2 index c06d7ed..ae4c337 100644 --- a/lib/libc/sys/socketpair.2 +++ b/lib/libc/sys/socketpair.2 @@ -79,6 +79,7 @@ The address .Fa sv does not specify a valid part of the process address space. +.El .Sh SEE ALSO .Xr pipe 2 , .Xr read 2 , diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index faafea0..3f49d59 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -168,7 +168,7 @@ error occurred while reading from or writing to the file system. fails if one or more of the following are true: .Bl -tag -width Er .It Bq Er EBADF -.Fa Fd +.Fa fd is not a valid open file descriptor. .It Bq Er EFAULT .Fa Buf diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index 99e4261..998d9a4 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -99,6 +99,7 @@ An I/O error occurred while opening the swap device. .It Bq Er EFAULT .Fa Special points outside the process's allocated address space. +.El .Sh SEE ALSO .Xr config 8 , .Xr swapon 8 |