mirror of https://github.com/mkerrisk/man-pages
futimesat.2: PROTOTYPE: Correct header file and feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ea4282fa86
commit
ba78c947f0
|
@ -23,13 +23,14 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\"
|
.\"
|
||||||
.TH FUTIMESAT 2 2009-12-13 "Linux" "Linux Programmer's Manual"
|
.TH FUTIMESAT 2 2012-03-25 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
futimesat \- change timestamps of a file relative to a \
|
futimesat \- change timestamps of a file relative to a \
|
||||||
directory file descriptor
|
directory file descriptor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <fcntl.h> /* Definition of AT_* constants */
|
.B #include <fcntl.h> /* Definition of AT_* constants */
|
||||||
|
.B #include <sys/time.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int futimesat(int " dirfd ", const char *" pathname ,
|
.BI "int futimesat(int " dirfd ", const char *" pathname ,
|
||||||
.BI " const struct timeval " times [2]);
|
.BI " const struct timeval " times [2]);
|
||||||
|
@ -41,18 +42,7 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.in
|
.in
|
||||||
.sp
|
.sp
|
||||||
.BR futimesat ():
|
.BR futimesat ():
|
||||||
.PD 0
|
_GNU_SOURCE
|
||||||
.ad l
|
|
||||||
.RS 4
|
|
||||||
.TP 4
|
|
||||||
Since glibc 2.10:
|
|
||||||
_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
|
|
||||||
.TP
|
|
||||||
Before glibc 2.10:
|
|
||||||
_ATFILE_SOURCE
|
|
||||||
.RE
|
|
||||||
.ad
|
|
||||||
.PD
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This system call is obsolete.
|
This system call is obsolete.
|
||||||
Use
|
Use
|
||||||
|
|
Loading…
Reference in New Issue