summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2012-12-01 20:45:01 +0000
committerwiz <wiz@NetBSD.org>2012-12-01 20:45:01 +0000
commit3c04dec4d54fc57b205edcdff2e2128088e5cd02 (patch)
tree049e66f48f297969cc99beea799905060174d5d5 /lib/libc/sys
parent7cb612d3e5213fb91a1db7846bb33b0bc4e0a984 (diff)
Remove trailing whitespace.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/access.216
-rw-r--r--lib/libc/sys/chmod.214
-rw-r--r--lib/libc/sys/chown.28
-rw-r--r--lib/libc/sys/link.210
-rw-r--r--lib/libc/sys/mknod.212
-rw-r--r--lib/libc/sys/open.26
-rw-r--r--lib/libc/sys/readlink.24
-rw-r--r--lib/libc/sys/rename.26
-rw-r--r--lib/libc/sys/stat.210
-rw-r--r--lib/libc/sys/symlink.24
-rw-r--r--lib/libc/sys/unlink.210
-rw-r--r--lib/libc/sys/utimes.26
12 files changed, 53 insertions, 53 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2
index 83c19180423..5c6159cfebd 100644
--- a/lib/libc/sys/access.2
+++ b/lib/libc/sys/access.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: access.2,v 1.27 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: access.2,v 1.28 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -69,13 +69,13 @@ All components of the pathname
are checked for access permissions (including
.Dv F_OK ) .
.Pp
-.Fn faccessat
-works the same way as
+.Fn faccessat
+works the same way as
.Fn access
-except if
+except if
.Fa path
is relative. In that case, it is looked up from a directory whose file
-descriptor was passed as
+descriptor was passed as
.Fa fd .
Search permission is required on
.Fa fd
@@ -85,7 +85,7 @@ option.
.Fa fd
can be set to
.Dv AT_FDCWD
-in order to specify current directory.
+in order to specify current directory.
.Pp
The real user ID is used in place of the effective user ID
and the real group access list
@@ -93,9 +93,9 @@ and the real group access list
used in place of the effective ID for verifying permission.
.Fn faccessat
can use
-effective user ID and effective group ID if the
+effective user ID and effective group ID if the
.Dv AT_EACCESS
-is passed in
+is passed in
.Fa flag .
.Pp
If a process has super-user privileges and indicates success for
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index 1a9be857f40..9aeeb62c89a 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: chmod.2,v 1.41 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: chmod.2,v 1.42 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -74,12 +74,12 @@ sets the permission bits of the link,
while
.Fn chmod
sets the bits of the file the link references.
-.Pp
-.Fn fchmodat
+.Pp
+.Fn fchmodat
works the same way as
-.Fn chmod
+.Fn chmod
(or
-.Fn lchmod
+.Fn lchmod
if
.Dv AT_SYMLINK_NOFOLLOW
is set in
@@ -90,7 +90,7 @@ is relative. In that case, it is looked up from a directory whose file
descriptor was passed as
.Fa fd .
Search permission is required on
-.Fa fd
+.Fa fd
except if that file descriptor was open with
.Dv O_SEARCH
option.
@@ -255,7 +255,7 @@ The
function conforms to
.St -p1003.1-90 .
.Fn fchmodat
-function conforms to
+function conforms to
.St -p1003.1-2008 .
.Sh HISTORY
The
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2
index 236b795d850..b00c722718a 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: chown.2,v 1.32 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: chown.2,v 1.33 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -103,13 +103,13 @@ changes the owner and group of the file the link references.
is particularly useful when used in conjunction
with the file locking primitives (see
.Xr flock 2 ) .
-.Pp
+.Pp
.Fn fchownat
works the same way as
.Fn chown
-(or
+(or
.Fn lchown
-if
+if
.Dv AT_SYMLINK_NOFOLLOW
is set in
.Fa flag )
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2
index 90239194c9b..d909ea490ca 100644
--- a/lib/libc/sys/link.2
+++ b/lib/libc/sys/link.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: link.2,v 1.27 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: link.2,v 1.28 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 2011
.\" The Regents of the University of California. All rights reserved.
@@ -80,18 +80,18 @@ must be in the same file system.
.Fa name1
may not be a directory unless the caller is the super-user
and the file system containing it supports linking to directories.
-.Pp
+.Pp
.Fn linkat
works the same way as
.Fn link
except if
.Fa name1
-(resp.
+(resp.
.Fa name2 )
is relative. In that case, it is looked up from a directory whose file
descriptor was passed as
.Fa fd1
-(resp.
+(resp.
.Fa fd2 ).
Search permission is required on
passed directory file descriptors
@@ -99,7 +99,7 @@ except if they were open with the
.Dv O_SEARCH
option.
.Fa fd1
-or
+or
.Fa fd2
can be set to
.Dv AT_FDCWD
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index 729602066a3..2ba94758f35 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: mknod.2,v 1.23 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: mknod.2,v 1.24 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -137,14 +137,14 @@ The named file resides on a read-only file system.
.Xr mkfifo 2 ,
.Xr stat 2 ,
.Xr umask 2
-.Sh STANDARDS
-The
+.Sh STANDARDS
+The
.Fn mknod
-function conforms to
+function conforms to
.St -p1003.1-90 .
-.Fn mknodat
+.Fn mknodat
conforms to
-.St -p1003.1-2008 .
+.St -p1003.1-2008 .
.Sh HISTORY
A
.Fn mknod
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index b6b733b0646..98882b10457 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: open.2,v 1.52 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: open.2,v 1.53 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -425,7 +425,7 @@ function conforms to
.St -p1003.1-90 .
.Fn openat
conforms to
-.St -p1003.1-2008 .
+.St -p1003.1-2008 .
.Pp
The
.Fa flags
@@ -437,7 +437,7 @@ and
are extensions defined in
.St -p1003.1b-93 .
.Dv O_SEARCH
-is defined in
+is defined in
.St -p1003.1-2008
.Pp
The
diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2
index d55fe0ee693..1f731e89370 100644
--- a/lib/libc/sys/readlink.2
+++ b/lib/libc/sys/readlink.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: readlink.2,v 1.27 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: readlink.2,v 1.28 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -135,7 +135,7 @@ function conforms to
.St -p1003.1-2001 .
.Fn readlinkat
conforms to
-.St -p1003.1-2008 .
+.St -p1003.1-2008 .
.Sh HISTORY
The
.Fn readlink
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index 3b48c98c2a2..37623bd8d5b 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: rename.2,v 1.24 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: rename.2,v 1.25 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -85,11 +85,11 @@ works the same way as
.Fn rename
except if
.Fa from
-(resp.
+(resp.
.Fa to )
is relative. In that case, it is looked up from a directory whose file
descriptor was passed as
-.Fa fromfd
+.Fa fromfd
(resp.
.Fa tofd ).
Search permission is required on
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 0a2ed802965..549215d51aa 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.2,v 1.51 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: stat.2,v 1.52 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -75,13 +75,13 @@ The
function obtains the same information about an open file
known by the file descriptor
.Fa fd .
-.Pp
+.Pp
.Fn fstatat
works the same way as
.Fn stat
-(or
+(or
.Fn lstat
-if
+if
.Dv AT_SYMLINK_NOFOLLOW
is set in
.Fa flag )
@@ -370,7 +370,7 @@ An I/O error occurred while reading from or writing to the file system.
.Fn stat ,
.Fn lstat ,
and
-.Fn fstat
+.Fn fstat
conform to
.St -p1003.1-2004 .
.Fn fstatat
diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2
index 040833ac31b..fef0e047a6f 100644
--- a/lib/libc/sys/symlink.2
+++ b/lib/libc/sys/symlink.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: symlink.2,v 1.21 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: symlink.2,v 1.22 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -155,7 +155,7 @@ points outside the process's allocated address space.
.Xr unlink 2 ,
.Xr symlink 7
.Sh STANDARDS
-The
+The
.Fn symlink
function conforms to
.St -p1003.1-90 .
diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2
index 8623e9177ce..85200b0747a 100644
--- a/lib/libc/sys/unlink.2
+++ b/lib/libc/sys/unlink.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: unlink.2,v 1.24 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: unlink.2,v 1.25 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,8 +33,8 @@
.Dt UNLINK 2
.Os
.Sh NAME
-.Nm unlink ,
-.Nm unlinkat ,
+.Nm unlink ,
+.Nm unlinkat ,
.Nd remove directory entry
.Sh LIBRARY
.Lb libc
@@ -81,7 +81,7 @@ in order to specify current directory.
.Pp
.Fn unlinkat
will remove directories just like
-.Fn rmdir
+.Fn rmdir
provided
.Dv AT_REMOVEDIR
is set in
@@ -145,7 +145,7 @@ function conforms to
.St -p1003.1-90 .
.Fn unlinkat
conforms to
-.St -p1003.1-2008 .
+.St -p1003.1-2008 .
.Sh HISTORY
An
.Fn unlink
diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2
index cf64620c114..fffdc553524 100644
--- a/lib/libc/sys/utimes.2
+++ b/lib/libc/sys/utimes.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: utimes.2,v 1.33 2012/11/18 17:41:53 manu Exp $
+.\" $NetBSD: utimes.2,v 1.34 2012/12/01 20:45:01 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -138,11 +138,11 @@ can be set to
.Dv AT_FDCWD
in order to specify current directory.
.Pp
-When it operates on a symbolic link,
+When it operates on a symbolic link,
.Fn utimensat
will change the target's time unless
.Dv AT_SYMLINK_NOFOLLOW
-is set in
+is set in
.Fa flag .
In that later case, the symbolic link's dates are changed.
.Pp