diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2021-06-30 18:46:50 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2021-06-30 18:46:50 +0000 |
commit | d2dd09e369dbcb278521eecc2b7cbc28f991fcf3 (patch) | |
tree | a5495c30aabd745072d7967773112bc01c151787 /lib/libc | |
parent | 9217e4fd27af0dc0b594b31cdca9cc480978d272 (diff) |
more trivial .Ar -> .Fa replacements in syscall manuals
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/execve.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/mmap.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mprotect.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/msync.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/revoke.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/unlink.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/wait.2 | 6 |
7 files changed, 24 insertions, 24 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 1e1a81c31eb..f4e57c3afc5 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.54 2020/04/10 07:31:45 jca Exp $ +.\" $OpenBSD: execve.2,v 1.55 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)execve.2 8.3 (Berkeley) 1/24/94 .\" -.Dd $Mdocdate: April 10 2020 $ +.Dd $Mdocdate: June 30 2021 $ .Dt EXECVE 2 .Os .Sh NAME @@ -75,10 +75,10 @@ If the optional is specified, it becomes the first argument to the .Em interpreter , and the original -.Ar path +.Fa path becomes the second argument; otherwise, -.Ar path +.Fa path becomes the first argument. The original arguments are shifted over to become the subsequent arguments. The zeroth argument, normally the name of the file being executed, is left diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 2210a8ec78d..69b05e7e185 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.66 2021/03/02 17:43:04 deraadt Exp $ +.\" $OpenBSD: mmap.2,v 1.67 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mmap.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: March 2 2021 $ +.Dd $Mdocdate: June 30 2021 $ .Dt MMAP 2 .Os .Sh NAME @@ -287,7 +287,7 @@ parameter wasn't available. was specified and insufficient memory was available. .It Bq Er ENOTSUP The accesses requested in the -.Ar prot +.Fa prot argument are not allowed. In particular, .Dv PROT_WRITE | PROT_EXEC diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2 index 3a1ced1a109..59a87b720ea 100644 --- a/lib/libc/sys/mprotect.2 +++ b/lib/libc/sys/mprotect.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mprotect.2,v 1.25 2019/12/21 05:23:38 jsg Exp $ +.\" $OpenBSD: mprotect.2,v 1.26 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: mprotect.2,v 1.6 1995/10/12 15:41:08 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mprotect.2 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: December 21 2019 $ +.Dd $Mdocdate: June 30 2021 $ .Dt MPROTECT 2 .Os .Sh NAME @@ -98,7 +98,7 @@ a page being protected is not currently accessible, and making it accessible and locked would exceed process or system limits. .It Bq Er ENOTSUP The accesses requested in the -.Ar prot +.Fa prot argument are not allowed. In particular, .Dv PROT_WRITE | PROT_EXEC diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2 index 4da779f1898..9293653e9c3 100644 --- a/lib/libc/sys/msync.2 +++ b/lib/libc/sys/msync.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msync.2,v 1.28 2019/12/21 05:23:38 jsg Exp $ +.\" $OpenBSD: msync.2,v 1.29 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: msync.2,v 1.8 1995/10/12 15:41:09 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)msync.2 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: December 21 2019 $ +.Dd $Mdocdate: June 30 2021 $ .Dt MSYNC 2 .Os .Sh NAME @@ -45,11 +45,11 @@ The .Fn msync system call writes all pages with shared modifications in the specified region starting from -.Ar addr +.Fa addr and continuing for -.Ar len +.Fa len bytes. -.Ar addr +.Fa addr should be a multiple of the page size. Any required synchronization of memory caches will also take place at this time. diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2 index 1d19557a350..8fcaf75e309 100644 --- a/lib/libc/sys/revoke.2 +++ b/lib/libc/sys/revoke.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: revoke.2,v 1.15 2021/01/03 18:10:27 rob Exp $ +.\" $OpenBSD: revoke.2,v 1.16 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: revoke.2,v 1.3 1995/10/12 15:41:11 jtc Exp $ .\" .\" Copyright (c) 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)revoke.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: January 3 2021 $ +.Dd $Mdocdate: June 30 2021 $ .Dt REVOKE 2 .Os .Sh NAME @@ -87,7 +87,7 @@ bytes. .It Bq Er ENOENT The named file or a component of the pathname does not exist. .It Bq Er ENOTTY -.Ar path +.Fa path is not associated with a tty special device. .It Bq Er EACCES Search permission is denied for a component of the path prefix. diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index dd9b9b3919c..c1683a2a101 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unlink.2,v 1.27 2016/06/01 23:00:40 millert Exp $ +.\" $OpenBSD: unlink.2,v 1.28 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: unlink.2,v 1.7 1995/02/27 12:39:13 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)unlink.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 1 2016 $ +.Dd $Mdocdate: June 30 2021 $ .Dt UNLINK 2 .Os .Sh NAME @@ -187,7 +187,7 @@ The value of the argument was .Dv AT_REMOVEDIR and the last element of -.Ar path +.Fa path consists of .Ql \&. . .It Bq Er EBADF diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 5ae9f42fc8b..aca6d00d518 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wait.2,v 1.30 2017/05/01 00:08:31 millert Exp $ +.\" $OpenBSD: wait.2,v 1.31 2021/06/30 18:46:49 schwarze Exp $ .\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: May 1 2017 $ +.Dd $Mdocdate: June 30 2021 $ .Dt WAIT 2 .Os .Sh NAME @@ -298,7 +298,7 @@ will fail and return immediately if: .Bl -tag -width Er .It Bq Er ECHILD The process specified by the -.Ar wpid +.Fa wpid argument does not exist or is not a child of the calling process. .It Bq Er EINVAL Invalid or undefined flags were passed in the |