by W. Richard Stevens
Addison-Wesley Professional Computing Series
0-201-56317-7 * Hardcover * 768 pages * ©1992
[Buy this book]
Example | Relevant Functions | |
---|---|---|
16.1 | Concurrent database Library |
db_open,
db_store,
db_close, err_sys (Stevens' lib), err_quit (Stevens' lib), exit |
16.2 | db.h |
Functions appear below |
16.3 | db_open |
strlen,
strcpy,
strcat,
sprintf, open, write, fstat, _db_alloc, _db_free, db_rewind, err_dump, err_sys (Stevens' lib), writew_lock, un_lock (Stevens' lib), |
16.4 | _db_alloc |
calloc,
malloc, err_dump (Stevens' lib), |
16.5 | _db_free |
close,
free, err_dump (Stevens' lib) |
16.6 | db_close |
_db_free |
16.7 | db_fetch |
_db_find,
_db_readdat, un_lock (Stevens' lib), err_dump (Stevens' lib) |
16.8 | _db_find |
writew_lock (Stevens' lib), readw_lock (Stevens' lib), un_lock (Stevens' lib), err_dump (Stevens' lib), _db_hash, _db_readptr, _db_readidx, strcmp |
16.9 | _db_hash.c |
none (simple arithmetic) |
16.10 | _db_readptr |
lseek,
read,
atol, err_dump (Stevens' lib) |
16.11 | _db_readidx |
lseek,
readv,
read, atol, atoi, strchr, err_dump (Stevens' lib) |
16.12 | _db_readdat |
lseek,
read, err_dump (Stevens' lib) |
16.13 | db_delete |
_db_find,
_db_dodelete, un_lock (Stevens' lib), err_dump (Stevens' lib), |
16.14 | _db_dodelete |
writew_lock (Stevens' lib), _db_writedat, _db_writeidx, _db_readptr, _db_writeptr, un_lock (Stevens' lib), err_dump (Stevens' lib), |
16.15 | _db_writedat |
writew_lock (Stevens' lib), un_lock (Stevens' lib), err_dump (Stevens' lib), lseek, strlen, writev |
16.16 | _db_writeidx |
err_quit (Stevens' lib), err_dump (Stevens' lib), writew_lock (Stevens' lib), un_lock (Stevens' lib), sprintf, strlen, lseek, writev |
16.17 | _db_writeptr |
err_quit (Stevens' lib), err_dump (Stevens' lib), sprintf, lseek, write |
16.18 | db_store |
strlen, un_lock (Stevens' lib), err_dump (Stevens' lib), _db_find, _db_findfree, _db_readptr, _db_writedat, _db_writeidx, _db_writeptr, _db_dodelete |
16.19 | _db_findfree |
writew_lock (Stevens' lib), err_dump (Stevens' lib), un_lock (Stevens' lib), _db_readptr, _db_writeptr, _db_readidx, strlen |
16.20 | db_rewind |
lseek, err_dump (Stevens' lib) |
16.21 | db_nextrec |
readw_lock (Stevens' lib), un_lock (Stevens' lib), err_dump (Stevens' lib), _db_readidx, _db_readdat, strcpy |