Add needed sys/stat.h include for utimens functions.

This commit is contained in:
njoly 2013-09-14 10:41:18 +00:00
parent c7b602785c
commit 0336046eb1
1 changed files with 4 additions and 2 deletions

View File

@ -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]" \