diff options
author | ru <ru@FreeBSD.org> | 2000-11-20 14:11:46 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-11-20 14:11:46 +0000 |
commit | f7a10404bccd5370cf494e1453a276bbf09b1143 (patch) | |
tree | e5249448ab52cfea6561a527dbe5fa3c83eddaaa /lib/libc/gen | |
parent | 55a23507010ea3eabe58edf611fdf921fabc3374 (diff) | |
download | FreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.zip FreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.tar.gz |
mdoc(7) police: Nm -> Fn where appropriate.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/getvfsbyname.3 | 7 | ||||
-rw-r--r-- | lib/libc/gen/shm_open.3 | 21 | ||||
-rw-r--r-- | lib/libc/gen/signal.3 | 2 | ||||
-rw-r--r-- | lib/libc/gen/tcsetpgrp.3 | 18 | ||||
-rw-r--r-- | lib/libc/gen/unvis.3 | 2 |
5 files changed, 20 insertions, 30 deletions
diff --git a/lib/libc/gen/getvfsbyname.3 b/lib/libc/gen/getvfsbyname.3 index 41167bd..df7511e 100644 --- a/lib/libc/gen/getvfsbyname.3 +++ b/lib/libc/gen/getvfsbyname.3 @@ -71,12 +71,7 @@ flag bits that are used to initialize a new mount point using the filesystem .El .Sh RETURN VALUES -If the call to -.Nm getvfsbyname -is successful, 0 is returned. -Otherwise \-1 is returned and -.Va errno -is set appropriately. +.Rv -std getvfsbyname .Sh ERRORS The following errors may be reported: .Bl -tag -width Er diff --git a/lib/libc/gen/shm_open.3 b/lib/libc/gen/shm_open.3 index cbd4dc7..e4910a9 100644 --- a/lib/libc/gen/shm_open.3 +++ b/lib/libc/gen/shm_open.3 @@ -47,13 +47,13 @@ .Fn shm_unlink "const char *path" .Sh DESCRIPTION The -.Nm shm_open +.Fn shm_open function opens (or optionally creates) a .Tn POSIX shared memory object named .Fa path . The -.Nm shm_unlink +.Fn shm_unlink function removes a shared memory object named .Fa path . .Pp @@ -63,9 +63,9 @@ implementation, .Tn POSIX shared memory objects are implemented as ordinary files. The -.Nm shm_open +.Fn shm_open and -.Nm shm_unlink +.Fn shm_unlink act as wrappers around the .Xr open 2 and @@ -87,7 +87,7 @@ In addition, the implementation causes .Fn mmap of a descriptor returned by -.Nm shm_open +.Fn shm_open to behave as if the .Dv MAP_NOSYNC flag had been specified to @@ -96,7 +96,7 @@ flag had been specified to .Xr fcntl 2 . ) .Pp The -.Nm shm_unlink +.Fn shm_unlink function makes no effort to ensure that .Fa path refers to a shared memory object. @@ -173,16 +173,16 @@ specifies an access mode of .Xr unlink 2 .Sh STANDARDS The -.Nm shm_open +.Fn shm_open and -.Nm shm_unlink +.Fn shm_unlink functions are believed to conform to .St -p1003.1b . .Sh HISTORY The -.Nm shm_open +.Fn shm_open and -.Nm shm_unlink +.Fn shm_unlink functions first appeared in .Fx 5.0 . .Sh AUTHORS @@ -191,4 +191,3 @@ functions first appeared in .Pp .An Matthew Dillon Aq dillon@FreeBSD.org .Pq Dv MAP_NOSYNC - diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 2c108d1..f453ed8 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -232,6 +232,6 @@ or .Xr tty 4 .Sh HISTORY This -.Nm signal +.Fn signal facility appeared in .Bx 4.0 . diff --git a/lib/libc/gen/tcsetpgrp.3 b/lib/libc/gen/tcsetpgrp.3 index 4f4b48b..a7d3409 100644 --- a/lib/libc/gen/tcsetpgrp.3 +++ b/lib/libc/gen/tcsetpgrp.3 @@ -47,7 +47,7 @@ .Fn tcsetpgrp "int fd" "pid_t pgrp_id" .Sh DESCRIPTION If the process has a controlling terminal, the -.Nm tcsetpgrp +.Fn tcsetpgrp function sets the foreground process group ID associated with the terminal device to .Fa pgrp_id . @@ -60,16 +60,12 @@ The value of .Fa pgrp_id must be the same as the process group ID of a process in the same session as the calling process. -.Pp -Upon successful completion, -.Nm tcsetpgrp -returns a value of zero. +.Sh RETURN VALUES +.Rv -std tcsetpgrp .Sh ERRORS -If an error occurs, -.Nm tcsetpgrp -returns -1 and the global variable -.Va errno -is set to indicate the error, as follows: +The +.Fn tcsetpgrp +function will fail if: .Bl -tag -width Er .It Bq Er EBADF The @@ -97,7 +93,7 @@ session as the calling process. .Xr tcgetpgrp 3 .Sh STANDARDS The -.Nm tcsetpgprp +.Fn tcsetpgrp function is expected to be compliant with the .St -p1003.1-88 specification. diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3 index 7f1e25a..74de5f8 100644 --- a/lib/libc/gen/unvis.3 +++ b/lib/libc/gen/unvis.3 @@ -190,7 +190,7 @@ if (unvis(&out, (char)0, &state, UNVIS_END) == UNVIS_VALID) .Re .Sh HISTORY The -.Nm unvis +.Fn unvis function first appeared in .Bx 4.4 . |