Searched refs:MANDOC_DB (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/mandoc/ |
H A D | mandocdb.c | 445 dba = nodb ? dba_new(128) : dba_read(MANDOC_DB); in mandocdb() 459 say(MANDOC_DB, "%s: Automatically recreating" in mandocdb() 641 if ( ! strcmp(path, MANDOC_DB)) in treescan() 2217 if (unlink(MANDOC_DB) == -1 && errno != ENOENT) in dbwrite() 2218 say(MANDOC_DB, "&unlink"); in dbwrite() 2227 if (dba_write(MANDOC_DB "~", dba) != -1) { in dbwrite() 2228 if (rename(MANDOC_DB "~", MANDOC_DB) == -1) { in dbwrite() 2230 say(MANDOC_DB, "&rename"); in dbwrite() 2231 unlink(MANDOC_DB "~"); in dbwrite() 2249 (void)strlcat(tfn, "/" MANDOC_DB, sizeof(tfn)); in dbwrite() [all …]
|
H A D | mansearch.h | 19 #define MANDOC_DB "mandoc.db" macro
|
H A D | mansearch.c | 157 if (dbm_open(MANDOC_DB) == -1) { in mansearch() 159 warn("%s/%s", paths->paths[i], MANDOC_DB); in mansearch()
|