*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: open | Section: 2 | Source: UNIX v7 | File: open.2
OPEN(2) System Calls Manual OPEN(2) NAME open - open for reading or writing SYNOPSIS open(name, mode) char *name; DESCRIPTION Open opens the file name for reading (if mode is 0), writing (if mode is 1) or for both reading and writing (if mode is 2). Name is the ad- dress of a string of ASCII characters representing a path name, termi- nated by a null character. The file is positioned at the beginning (byte 0). The returned file descriptor must be used for subsequent calls for other input-output functions on the file. SEE ALSO creat(2), read(2), write(2), dup(2), close(2) DIAGNOSTICS The value -1 is returned if the file does not exist, if one of the nec- essary directories does not exist or is unreadable, if the file is not readable (resp. writable), or if too many files are open. ASSEMBLER (open = 5.) sys open; name; mode (file descriptor in r0) OPEN(2)

Navigation Options