Searched refs:LogFile (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 127 #define LogFile (__syslog._LogFile) macro 229 if (LogFile < 0) in vsyslog() 232 if ((fstat(LogFile, &statbuff) != 0) || in vsyslog() 342 ret = putmsg(LogFile, &ctl, &dat, 0); in vsyslog() 445 if ((fstat(LogFile, &statbuff) == 0) && in openlog() 450 LogFile = open(logname, O_WRONLY); in openlog() 451 (void) fcntl(LogFile, F_SETFD, 1); in openlog() 452 (void) fstat(LogFile, &statbuff); in openlog() 476 if ((fstat(LogFile, &statbuff) == 0) && (statbuff.st_rdev == LogDev)) { in closelog() 477 (void) close(LogFile); in closelog() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | security.c | 80 static int LogFile = CLOSED; /* Log file file destriptor. */ variable 149 if (LogFile == CLOSED) { 151 LogFile = open(LogName, O_WRONLY | O_APPEND); 153 LogFile = creat(LogName, LOGFILEMODE); 156 if (LogFile < 0){ 200 writeLog(Record,&LogFile,LogName,&Collecting); in scWrite() 458 writeLog(Record,&LogFile,LogName,&Collecting); in scWlog()
|
H A D | account.c | 75 static int LogFile = CLOSED; /* Log file file destriptor. */ variable 129 writeLog(Record,&LogFile,LogName,&Collecting); in reportJob() 259 if (openLog(&LogFile,LogName) == SUCCESS){
|
H A D | perfstat.c | 215 static int LogFile = CLOSED; /* Log file file destriptor. */ variable 346 writeLog(Record,&LogFile,LogName,&Collecting); in reportConn() 452 writeLog(Record,&LogFile,LogName,&Collecting); 901 if (openLog(&LogFile,LogName) == SUCCESS) in pfInit()
|