summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-04-29 22:23:00 +0000
committereadler <eadler@FreeBSD.org>2012-04-29 22:23:00 +0000
commit785381bbed3ba01753e53ee818928ce0f667a381 (patch)
tree1a0dd85a1535bc29346f13e1b664237b75e6e705 /lib/libc
parentb7552d49546889fdff72fe0708b52cbb5a08f20c (diff)
downloadFreeBSD-src-785381bbed3ba01753e53ee818928ce0f667a381.zip
FreeBSD-src-785381bbed3ba01753e53ee818928ce0f667a381.tar.gz
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
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/read.22
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 06e0ef1..2127eda 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -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)
OpenPOWER on IntegriCloud