mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
read(), pread(), write(), and pwrite() return EINVAL if they are asked
for more than INT_MAX bytes.
This commit is contained in:
parent
6cc7bd9464
commit
75fa96cc9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141663
@ -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,
|
||||
|
@ -192,6 +192,11 @@ Use
|
||||
.Xr disklabel 8
|
||||
.Fl W
|
||||
to enable writing on the disk label area.
|
||||
.It Bq Er EINVAL
|
||||
The value
|
||||
.Fa nbytes
|
||||
is greater than
|
||||
.Dv INT_MAX .
|
||||
.El
|
||||
.Pp
|
||||
In addition,
|
||||
|
Loading…
Reference in New Issue
Block a user