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

/osnet-11/usr/src/lib/libnsl/yp/
H A Ddbm.c81 dirf = open(pagbuf, 2);
82 if (dirf < 0) {
83 dirf = open(pagbuf, 0);
86 if (pagf < 0 || dirf < 0)
88 (void) fstat(dirf, &statb);
110 (void) close(dirf);
352 (void) lseek(dirf, (long)b*DBLKSIZ, 0);
353 readsize = read(dirf, dirbuf, DBLKSIZ);
383 (void) lseek(dirf, (long)b*DBLKSIZ, 0);
384 if (write(dirf, dirbu
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dsdbm.c136 if ((db->dirf = open(dirname, flags, mode)) > -1) {
140 if (fstat(db->dirf, &dstat) == 0) {
156 (void) close(db->dirf);
170 (void) close(db->dirf);
457 if (lseek(db->dirf, OFF_DIR(dirb), SEEK_SET) < 0
458 || (got=read(db->dirf, db->dirbuf, DBLKSIZ)) < 0)
481 if (lseek(db->dirf, OFF_DIR(dirb), SEEK_SET) < 0
482 || (got=read(db->dirf, db->dirbuf, DBLKSIZ)) < 0)
501 if (lseek(db->dirf, OFF_DIR(dirb), SEEK_SET) < 0
502 || write(db->dirf, d
[all...]
H A Dsdbm.h20 int dirf; /* directory file descriptor */ member in struct:__anon85
46 #define sdbm_dirfno(db) ((db)->dirf)
/osnet-11/usr/src/lib/libast/common/misc/
H A Dglob.c298 void* dirf; local
482 if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTAR) == GLOB_DIR) && (dirf = (*gp->gl_diropen)(gp, dirname)))
529 while ((name = (*gp->gl_dirnext)(gp, dirf)) && !*gp->gl_intr)
546 (*gp->gl_dirclose)(gp, dirf);

Completed in 25 milliseconds