diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-29 14:10:33 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-29 14:10:33 +0000 |
commit | 56f6529fc36c6db13ad6ff247464d6b0c9e0d023 (patch) | |
tree | 370910d2e05f30a3e4f78b5160a518c3222aa9f9 /lib/libc/sys/open.2 | |
parent | 7e10459e58879c6c2e91c7f14687227390272c68 (diff) |
- change references to nil to null; tschroed@acm.org
- remove trailing spaces from end of lines
- add some .Dv
- change -1 to \-1, so `-' is taken as a negative sign
- other misc formatting fixes
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r-- | lib/libc/sys/open.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 74106b46461..5031199f8e2 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.12 1999/06/05 04:47:42 aaron Exp $ +.\" $OpenBSD: open.2,v 1.13 1999/06/29 14:10:11 aaron Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -131,7 +131,7 @@ the request for the lock will never fail If successful, .Fn open returns a non-negative integer, termed a file descriptor. -It returns -1 on failure. +It returns \-1 on failure. The file pointer used to mark the current position within the file is set to the beginning of the file. .Pp @@ -155,9 +155,9 @@ The named file is opened unless: .It Bq Er ENOTDIR A component of the path prefix is not a directory. .It Bq Er ENAMETOOLONG -A component of a pathname exceeded +A component of a pathname exceeded .Dv {NAME_MAX} -characters, or an entire path name exceeded +characters, or an entire path name exceeded .Dv {PATH_MAX} characters. .It Bq Er ENOENT @@ -271,5 +271,5 @@ is already locked. .Sh HISTORY An .Fn open -function call appeared in +function call appeared in .At v6 . |