Home
last modified time | relevance | path

Searched refs:dbm_base (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Ddbm_map.c50 static char *dbm_base; variable
78 if ((dbm_base = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, in dbm_map()
83 if (strncmp(dbm_base, "SQLite format 3", 15)) in dbm_map()
130 if (munmap(dbm_base, st.st_size) == -1) in dbm_unmap()
134 dbm_base = (char *)-1; in dbm_unmap()
155 return dbm_base + offset; in dbm_get()
166 return (int32_t *)dbm_base + offset; in dbm_getint()
178 return htobe32((const char *)p - dbm_base); in dbm_addr()