Home
last modified time | relevance | path

Searched refs:logfp (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/usr.sbin/ypserv/common/
H A Dyplog.c46 static FILE *logfp = NULL; /* the log file */ variable
70 if (logfp == NULL) in vyplog()
73 fprintf(logfp,"%.15s ", ctime(&t) + 4); in vyplog()
74 vfprintf(logfp, fmt, ap); in vyplog()
75 fprintf(logfp,"\n"); in vyplog()
76 fflush(logfp); in vyplog()
89 logfp = fopen("/var/yp/ypserv.log", "a"); in ypopenlog()
90 if (logfp == NULL) in ypopenlog()
101 if (logfp) { in ypcloselog()
103 fclose(logfp); in ypcloselog()
[all …]
/openbsd-src/usr.sbin/amd/amd/
H A Dxutil.c48 FILE *logfp; variable
171 fprintf(logfp, "%15.15s %s %s[%ld]/%s ", in show_time_host_and_name()
217 vfprintf(logfp, efmt, ap); in plog()
219 fputc('\n', logfp); in plog()
220 fflush(logfp); in plog()
367 if (logfp && logfp != stderr) in switch_to_logfile()
368 (void) fclose(logfp); in switch_to_logfile()
369 logfp = new_logfp; in switch_to_logfile()
H A Dpfs_ops.c93 (void) dup(fileno(logfp)); in pfs_exec()
94 if (fileno(logfp) != fileno(stderr)) { in pfs_exec()
96 (void) dup(fileno(logfp)); in pfs_exec()
H A Dhost_ops.c508 (void) dup(fileno(logfp)); in host_exec()
509 if (fileno(logfp) != fileno(stderr)) { in host_exec()
511 (void) dup(fileno(logfp)); in host_exec()
H A Damd.c193 logfp = stderr; /* Log errors to stderr initially */ in main()
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dimport.c40 static FILE *logfp; variable
266 logfp = stdin;
294 if ((logfp = cvs_temp_file (&tmpfile)) == NULL)
301 (void) fprintf (logfp, "\nVendor Tag:\t%s\n", argv[1]);
302 (void) fprintf (logfp, "Release Tags:\t");
304 (void) fprintf (logfp, "%s\n\t\t", argv[i]);
305 (void) fprintf (logfp, "\n");
352 (void) fprintf (logfp, "\n%d conflicts created by this import.\n",
354 (void) fprintf (logfp,
356 (void) fprintf (logfp, "\t%s checkout ", program_name);
[all …]
H A Dlogmsg.c15 char *message, FILE * logfp, List * changes));
515 static FILE *logfp; variable
532 logfp = xlogfp;
547 return (logfile_write (repository, filter, message, logfp, changes));
644 logfile_write (repository, filter, message, logfp, changes) in logfile_write() argument
648 FILE *logfp;
848 if (logfp != (FILE *) 0)
851 rewind (logfp);
852 while ((c = getc (logfp)) != EOF)
H A DChangeLog-971952 variables vbranch, vhead, and logfp.
/openbsd-src/usr.sbin/amd/include/
H A Dconfig.h54 extern FILE *logfp; /* Log file */