Definition in file f1.c.
Go to the source code of this file.
Compounds | |
struct | rec |
Defines | |
#define | DBNAME "termdb" |
Functions | |
bool | readrec (int dbfd, struct rec *r, off_t off) |
bool | writerec (int dbfd, struct rec *r, off_t off) |
bool | store (int dbfd, int data) |
void | process1 (void) |
void | process2 (void) |
int | main (void) |
|
Definition at line 90 of file f1.c. Referenced by process1(), and process2(). |
|
Definition at line 143 of file f1.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), fork(), process1(), process2(), and waitpid(). |
|
Definition at line 92 of file f1.c. References close(), DBNAME, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, ec_neg1, exit(), open(), PERM_FILE, store(), and writerec(). Referenced by main(). |
|
Definition at line 110 of file f1.c. References close(), DBNAME, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_false, ec_neg1, errno, exit(), open(), rec::r_data, rec::r_next, and readrec(). Referenced by main(). |
|
Definition at line 28 of file f1.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, errno, and pread(). |
|
Definition at line 62 of file f1.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, ec_neg1, lseek(), rec::r_data, rec::r_next, readrec(), usleep(), and writerec(). |
|
Definition at line 45 of file f1.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, errno, and pwrite(). |