Home
last modified time | relevance | path

Searched refs:output_fd (Results 1 – 5 of 5) sorted by relevance

/freebsd/usr.sbin/daemon/
H A Ddaemon.c95 int output_fd; member
349 state.output_fd = open_log(state.output_filename, state.output_file_mode); in main()
350 if (state.output_fd == -1) { in main()
528 if (state->log_reopen && state->output_fd >= 0) { in daemon_eventloop()
622 if (state->log_reopen && state->output_fd >= 0) { in daemon_sleep()
780 if (state->output_fd != -1) { in do_output()
781 if (write(state->output_fd, buf, len) == -1) in do_output()
786 state->output_fd == -1) { in do_output()
804 if (state->output_fd >= 0) { in reopen_log()
805 close(state->output_fd); in reopen_log()
[all …]
/freebsd/contrib/bsddialog/utility/
H A Dutil_builders.c168 dprintf(opt->output_fd, "%d", value); in rangebox_builder()
211 dprintf(opt->output_fd, "%s", stringdate); in date()
213 dprintf(opt->output_fd, "%u/%u/%u", dd, mm, yy); in date()
215 dprintf(opt->output_fd, "%02u/%02u/%u", dd, mm, yy); in date()
278 dprintf(opt->output_fd, "%s", stringtime); in timebox_builder()
280 dprintf(opt->output_fd, "%u:%u:%u", hh, mm, ss); in timebox_builder()
282 dprintf(opt->output_fd, "%02u:%02u:%02u", hh, mm, ss); in timebox_builder()
359 dprintf(opt->output_fd, "HELP "); in print_menu_items()
375 dprintf(opt->output_fd, "%c%s%c", in print_menu_items()
378 dprintf(opt->output_fd, "%s", focusname); in print_menu_items()
[all …]
H A Dutil_cli.c369 opt->output_fd = STDERR_FILENO; in parseargs()
583 opt->output_fd = (int)strtol(optarg, NULL, 10); in parseargs()
594 dprintf(opt->output_fd, "MaxSize: %d, %d\n", in parseargs()
603 dprintf(opt->output_fd, "Version: %s\n", in parseargs()
644 opt->output_fd = STDERR_FILENO; in parseargs()
647 opt->output_fd = STDOUT_FILENO; in parseargs()
H A Dutil.h65 int output_fd; member
H A Dbsddialog.c253 dprintf(opt.output_fd, "DialogSize: %d, %d\n", in main()