Searched refs:LogFile (Results 1 – 5 of 5) sorted by relevance
/titanic_44/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 …]
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | syslog.c | 66 #define LogFile (_syslog->_LogFile) macro 89 LogFile = -1; /* fd for log */ in allocstatic() 131 if (LogFile < 0) in vsyslog() 201 if (sendto(LogFile, outline, c, 0, &SyslogAddr, in vsyslog() 249 if (LogFile >= 0) in openlog() 255 LogFile = socket(AF_UNIX, SOCK_DGRAM, 0); in openlog() 256 (void) fcntl(LogFile, F_SETFD, 1); in openlog() 269 (void) close(LogFile); in closelog() 270 LogFile = -1; in closelog()
|
/titanic_44/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 | 217 static int LogFile = CLOSED; /* Log file file destriptor. */ variable 348 writeLog(Record,&LogFile,LogName,&Collecting); in reportConn() 454 writeLog(Record,&LogFile,LogName,&Collecting); 903 if (openLog(&LogFile,LogName) == SUCCESS) in pfInit()
|