svn commit: r247084 - stable/8/lib/libc/sys
kib at FreeBSD.org
Thu Feb 21 06:12:27 UTC 2013
Date: Thu Feb 21 06:12:26 2013
New Revision: 247084
Document the ERESTART translation to EINTR for devfs nodes.
stable/8/lib/libc/ (props changed)
stable/8/lib/libc/sys/ (props changed)
--- stable/8/lib/libc/sys/open.2 Thu Feb 21 06:10:36 2013 (r247083)
+++ stable/8/lib/libc/sys/open.2 Thu Feb 21 06:12:26 2013 (r247084)
@@ -28,7 +28,7 @@
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
-.Dd March 25, 2011
+.Dd February 7, 2013
.Dt OPEN 2
@@ -235,6 +235,17 @@ It returns \-1 on failure.
The file pointer used to mark the current position within the
file is set to the beginning of the file.
+If a sleeping open of a device node from
+.Xr devfs 5
+is interrupted by a signal, the call always fails with
+.Er EINTR ,
+even if the
+flag is set for the signal.
+A sleeping open of a fifo (see
+.Xr mkfifo 2 )
+is restarted as normal.
When a new file is created it is given the group of the directory
which contains it.
More information about the svn-src-stable-8