Lines Matching refs:open
1130 if ((fd = open("/dev/tty", O_RDWR, 0)) >= 0) {
1375 if ((shl_dbg_fd = open(lfp, O_WRONLY | O_APPEND | O_CREAT, 0600)) < 0)
1376 errorf("cannot open debug output file %s", lfp);
1387 DF("=== open ===");
1399 errorf("too many files open in shell");
1423 errorf("too many files open in shell");
1499 "fd not open for reading" :
1500 "fd not open for writing";
1631 /* cyclically attempt to open a temporary file */
1632 while ((i = open(tp->tffn, O_CREAT | O_EXCL | O_RDWR, 0600)) < 0) {