Home
last modified time | relevance | path

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

/freebsd/usr.sbin/daemon/
H A Ddaemon.c95 int output_fd; member
316 state.output_fd = open_log(state.output_filename); in main()
317 if (state.output_fd == -1) { in main()
495 if (state->log_reopen && state->output_fd >= 0) { in daemon_eventloop()
589 if (state->log_reopen && state->output_fd >= 0) { in daemon_sleep()
747 if (state->output_fd != -1) { in do_output()
748 if (write(state->output_fd, buf, len) == -1) in do_output()
753 state->output_fd == -1) { in do_output()
771 if (state->output_fd >= 0) { in reopen_log()
772 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, " in print_menu_items()
[all...]
H A Dutil_cli.c367 opt->output_fd = STDERR_FILENO; in parseargs()
581 opt->output_fd = (int)strtol(optarg, NULL, 10); in parseargs()
592 dprintf(opt->output_fd, "MaxSize: %d, %d\n", in parseargs()
601 dprintf(opt->output_fd, "Version: %s\n", in parseargs()
642 opt->output_fd = STDERR_FILENO; in parseargs()
645 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()
/freebsd/contrib/dialog/
H A Ddialog.c330 { "output-fd", opO(output_fd), 1, "<fd>" },