diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/v10/man2/open.2 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/v10/man2/open.2')
| -rw-r--r-- | static/v10/man2/open.2 | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/static/v10/man2/open.2 b/static/v10/man2/open.2 deleted file mode 100644 index 3f295f90..00000000 --- a/static/v10/man2/open.2 +++ /dev/null @@ -1,61 +0,0 @@ -.TH OPEN 2 -.CT 2 file_io -.SH NAME -open \(mi open for reading or writing -.SH SYNOPSIS -.nf -.B int open(name, rwmode) -.B char *name; -.fi -.SH DESCRIPTION -.I Open -opens the file -.I name -for reading -(if -.I rwmode -is 0), -writing (if -.I rwmode -is 1) -or for both reading and writing -(if -.I rwmode -is 2) -and returns an associated file descriptor. -.I Name -is a null-terminated string representing -a path name. -.PP -The file pointer is set to 0. -.PP -It is not possible to open for writing a file with set-userid -or set-groupid permission; see -.IR stat (2). -.SH "SEE ALSO" -.IR close (2), -.IR creat (2), -.IR dup (2), -.IR read (2), -.IR write (2) -.SH DIAGNOSTICS -.BR EACCES , -.BR EBUSY , -.BR ECONC , -.BR EFAULT , -.BR EINTR , -.BR EIO , -.BR EISDIR , -.BR ELAB , -.BR ELOOP , -.BR EMFILE , -.BR ENFILE , -.BR ENOENT , -.BR ENOTDIR , -.BR EROFS , -.BR ETXTBSY -.SH BUGS -It should be possible to open files for writing with exclusive use, -and to call -.I open -without the necessity of waiting for carrier on communication lines. |
