Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys PR/47631: NAKAJIMA Yoshihiro



details:   https://anonhg.NetBSD.org/src/rev/e8e37ae83736
branches:  trunk
changeset: 785328:e8e37ae83736
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 08 16:52:11 2013 +0000

description:
PR/47631: NAKAJIMA Yoshihiro

1. Utimens and lutimens don't require timeval but timespec.
2. The order of functions doesn't have a uniformity.
3. Utimens.2 and lutimens.2 aren't installed.

diffstat:

 lib/libc/sys/utimes.2 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 369a894c1525 -r e8e37ae83736 lib/libc/sys/utimes.2
--- a/lib/libc/sys/utimes.2     Fri Mar 08 16:50:02 2013 +0000
+++ b/lib/libc/sys/utimes.2     Fri Mar 08 16:52:11 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: utimes.2,v 1.36 2013/01/13 08:15:02 dholland Exp $
+.\"    $NetBSD: utimes.2,v 1.37 2013/03/08 16:52:11 christos 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 18, 2012
+.Dd March 8, 2013
 .Dt UTIMES 2
 .Os
 .Sh NAME
@@ -50,11 +50,11 @@
 .Ft int
 .Fn lutimes "const char *path" "const struct timeval times[2]"
 .Ft int
-.Fn utimens "const char *path" "const struct timeval times[2]"
+.Fn futimes "int fd" "const struct timeval times[2]"
 .Ft int
-.Fn lutimens "const char *path" "const struct timeval times[2]"
+.Fn utimens "const char *path" "const struct timespec times[2]"
 .Ft int
-.Fn futimes "int fd" "const struct timeval times[2]"
+.Fn lutimens "const char *path" "const struct timespec times[2]"
 .Ft int
 .Fn futimens "int fd" "const struct timespec times[2]"
 .In fcntl.h



Home | Main Index | Thread Index | Old Index