Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2012 22:23:00 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234820 - head/lib/libc/sys
Message-ID:  <201204292223.q3TMN0BJ035218@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Apr 29 22:23:00 2012
New Revision: 234820
URL: http://svn.freebsd.org/changeset/base/234820

Log:
  pread(2) might fail with EBUSY, so document it
  
  PR:		docs/167201
  Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
  Approved by:	cperciva
  MFC after:	3 days

Modified:
  head/lib/libc/sys/read.2

Modified: head/lib/libc/sys/read.2
==============================================================================
--- head/lib/libc/sys/read.2	Sun Apr 29 22:19:58 2012	(r234819)
+++ head/lib/libc/sys/read.2	Sun Apr 29 22:23:00 2012	(r234820)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204292223.q3TMN0BJ035218>