Searched refs:dbfd (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/games/canfield/cfscores/ |
H A D | cfscores.c | 57 static int dbfd; variable 75 dbfd = open(_PATH_SCORE, O_RDONLY); in main() 76 if (dbfd < 0) in main() 117 if (lseek(dbfd, pos, SEEK_SET) < 0) { in printuser() 120 i = read(dbfd, &total, sizeof(total)); in printuser()
|
/netbsd-src/games/canfield/canfield/ |
H A D | canfield.c | 190 static int dbfd = -1; variable 1392 if (dbfd != -1) { in suspend() 1393 lseek(dbfd, uid * sizeof(struct betinfo), SEEK_SET); in suspend() 1394 write(dbfd, (char *)&total, sizeof(total)); in suspend() 1646 dbfd = open(_PATH_SCORE, O_RDWR); in initall() 1651 if (dbfd < 0) in initall() 1653 if (dbfd < 3) in initall() 1655 if (lseek(dbfd, uid * sizeof(struct betinfo), SEEK_SET) < 0) { in initall() 1656 close(dbfd); in initall() 1657 dbfd = -1; in initall() [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_db.c | 627 int dbfd; in dict_db_open() local 718 dbfd = db->fd(db); in dict_db_open() 737 if ((errno = db->fd(db, &dbfd)) != 0) in dict_db_open() 774 if ((errno = db->fd(db, &dbfd)) != 0) in dict_db_open() 790 dict_db->dict.lock_fd = dbfd; in dict_db_open() 791 dict_db->dict.stat_fd = dbfd; in dict_db_open()
|
/netbsd-src/external/gpl3/gdb/dist/gdb/ |
H A D | ChangeLog-2019 | 9407 * dwarf2read.c (struct dwo_file) <dbfd>: Change type to 9410 (open_and_init_dwo_file): Move gdb_bfd_ref_ptr into dbfd field. Call
|
H A D | ChangeLog-2012 | 2140 (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd.
|
/netbsd-src/external/gpl3/gdb.old/dist/gdb/ |
H A D | ChangeLog-2019 | 9407 * dwarf2read.c (struct dwo_file) <dbfd>: Change type to 9410 (open_and_init_dwo_file): Move gdb_bfd_ref_ptr into dbfd field. Call
|
H A D | ChangeLog-2012 | 2140 (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd.
|