Searched refs:logfd (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | log.c | 32 static FILE *logfd = NULL; variable 58 logfd = fd; 137 if (logfd) { 138 fclose(logfd); 139 logfd = NULL; 146 if (!logfd) { 147 logfd = fopen(logfile, "aF"); 152 if (logfd) { 161 fprintf(logfd, "%.16s : ", timestr); 163 vfprintf(logfd, fm [all...] |
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_stats.c | 118 int logfd = -1; /* screen output logging */ variable 208 logfd = open(optarg, O_CREAT|O_WRONLY|O_TRUNC, 0644); 336 if (logfd > -1) wrefresh_file(stdscr, logfd); 481 if (logfd > -1) wrefresh_file(stdscr, logfd);
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 974 static int logfd = -1; variable 990 (void) close(logfd); 991 logfd = -1; 1028 (void) close(logfd); 1029 logfd = newlogfd; 1046 if (logfd >= 0) { 1057 (void) write(logfd, buffer, strlen(buffer));
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 847 int logfd; local 854 logfd = open(PKGLOG, O_RDONLY); 856 if (logfd < 0) { 863 if (fstat(logfd, &stb) != 0) { 869 (void) close(logfd); 875 logfd, 0); 876 (void) close(logfd);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 579 int dirfd, logfd; local 674 if ((logfd = openat(dirfd, STARTD_DEFAULT_LOG, 684 if ((logfile = fdopen(logfd, "a")) == NULL)
|
/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 1454 int logfd; local 1456 logfd = Open("/dev/conslog", O_WRONLY, 0644); 1499 if (putpmsg(logfd, &ctl, &dat, 1, MSG_BAND) == -1) 1756 int logfd = Open("/dev/conslog", O_WRONLY, 0644); local 1782 (void) putmsg(logfd, &ctl, &dat, 0); 1783 (void) close(logfd);
|
Completed in 78 milliseconds