Module Name: src
Committed By: njoly
Date: Sat Sep 14 10:41:18 UTC 2013
Modified Files:
src/lib/libc/sys: utimes.2
Log Message:
Add needed sys/stat.h include for utimens functions.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/libc/sys/utimes.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/utimes.2
diff -u src/lib/libc/sys/utimes.2:1.38 src/lib/libc/sys/utimes.2:1.39
--- src/lib/libc/sys/utimes.2:1.38 Mon Jul 29 14:34:59 2013
+++ src/lib/libc/sys/utimes.2 Sat Sep 14 10:41:18 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: utimes.2,v 1.38 2013/07/29 14:34:59 njoly Exp $
+.\" $NetBSD: utimes.2,v 1.39 2013/09/14 10:41:18 njoly 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 July 19, 2013
+.Dd September 14, 2013
.Dt UTIMES 2
.Os
.Sh NAME
@@ -51,12 +51,14 @@
.Fn lutimes "const char *path" "const struct timeval times[2]"
.Ft int
.Fn futimes "int fd" "const struct timeval times[2]"
+.In sys/stat.h
.Ft int
.Fn utimens "const char *path" "const struct timespec times[2]"
.Ft int
.Fn lutimens "const char *path" "const struct timespec times[2]"
.Ft int
.Fn futimens "int fd" "const struct timespec times[2]"
+.In sys/stat.h
.In fcntl.h
.Ft int
.Fn utimensat "int fd" "const char *path" "const struct timespec times[2]" \