diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-02-10 20:09:01 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-02-10 20:09:01 +0000 |
commit | 7294dae01f25265a93a13bf52c422a0bb5ec5091 (patch) | |
tree | cdc16140c1336bed83fa6754b3de6e36ac172de4 /lib/libc/sys/read.2 | |
parent | 53986fb12f8c25cc567186f155318de8be9d04b0 (diff) | |
download | FreeBSD-src-7294dae01f25265a93a13bf52c422a0bb5ec5091.zip FreeBSD-src-7294dae01f25265a93a13bf52c422a0bb5ec5091.tar.gz |
read(), pread(), write(), and pwrite() return EINVAL if they are asked
for more than INT_MAX bytes.
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r-- | lib/libc/sys/read.2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index 994190c..8dd7731 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -180,6 +180,11 @@ is before the end-of-file, and .Fa offset is greater than or equal to the offset maximum established for this file system. +.It Bq Er EINVAL +The value +.Fa nbytes +is greater than +.Dv INT_MAX . .El .Pp In addition, |