symlink.2: Document ENOENT error for symlinkat()

See https://bugzilla.kernel.org/show_bug.cgi?id=73301

Reported-by: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-05 12:39:34 +02:00
parent 1b24e2ee0e
commit 1bc48ce10c
1 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,7 @@
.\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.TH SYMLINK 2 2014-02-21 "Linux" "Linux Programmer's Manual"
.TH SYMLINK 2 2014-05-05 "Linux" "Linux Programmer's Manual"
.SH NAME
symlink, symlinkat \- make a new name for a file
.SH SYNOPSIS
@ -210,6 +210,12 @@ The following additional errors can occur for
.I newdirfd
is not a valid file descriptor.
.TP
.B ENOENT
.I linkpath
is a relative pathname and
.IR newdirfd
refers to a directory that has been deleted.
.TP
.B ENOTDIR
.I linkpath
is relative and