o The VOP_RDWR man page neglected to mention (at least) two error modes
possible when writing: [EFBIG] An attempt was made to write a file that exceeds the process's file size limit or the maximum file size. [EPERM] An append-only flag is set on the file, but the caller is attempting to write before the current end of file.
This commit is contained in:
parent
797c04a7a3
commit
0734b428c7
@ -220,8 +220,14 @@ vop_write(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred)
|
||||
.Ed
|
||||
.Sh ERRORS
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er EFBIG
|
||||
An attempt was made to write a file that exceeds the process's file size
|
||||
limit or the maximum file size.
|
||||
.It Bq Er ENOSPC
|
||||
The filesystem is full.
|
||||
.It Bq Er EPERM
|
||||
An append-only flag is set on the file, but the caller is attempting to
|
||||
write before the current end of file.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr uiomove 9 ,
|
||||
|
Loading…
Reference in New Issue
Block a user