with the value zero.
With
.Fn ftruncate ,
the file must be open for writing.
the file must be open for writing. There is no
effect on the file offset of the file descriptor
.Fa fd .
.Sh RETURN VALUES
.Rv -std
If the file to be modified is not a directory or