Home | History | Annotate | Download | only in pppd

Lines Matching refs:FILE

118 static int record_write __P((FILE *, int code, u_char *buf, int nb,
126 static int ttyfd; /* Serial port file descriptor */
140 bool lockflag = 0; /* Create lock file to lock the serial dev */
147 char *record_file = NULL; /* File to record chars sent/received */
176 "Lock serial device with UUCP-style lock file", OPT_PRIO | 1 },
204 "Record characters sent/received to file", OPT_PRIO },
409 * and read its options file.
429 * Parse the tty options file.
430 * The per-tty options file should not change
852 * maybe_relock - our PID has changed, maybe update the lock file.
986 FILE *recordf = NULL;
1039 fatal("internal error: file descriptor too large (%d, %d, %d)",
1043 * Open the record file if required.
1048 error("Couldn't create record file %s: %m", record_file);
1142 /* end of file from stdin */
1166 /* end of file from the pty - slave side has closed */
1226 FILE *f;
1259 error("Error writing record file: %m");