Definition in file trunc.c.
Go to the source code of this file.
Defines | |
| #define | TEXTLINE "This is a line.\n" |
Functions | |
| void | buildfile (void) |
| int | main (void) |
Variables | |
| int | fd = -1 |
|
|
Definition at line 23 of file trunc.c. Referenced by buildfile(). |
|
|
Definition at line 27 of file trunc.c. References fd, open(), PERM_FILE, syserr(), TEXTLINE, and write(). Referenced by main(). |
|
|
Definition at line 39 of file trunc.c. References buildfile(), close(), exit(), fd, ftruncate(), lseek(), read(), syserr(), system(), and write(). |
|
|
Definition at line 25 of file trunc.c. Referenced by buildfile(), and main(). |
1.3.1