Note that EEXIST applies, even if the pathname is a

(possibly dangling) symbolic link.
This commit is contained in:
Michael Kerrisk 2008-06-11 15:26:41 +00:00
parent c4e453903d
commit 9d6299e824
2 changed files with 7 additions and 1 deletions

View File

@ -106,6 +106,9 @@ did not allow search permission.
.B EEXIST
.I pathname
already exists.
This includes the case where
.I pathname
is a symbolic link, dangling or not.
.TP
.B EFAULT
.IR pathname " points outside your accessible address space."

View File

@ -24,7 +24,7 @@
.\"
.\" changed section from 2 to 3, aeb, 950919
.\"
.TH MKFIFO 3 1995-09-03 "GNU" "Linux Programmer's Manual"
.TH MKFIFO 3 2008-06-12 "GNU" "Linux Programmer's Manual"
.SH NAME
mkfifo \- make a FIFO special file (a named pipe)
.SH SYNOPSIS
@ -72,6 +72,9 @@ One of the directories in \fIpathname\fP did not allow search
.TP
.B EEXIST
\fIpathname\fP already exists.
This includes the case where
.I pathname
is a symbolic link, dangling or not.
.TP
.B ENAMETOOLONG
Either the total length of \fIpathname\fP is greater than