Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys add a portablility note. from openbsd.



details:   https://anonhg.NetBSD.org/src/rev/a56ea24dfebd
branches:  trunk
changeset: 535414:a56ea24dfebd
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Aug 18 05:34:34 2002 +0000

description:
add a portablility note. from openbsd.

diffstat:

 lib/libc/sys/truncate.2 |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e64d438bfe82 -r a56ea24dfebd lib/libc/sys/truncate.2
--- a/lib/libc/sys/truncate.2   Sun Aug 18 04:12:42 2002 +0000
+++ b/lib/libc/sys/truncate.2   Sun Aug 18 05:34:34 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: truncate.2,v 1.15 2002/02/08 01:28:23 ross Exp $
+.\"    $NetBSD: truncate.2,v 1.16 2002/08/18 05:34:34 yamt Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)truncate.2 8.1 (Berkeley) 6/4/93
 .\"
-.Dd June 4, 1993
+.Dd August 18, 2002
 .Dt TRUNCATE 2
 .Os
 .Sh NAME
@@ -132,3 +132,7 @@
 .Sh BUGS
 These calls should be generalized to allow ranges
 of bytes in a file to be discarded.
+.Pp
+Use of
+.Fn truncate
+to extend a file is not portable.



Home | Main Index | Thread Index | Old Index