diff options
author | 2000-10-18 05:12:06 +0000 | |
---|---|---|
committer | 2000-10-18 05:12:06 +0000 | |
commit | ea418ffe85da8239e30bb1c3e28466cf6b8f685e (patch) | |
tree | 01651b197bba18ec88ec6a378fec58207d2f3632 /lib/libc/sys/open.2 | |
parent | get the bounds checking right for the data used in copyout() in several (diff) | |
download | wireguard-openbsd-ea418ffe85da8239e30bb1c3e28466cf6b8f685e.tar.xz wireguard-openbsd-ea418ffe85da8239e30bb1c3e28466cf6b8f685e.zip |
Another round of man page cleanup, this time to remove more hard sentence
breaks and getting rid of short lines, making these files easier to work with.
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r-- | lib/libc/sys/open.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 8cd7e13b20f..a8acb4150f9 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.17 2000/09/30 16:17:20 millert Exp $ +.\" $OpenBSD: open.2,v 1.18 2000/10/18 05:12:10 aaron Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -86,7 +86,8 @@ O_NOFOLLOW if last path element is a symlink, don't follow it Opening a file with .Dv O_APPEND set causes each write on the file -to be appended to the end. If +to be appended to the end. +If .Dv O_TRUNC and a writing mode are specified and the file exists, the file is truncated to zero length. @@ -97,8 +98,8 @@ is set with and the file already exists, .Fn open -returns an error. This may be used to -implement a simple exclusive access locking mechanism. +returns an error. +This may be used to implement a simple exclusive access locking mechanism. If either of .Dv O_EXCL or @@ -111,7 +112,8 @@ link points to a non-existent name. If the .Dv O_NONBLOCK flag is specified, do not wait for the device or file to be ready or -available. If the +available. +If the .Fn open call would result in the process being blocked for some reason (e.g., waiting for |