Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Bump date. New sentence, new line. Wording/arti...
details: https://anonhg.NetBSD.org/src/rev/0f8a42da4dd9
branches: trunk
changeset: 783025:0f8a42da4dd9
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Dec 01 21:07:00 2012 +0000
description:
Bump date. New sentence, new line. Wording/articles.
Sort errors while here.
diffstat:
lib/libc/sys/symlink.2 | 4 ++--
lib/libc/sys/unlink.2 | 11 ++++++-----
lib/libc/sys/utimes.2 | 13 +++++++------
3 files changed, 15 insertions(+), 13 deletions(-)
diffs (109 lines):
diff -r 52c534ac455b -r 0f8a42da4dd9 lib/libc/sys/symlink.2
--- a/lib/libc/sys/symlink.2 Sat Dec 01 21:00:18 2012 +0000
+++ b/lib/libc/sys/symlink.2 Sat Dec 01 21:07:00 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: symlink.2,v 1.23 2012/12/01 21:00:18 wiz Exp $
+.\" $NetBSD: symlink.2,v 1.24 2012/12/01 21:07:00 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -75,7 +75,7 @@
.Fa fd
can be set to
.Dv AT_FDCWD
-in order to specify current directory.
+in order to specify the current directory.
.Sh RETURN VALUES
Upon successful completion, a zero value is returned.
If an error occurs, the error code is stored in
diff -r 52c534ac455b -r 0f8a42da4dd9 lib/libc/sys/unlink.2
--- a/lib/libc/sys/unlink.2 Sat Dec 01 21:00:18 2012 +0000
+++ b/lib/libc/sys/unlink.2 Sat Dec 01 21:07:00 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: unlink.2,v 1.25 2012/12/01 20:45:01 wiz Exp $
+.\" $NetBSD: unlink.2,v 1.26 2012/12/01 21:07:00 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)unlink.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd April 3, 2010
+.Dd November 18, 2012
.Dt UNLINK 2
.Os
.Sh NAME
@@ -66,18 +66,19 @@
.Fn unlink
except if
.Fa path
-is relative. In that case, it is looked up from a directory whose file
+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
-except if that file descriptor was open with
+except if that file descriptor was opened with the
.Dv O_SEARCH
option.
.Fa fd
can be set to
.Dv AT_FDCWD
-in order to specify current directory.
+in order to specify the current directory.
.Pp
.Fn unlinkat
will remove directories just like
diff -r 52c534ac455b -r 0f8a42da4dd9 lib/libc/sys/utimes.2
--- a/lib/libc/sys/utimes.2 Sat Dec 01 21:00:18 2012 +0000
+++ b/lib/libc/sys/utimes.2 Sat Dec 01 21:07:00 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: utimes.2,v 1.34 2012/12/01 20:45:01 wiz Exp $
+.\" $NetBSD: utimes.2,v 1.35 2012/12/01 21:07:01 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd November 3, 2012
+.Dd November 18, 2012
.Dt UTIMES 2
.Os
.Sh NAME
@@ -57,7 +57,7 @@
.Fn futimes "int fd" "const struct timeval times[2]"
.Ft int
.Fn futimens "int fd" "const struct timespec times[2]"
-.In fcntl
+.In fcntl.h
.Ft int
.Fn utimensat "int fd" "const char *path" "const struct timespec times[2]" \
"int flag"
@@ -125,18 +125,19 @@
.Fn utimens
except if
.Fa path
-is relative. In that case, it is looked up from a directory whose file
+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
-except if that file descriptor was open with
+except if that file descriptor was opened with the
.Dv O_SEARCH
option.
.Fa fd
can be set to
.Dv AT_FDCWD
-in order to specify current directory.
+in order to specify the current directory.
.Pp
When it operates on a symbolic link,
.Fn utimensat
Home |
Main Index |
Thread Index |
Old Index