Searched defs:LogFile (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/bnu/ |
H A D | account.c | 75 static int LogFile = CLOSED; /* Log file file destriptor. */ variable 129 writeLog(Record,&LogFile,LogName,&Collecting); 259 if (openLog(&LogFile,LogName) == SUCCESS){
|
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); 458 writeLog(Record,&LogFile,LogName,&Collecting);
|
H A D | perfstat.c | 217 static int LogFile = CLOSED; /* Log file file destriptor. */ variable 348 writeLog(Record,&LogFile,LogName,&Collecting); 454 writeLog(Record,&LogFile,LogName,&Collecting); 903 if (openLog(&LogFile,LogName) == SUCCESS)
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | syslog.c | 66 #define LogFile (_syslog->_LogFile) macro 89 LogFile = -1; /* fd for log */ 131 if (LogFile < 0) 201 if (sendto(LogFile, outline, c, 0, &SyslogAddr, 249 if (LogFile >= 0) 255 LogFile = socket(AF_UNIX, SOCK_DGRAM, 0); 256 (void) fcntl(LogFile, F_SETFD, 1); 269 (void) close(LogFile); 270 LogFile = -1;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 127 #define LogFile (__syslog._LogFile) macro 228 if (LogFile < 0) 231 if ((fstat(LogFile, &statbuff) != 0) || 341 if ((putmsg(LogFile, &ctl, &dat, 0) >= 0) && syslogd_ok()) 443 if ((fstat(LogFile, &statbuff) == 0) && 448 LogFile = open(logname, O_WRONLY); 449 (void) fcntl(LogFile, F_SETFD, 1); 450 (void) fstat(LogFile, &statbuff); 466 /* if the LogFile is invalid it can not be closed */ 474 if ((fstat(LogFile, [all...] |
Completed in 80 milliseconds