diff options
Diffstat (limited to 'lib/libc/sys/utimes.2')
-rw-r--r-- | lib/libc/sys/utimes.2 | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index a30cd617992..8d5c69f57e9 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utimes.2,v 1.17 2011/11/17 14:26:14 schwarze Exp $ +.\" $OpenBSD: utimes.2,v 1.18 2013/03/31 05:07:55 guenther Exp $ .\" $NetBSD: utimes.2,v 1.9 1996/04/23 10:34:16 mycroft Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: November 17 2011 $ +.Dd $Mdocdate: March 31 2013 $ .Dt UTIMES 2 .Os .Sh NAME @@ -193,14 +193,32 @@ Additionally, .Fn utimensat will fail if: .Bl -tag -width Er +.It Bq Er EINVAL +The value of the +.Fa flag +argument was neither zero nor +.Dv AT_SYMLINK_NOFOLLOW . .It Bq Er EBADF The -.Fa path -argument does not specify an absolute path and the +.Fa file +argument specifies a relative path and the .Fa fd argument is neither .Dv AT_FDCWD -nor a valid file descriptor open for reading. +nor a valid file descriptor. +.It Bq Er ENOTDIR +The +.Fa file +argument specifies a relative path and the +.Fa fd +argument is a valid file descriptor but it does not reference a directory. +.It Bq Er EACCES +The +.Fa file +argument specifies a relative path but search permission is denied +for the directory which the +.Fa fd +file descriptor references. .El .Pp .Fn futimes |