Searched refs:cur_fdb (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_map.c55 static DBM *cur_fdb; /* will be passwd back up by ypset_current_map */ variable
164 if ((cur_fdb) && (strcmp(mapname, get_map_name(cur_fdb)) == 0)) {
165 return (cur_fdb);
169 if (NULL != cur_fdb)
170 dbm_close(cur_fdb);
176 if ((cur_fdb = dbm_open(mapname, O_RDWR, 0644)) != NULL) {
177 return (cur_fdb);
202 if (cur_fdb != NULL) {
203 (void) dbm_close(cur_fdb);
[all...]

Completed in 260 milliseconds