diff options
author | 2015-01-29 01:46:30 +0000 | |
---|---|---|
committer | 2015-01-29 01:46:30 +0000 | |
commit | ee10762e100ef47e82bb9da2ebe88f56c8db1013 (patch) | |
tree | 02ab3c65edd5034ed995d7f9609ea712653c2643 /lib/libc/gen/utime.3 | |
parent | Radical cleanup of COMPATIBILITY sections: (diff) | |
download | wireguard-openbsd-ee10762e100ef47e82bb9da2ebe88f56c8db1013.tar.xz wireguard-openbsd-ee10762e100ef47e82bb9da2ebe88f56c8db1013.zip |
Use .Rv where appropriate, and move it to RETURN VALUES;
remove .Tn, and a few minor macro adjustments.
Patch from Kaspars at Bankovskis dot net.
Diffstat (limited to 'lib/libc/gen/utime.3')
-rw-r--r-- | lib/libc/gen/utime.3 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3 index 9a1c2f06add..cea13c16810 100644 --- a/lib/libc/gen/utime.3 +++ b/lib/libc/gen/utime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utime.3,v 1.21 2015/01/19 15:54:11 millert Exp $ +.\" $OpenBSD: utime.3,v 1.22 2015/01/29 01:46:30 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 19 2015 $ +.Dd $Mdocdate: January 29 2015 $ .Dt UTIME 3 .Os .Sh NAME @@ -83,10 +83,7 @@ The calling process must be the owner of the file or be the superuser. In either case, the inode change-time of the file is set to the current time. .Sh RETURN VALUES -Upon successful completion, a value of 0 is returned. -Otherwise, a value of \-1 is returned and -.Va errno -is set to indicate the error. +.Rv -std .Sh ERRORS .Fn utime will fail if: @@ -109,9 +106,7 @@ points outside the process's allocated address space. .It Bq Er EINVAL The pathname contains a character with the high-order bit set. .It Bq Er EIO -An -.Tn I/O -error occurred while reading or writing the affected inode. +An I/O error occurred while reading or writing the affected inode. .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. .It Bq Er ENAMETOOLONG |