diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-25 20:24:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-25 20:24:34 +0000 |
commit | e25d8072b7cde5f18b03978caac64b8c1b8190bb (patch) | |
tree | 5173a53afd705598d7a5136f81eae7f9a8cea4ac /lib | |
parent | d5cd06b8c8da1a5862997796b3eaa54869eb828a (diff) |
doc that O_TRUNC needs a write mode
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/open.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 062ff002537..5340b71df1c 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.15 2000/04/21 15:47:27 millert Exp $ +.\" $OpenBSD: open.2,v 1.16 2000/09/25 20:24:33 deraadt Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -88,7 +88,7 @@ Opening a file with set causes each write on the file to be appended to the end. If .Dv O_TRUNC -is specified and the +and a writing mode are specified and the file exists, the file is truncated to zero length. If .Dv O_EXCL |