mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
o Document the fact truncate(2) has no effect for !VDIR or !VREG files.
Submitted by: ceri
This commit is contained in:
parent
0f7163d304
commit
332a76f71b
1 changed files with 5 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
.\" @(#)truncate.2 8.1 (Berkeley) 6/4/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 4, 1993
|
||||
.Dd June 1, 2006
|
||||
.Dt TRUNCATE 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -69,6 +69,10 @@ With
|
|||
the file must be open for writing.
|
||||
.Sh RETURN VALUES
|
||||
.Rv -std
|
||||
If the file to be modified is not a directory or
|
||||
a regular file, the
|
||||
.Fn truncate
|
||||
call has no effect and returns the value 0.
|
||||
.Sh ERRORS
|
||||
The
|
||||
.Fn truncate
|
||||
|
|
|
|||
Loading…
Reference in a new issue