Last change
on this file since 5f1d169 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
712 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | System Level I/O Functions in the C Library
|
---|
| 2 | -------------------------------------------
|
---|
| 3 |
|
---|
| 4 | access access(path, amode)
|
---|
| 5 |
|
---|
| 6 | * close close(fildes)
|
---|
| 7 |
|
---|
| 8 | * creat creat(path, mode)
|
---|
| 9 |
|
---|
| 10 | dup dup(fildes)
|
---|
| 11 |
|
---|
| 12 | fcntl fcntl(fildes, cmd, arg)
|
---|
| 13 |
|
---|
| 14 | fstat fstat(fildes, buf)
|
---|
| 15 |
|
---|
| 16 | ioctl ioctl(fildes, request, arg)
|
---|
| 17 |
|
---|
| 18 | * lseek lseek(fildes, offset, where)
|
---|
| 19 |
|
---|
| 20 | * open open(path, oflag, mode)
|
---|
| 21 |
|
---|
| 22 | * read read(fildes, buf, nbytes)
|
---|
| 23 |
|
---|
| 24 | stat stat(path, buf)
|
---|
| 25 |
|
---|
| 26 | * unlink unlink(path)
|
---|
| 27 |
|
---|
| 28 | * write write(fildes, buf, nbytes)
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | * indicates a minimal set of I/O functions required for all systems.
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | Additional I/O functions defined in Unix(tm) include:
|
---|
| 36 |
|
---|
| 37 | dup2, link, lock, mknod, mount, seek, sync, tell, umask, umount.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.