mirror of https://github.com/mkerrisk/man-pages
utimensat.2: Note that the glibc wrapper disallows pathname==NULL
Reported-by: Rob Landley <rob@landley.net> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2389c1e3c1
commit
0fa34fb396
|
@ -458,7 +458,7 @@ succeeds even if the file referred to by
|
|||
and
|
||||
.I pathname
|
||||
does not exist.
|
||||
|
||||
.SS C library/ kernel ABI differences
|
||||
On Linux,
|
||||
.BR futimens ()
|
||||
is a library function implemented on top of the
|
||||
|
@ -479,6 +479,14 @@ is implemented as:
|
|||
|
||||
utimensat(fd, NULL, times, 0);
|
||||
.fi
|
||||
|
||||
Note, however, that the glibc wrapper for
|
||||
.BR utimensat ()
|
||||
disallows passing NULL as the value for
|
||||
.IR file :
|
||||
the wrapper function returns the error
|
||||
.IR EINVAL
|
||||
in this case.
|
||||
.SH BUGS
|
||||
Several bugs afflict
|
||||
.BR utimensat ()
|
||||
|
|
Loading…
Reference in New Issue