Searched refs:logfd (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | log.c | 30 static FILE *logfd = NULL; variable 56 logfd = fd; in ldaplogconfigf() 135 if (logfd) { in ldaplog() 136 fclose(logfd); in ldaplog() 137 logfd = NULL; in ldaplog() 144 if (!logfd) { in ldaplog() 145 logfd = fopen(logfile, "aF"); in ldaplog() 150 if (logfd) { in ldaplog() 159 fprintf(logfd, "%.16s : ", timestr); in ldaplog() 161 vfprintf(logfd, fmt, ap); in ldaplog() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 847 int logfd; in parse_log() local 854 logfd = open(PKGLOG, O_RDONLY); in parse_log() 856 if (logfd < 0) { in parse_log() 863 if (fstat(logfd, &stb) != 0) { in parse_log() 869 (void) close(logfd); in parse_log() 875 logfd, 0); in parse_log() 876 (void) close(logfd); in parse_log()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 973 static int logfd = -1; variable 989 (void) close(logfd); 990 logfd = -1; 1027 (void) close(logfd); 1028 logfd = newlogfd; 1045 if (logfd >= 0) { 1056 (void) write(logfd, buffer, strlen(buffer));
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 588 int dirfd, logfd; in log_init() local 683 if ((logfd = openat(dirfd, STARTD_DEFAULT_LOG, in log_init() 693 if ((logfile = fdopen(logfd, "a")) == NULL) in log_init()
|
/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 1482 int logfd; in message_save() local 1484 logfd = Open("/dev/conslog", O_WRONLY, 0644); in message_save() 1527 if (putpmsg(logfd, &ctl, &dat, 1, MSG_BAND) == -1) in message_save() 1793 int logfd = Open("/dev/conslog", O_WRONLY, 0644); in main() local 1819 (void) putmsg(logfd, &ctl, &dat, 0); in main() 1820 (void) close(logfd); in main()
|