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
@ -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