summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2021-01-03 18:10:28 +0000
committerrob <rob@cvs.openbsd.org>2021-01-03 18:10:28 +0000
commit89db4bddd0b18060bb4d0058660f77c0dc28b72f (patch)
tree7355ce21c8c154e15b3f002a9222076c13b602a7 /lib/libc/sys
parent6d0e9cbf073f6e967dce20fa2c36cc304fc48ead (diff)
Make consistent reference to pathname.
OK schwarze@, jmc@, deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/acct.26
-rw-r--r--lib/libc/sys/bind.26
-rw-r--r--lib/libc/sys/chroot.28
-rw-r--r--lib/libc/sys/intro.214
-rw-r--r--lib/libc/sys/mount.26
-rw-r--r--lib/libc/sys/open.26
-rw-r--r--lib/libc/sys/revoke.26
-rw-r--r--lib/libc/sys/stat.26
-rw-r--r--lib/libc/sys/statfs.26
-rw-r--r--lib/libc/sys/symlink.26
10 files changed, 35 insertions, 35 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2
index 5575f4cd941..b80de02cd9f 100644
--- a/lib/libc/sys/acct.2
+++ b/lib/libc/sys/acct.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acct.2,v 1.19 2020/07/26 13:27:23 rob Exp $
+.\" $OpenBSD: acct.2,v 1.20 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)acct.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: July 26 2020 $
+.Dd $Mdocdate: January 3 2021 $
.Dt ACCT 2
.Os
.Sh NAME
@@ -96,7 +96,7 @@ bytes.
The named file does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix,
-or the path name is not a regular file.
+or the pathname is not a regular file.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EROFS
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index 789f228d64c..c3bab1ec7dd 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bind.2,v 1.21 2015/10/11 07:25:11 guenther Exp $
+.\" $OpenBSD: bind.2,v 1.22 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)bind.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: October 11 2015 $
+.Dd $Mdocdate: January 3 2021 $
.Dt BIND 2
.Os
.Sh NAME
@@ -116,7 +116,7 @@ exceeded
.Dv PATH_MAX
bytes.
.It Bq Er ENOENT
-A prefix component of the path name does not exist.
+A prefix component of the pathname does not exist.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EIO
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 2a0435e8945..53ad392601f 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chroot.2,v 1.22 2015/01/22 20:44:05 millert Exp $
+.\" $OpenBSD: chroot.2,v 1.23 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)chroot.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: January 22 2015 $
+.Dd $Mdocdate: January 3 2021 $
.Dt CHROOT 2
.Os
.Sh NAME
@@ -85,7 +85,7 @@ setresuid(getuid(), getuid(), getuid());
will fail and the root directory will be unchanged if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
-A component of the path name is not a directory.
+A component of the pathname is not a directory.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
.Dv NAME_MAX
@@ -96,7 +96,7 @@ bytes.
.It Bq Er ENOENT
The named directory does not exist.
.It Bq Er EACCES
-Search permission is denied for any component of the path name.
+Search permission is denied for any component of the pathname.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EFAULT
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index 6f96c020dca..11b087d725f 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.2,v 1.69 2020/02/08 01:09:57 jsg Exp $
+.\" $OpenBSD: intro.2,v 1.70 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $
.\"
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)intro.2 8.3 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: February 8 2020 $
+.Dd $Mdocdate: January 3 2021 $
.Dt INTRO 2
.Os
.Sh NAME
@@ -330,7 +330,7 @@ refused it.
This usually results from trying to connect to a service that is
inactive on the foreign host.
.It Er 62 ELOOP Em "Too many levels of symbolic links" .
-A path name lookup involved more than 32
+A pathname lookup involved more than 32
.Pq Dv SYMLOOP_MAX
symbolic links.
.It Er 63 ENAMETOOLONG Em "File name too long" .
@@ -622,14 +622,14 @@ These can be queried using
.Xr pathconf 2
and
.Xr fpathconf 2 .
-.It Path Name
-A path name is a NUL-terminated
+.It Pathname
+A pathname is a NUL-terminated
character string starting with an
optional slash
.Ql \&/ ,
followed by zero or more directory names separated
by slashes, optionally followed by a file name.
-The total length of a path name must be less than 1024
+The total length of a pathname must be less than 1024
.Pq Dv PATH_MAX
characters.
Additional restrictions may apply, depending upon the filesystem, to be
@@ -639,7 +639,7 @@ or
.Xr fpathconf 2
if needed.
.Pp
-If a path name begins with a slash, the path search begins at the
+If a pathname begins with a slash, the path search begins at the
.Em root
directory.
Otherwise, the search begins from the current working directory.
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index b029bf2cdc7..9d448571a67 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.49 2019/07/08 18:48:30 anton Exp $
+.\" $OpenBSD: mount.2,v 1.50 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mount.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: July 8 2019 $
+.Dd $Mdocdate: January 3 2021 $
.Dt MOUNT 2
.Os
.Sh NAME
@@ -262,7 +262,7 @@ will fail when one of the following occurs:
.It Bq Er EPERM
The caller is not the superuser.
.It Bq Er ENAMETOOLONG
-The path name exceeded
+The pathname exceeded
.Dv MNAMELEN
characters.
.It Bq Er ELOOP
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index e92cd70c2c0..a7fa1ba24e3 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.49 2015/01/19 15:54:11 millert Exp $
+.\" $OpenBSD: open.2,v 1.50 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\"
-.Dd $Mdocdate: January 19 2015 $
+.Dd $Mdocdate: January 3 2021 $
.Dt OPEN 2
.Os
.Sh NAME
@@ -253,7 +253,7 @@ bytes.
.Dv O_CREAT
is not set and the named file does not exist.
.It Bq Er ENOENT
-A component of the path name that must exist does not exist.
+A component of the pathname that must exist does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
diff --git a/lib/libc/sys/revoke.2 b/lib/libc/sys/revoke.2
index 0a9c729e8bf..1d19557a350 100644
--- a/lib/libc/sys/revoke.2
+++ b/lib/libc/sys/revoke.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: revoke.2,v 1.14 2015/11/16 19:26:21 jmc Exp $
+.\" $OpenBSD: revoke.2,v 1.15 2021/01/03 18:10:27 rob 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: November 16 2015 $
+.Dd $Mdocdate: January 3 2021 $
.Dt REVOKE 2
.Os
.Sh NAME
@@ -85,7 +85,7 @@ exceeded
.Dv PATH_MAX
bytes.
.It Bq Er ENOENT
-The named file or a component of the path name does not exist.
+The named file or a component of the pathname does not exist.
.It Bq Er ENOTTY
.Ar path
is not associated with a tty special device.
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index cc462dddd8a..d9adb368652 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.2,v 1.47 2017/10/28 15:28:53 schwarze Exp $
+.\" $OpenBSD: stat.2,v 1.48 2021/01/03 18:10:27 rob Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)stat.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: October 28 2017 $
+.Dd $Mdocdate: January 3 2021 $
.Dt STAT 2
.Os
.Sh NAME
@@ -64,7 +64,7 @@ function obtains information about the file pointed to by
.Fa path .
Read, write, or execute
permission of the named file is not required, but all directories
-listed in the path name leading to the file must be searchable.
+listed in the pathname leading to the file must be searchable.
.Pp
The
.Fn lstat
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2
index b7208ab0ec9..f3f2b95db9b 100644
--- a/lib/libc/sys/statfs.2
+++ b/lib/libc/sys/statfs.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: statfs.2,v 1.26 2018/04/27 13:42:08 guenther Exp $
+.\" $OpenBSD: statfs.2,v 1.27 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)statfs.2 8.3 (Berkeley) 2/11/94
.\"
-.Dd $Mdocdate: April 27 2018 $
+.Dd $Mdocdate: January 3 2021 $
.Dt STATFS 2
.Os
.Sh NAME
@@ -48,7 +48,7 @@
.Fn statfs
returns information about a mounted file system.
.Fa path
-is the path name of any file within the mounted file system.
+is the pathname of any file within the mounted file system.
.Fa buf
is a pointer to a
.Nm statfs
diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2
index 25bda090e98..829019f737a 100644
--- a/lib/libc/sys/symlink.2
+++ b/lib/libc/sys/symlink.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: symlink.2,v 1.21 2020/02/11 13:19:17 schwarze Exp $
+.\" $OpenBSD: symlink.2,v 1.22 2021/01/03 18:10:27 rob Exp $
.\" $NetBSD: symlink.2,v 1.7 1995/02/27 12:38:34 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)symlink.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: February 11 2020 $
+.Dd $Mdocdate: January 3 2021 $
.Dt SYMLINK 2
.Os
.Sh NAME
@@ -56,7 +56,7 @@ file created,
.Fa name1
is the string
used in creating the symbolic link).
-Either name may be an arbitrary path name; the files need not
+Either name may be an arbitrary pathname; the files need not
be on the same file system, and the file specified by
.Fa name1
need not exist at all.