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

/openbsd-current/usr.sbin/nsd/
H A Dnsd.h333 int statfd; member in struct:nsd
H A Dserver.c732 nsd->statfd = open(nsd->statfname, O_CREAT|O_RDWR, 0600);
733 if(nsd->statfd == -1) {
742 if(lseek(nsd->statfd, (off_t)sz-1, SEEK_SET) == -1) {
747 if(write(nsd->statfd, &z, 1) == -1) {
753 MAP_SHARED, nsd->statfd, 0);
757 close(nsd->statfd);
/openbsd-current/libexec/ftpd/
H A Dftpd.c131 int statfd = -1; variable
970 if (guest && (stats == 1) && (statfd < 0))
971 if ((statfd = open(_PATH_FTPDSTATFILE, O_WRONLY|O_APPEND)) == -1)
2741 if ((statfd >= 0) && (getcwd(dir, sizeof(dir)) != NULL)) {
2775 write(statfd, buf, len);

Completed in 96 milliseconds