This commit is contained in:
Michael Kerrisk 2007-12-13 20:42:14 +00:00
parent 26661c049a
commit 90a0494840
1 changed files with 6 additions and 2 deletions

View File

@ -68,7 +68,9 @@ respectively.
.BR S_IFREG .)
If the file type is
.BR S_IFCHR " or " S_IFBLK
.B S_IFCHR
or
.B S_IFBLK
then
.I dev
specifies the major and minor numbers of the newly created device
@ -166,7 +168,9 @@ POSIX.1-2001 says: "The only portable use of
is to create a FIFO-special file.
If
.I mode
is not S_IFIFO or
is not
.B S_IFIFO
or
.I dev
is not 0, the behavior of
.BR mknod ()