svn commit: r235088 - stable/9/lib/libc/sys

Eitan Adler eadler at FreeBSD.org
Sun May 6 14:22:31 UTC 2012


Author: eadler
Date: Sun May  6 14:22:30 2012
New Revision: 235088
URL: http://svn.freebsd.org/changeset/base/235088

Log:
  MFC r234820:
  	 pread(2) might fail with EBUSY, so document it
  
  PR:		docs/167201
  Approved by:	cperciva (implicit)

Modified:
  stable/9/lib/libc/sys/read.2
Directory Properties:
  stable/9/lib/libc/   (props changed)
  stable/9/lib/libc/sys/   (props changed)

Modified: stable/9/lib/libc/sys/read.2
==============================================================================
--- stable/9/lib/libc/sys/read.2	Sun May  6 14:16:18 2012	(r235087)
+++ stable/9/lib/libc/sys/read.2	Sun May  6 14:22:30 2012	(r235088)
@@ -164,6 +164,8 @@ argument
 points outside the allocated address space.
 .It Bq Er EIO
 An I/O error occurred while reading from the file system.
+.It Bq Er EBUSY
+Failed to read from a file, e.g. /proc/<pid>/regs while <pid> is not stopped
 .It Bq Er EINTR
 A read from a slow device
 (i.e.\& one that might block for an arbitrary amount of time)


More information about the svn-src-stable-9 mailing list