Lines Matching refs:open
187 /* gain back enough privilege to open the id file */
198 /* open the sequence file */
199 if (((fd = open(JOB_ID_FILE, O_RDWR)) < 0) && (errno == ENOENT))
200 fd = open(JOB_ID_FILE, O_CREAT|O_EXCL|O_RDWR, 0644);
245 /* gain back enough privilege to open a reserved port */
420 if ((fd = open(name, O_RDONLY)) < 0)
508 /* open the control file */
509 if ((fd = open(path, O_RDONLY)) < 0) {
510 syslog(LOG_ERR, "submit_job(%d, %s, %d, %s): open(): %m",
593 if ((fd = open(path, O_WRONLY)) >= 0) {