Home
last modified time | relevance | path

Searched refs:logfd (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c32 static FILE *logfd = NULL; variable
58 logfd = fd; in ldaplogconfigf()
137 if (logfd) { in ldaplog()
138 fclose(logfd); in ldaplog()
139 logfd = NULL; in ldaplog()
146 if (!logfd) { in ldaplog()
147 logfd = fopen(logfile, "aF"); in ldaplog()
152 if (logfd) { in ldaplog()
161 fprintf(logfd, "%.16s : ", timestr); in ldaplog()
163 vfprintf(logfd, fmt, ap); in ldaplog()
[all …]
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c118 int logfd = -1; /* screen output logging */ variable
208 logfd = open(optarg, O_CREAT|O_WRONLY|O_TRUNC, 0644); in sd_stats_lintmain()
336 if (logfd > -1) wrefresh_file(stdscr, logfd); in sd_stats_lintmain()
481 if (logfd > -1) wrefresh_file(stdscr, logfd); in leave()
/titanic_50/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c847 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()
/titanic_50/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c974 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));
/titanic_50/usr/src/cmd/svc/startd/
H A Dlog.c579 int dirfd, logfd; in log_init() local
674 if ((logfd = openat(dirfd, STARTD_DEFAULT_LOG, in log_init()
684 if ((logfile = fdopen(logfd, "a")) == NULL) in log_init()
/titanic_50/usr/src/cmd/savecore/
H A Dsavecore.c1454 int logfd; in message_save() local
1456 logfd = Open("/dev/conslog", O_WRONLY, 0644); in message_save()
1499 if (putpmsg(logfd, &ctl, &dat, 1, MSG_BAND) == -1) in message_save()
1756 int logfd = Open("/dev/conslog", O_WRONLY, 0644); in main() local
1782 (void) putmsg(logfd, &ctl, &dat, 0); in main()
1783 (void) close(logfd); in main()