Home
last modified time | relevance | path

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

/NextBSD/usr.sbin/bsnmpd/modules/snmp_hostres/
HDhostres_printer_tbl.c165 if (pp->status_file[0] == '/') in get_printer_status()
166 strlcpy(statfile, pp->status_file, sizeof(statfile)); in get_printer_status()
169 pp->spool_dir, pp->status_file); in get_printer_status()
/NextBSD/usr.sbin/lpr/common_source/
HDcommon.c308 if (pp->status_file[0] == '/') in status_file_name()
309 strlcpy(buf, pp->status_file, len); in status_file_name()
311 snprintf(buf, len, "%s/%s", pp->spool_dir, pp->status_file); in status_file_name()
HDprintcap.c259 &pp->status_file)); in getprintcap_int()
356 cfree(pp->status_file); in free_printer()
HDdisplayq.c137 fd = open(pp->status_file, O_RDONLY|O_SHLOCK); in displayq()
194 fd = open(pp->status_file, O_RDONLY|O_SHLOCK); in displayq()
HDlp.h84 char *status_file; /* ST: status file name */ member
/NextBSD/usr.sbin/notifyd/
HDnotifyd.c74 static char *status_file = NULL; variable
630 if (status_file == NULL) in dump_status()
632 asprintf(&status_file, "/var/run/notifyd_%u.status", getpid()); in dump_status()
633 if (status_file == NULL) return; in dump_status()
636 unlink(status_file); in dump_status()
637 f = fopen(status_file, "w"); in dump_status()
/NextBSD/usr.sbin/lpr/lpd/
HDprintjob.c2001 fd = open(pp->status_file, O_WRONLY|O_CREAT|O_EXLOCK, STAT_FILE_MODE); in pstatus()
2004 pp->status_file); in pstatus()