Searched refs:STDOUT_FILENO (Results 1 - 25 of 257) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/netbsd-tests/lib/csu/
H A Dh_initfini1.cxx7 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
H A Dh_initfini_common.cxx14 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);
26 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
30 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);
H A Dh_initfini3.cxx14 write(STDOUT_FILENO, msg1, sizeof(msg1) - 1);
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);
20 write(STDOUT_FILENO, msg3, sizeof(msg3) - 1);
/freebsd-11-stable/contrib/netbsd-tests/lib/csu/dso/
H A Dh_initfini3_dso.cxx14 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);
26 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
30 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1);
/freebsd-11-stable/usr.bin/procstat/tests/
H A Dwhile1.c36 if (write(STDOUT_FILENO, "started\n", 8) != 8)
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld_printf.h42 #define rtld_printf(...) rtld_fdprintf(STDOUT_FILENO, __VA_ARGS__)
43 #define rtld_putstr(str) rtld_fdputstr(STDOUT_FILENO, (str))
44 #define rtld_putchar(c) rtld_fdputchar(STDOUT_FILENO, (c))
H A Ddebug.h58 #define msg(s) write(STDOUT_FILENO, s, strlen(s))
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dh_ps_strings1.c49 write(STDOUT_FILENO, nargv_err, sizeof(nargv_err));
55 write(STDOUT_FILENO, argv_err, sizeof(argv_err));
61 write(STDOUT_FILENO, env_err, sizeof(env_err));
69 write(STDOUT_FILENO, nenv_err, sizeof(nenv_err));
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dh_cancel.c53 write(STDOUT_FILENO, str1, sizeof(str1)-1);
57 write(STDOUT_FILENO, str2, sizeof(str2)-1);
/freebsd-11-stable/bin/stty/
H A Dutil.c60 if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO) &&
61 !fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
/freebsd-11-stable/contrib/xz/src/xz/
H A Dprivate.h40 #ifndef STDOUT_FILENO
41 # define STDOUT_FILENO (fileno(stdout)) macro
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_initscr.c82 dup2(fileno(fp), STDOUT_FILENO); local
83 stdout = fdopen(STDOUT_FILENO, "w");
/freebsd-11-stable/contrib/ncurses/progs/
H A Dclear.c57 setupterm((char *) 0, STDOUT_FILENO, (int *) 0);
H A Dprogs.priv.h136 #ifndef STDOUT_FILENO
137 #define STDOUT_FILENO 1 macro
169 #ifndef STDOUT_FILENO
170 #define STDOUT_FILENO 1 macro
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Ddaemon.c73 (void)dup2(fd, STDOUT_FILENO);
/freebsd-11-stable/contrib/dialog/
H A Dprgbox.c51 if (fd[1] != STDOUT_FILENO) {
52 (void) dup2(fd[1], STDOUT_FILENO);
55 (void) dup2(STDOUT_FILENO, STDERR_FILENO);
/freebsd-11-stable/usr.bin/leave/
H A Dleave.c78 (void)write(STDOUT_FILENO, MSG1, sizeof(MSG1) - 1);
162 if (write(STDOUT_FILENO, MSG2, sizeof(MSG2) - 1) != sizeof(MSG2) - 1)
171 if (write(STDOUT_FILENO, MSG3, sizeof(MSG3) - 1) != sizeof(MSG3) - 1)
178 if (write(STDOUT_FILENO, MSG4, sizeof(MSG4) - 1) != sizeof(MSG4) - 1)
183 (void)write(STDOUT_FILENO, MSG5, sizeof(MSG5) - 1);
/freebsd-11-stable/usr.bin/nohup/
H A Dnohup.c81 if (isatty(STDOUT_FILENO))
83 if (isatty(STDERR_FILENO) && dup2(STDOUT_FILENO, STDERR_FILENO) == -1)
123 if (dup2(fd, STDOUT_FILENO) == -1)
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Ddaemon.c72 dup2(fd, STDOUT_FILENO);
/freebsd-11-stable/contrib/mdocml/
H A Dtest-wchar.c55 dup2(STDERR_FILENO, STDOUT_FILENO);
/freebsd-11-stable/lib/libcapsicum/
H A Dcapsicum_helpers.h96 return (caph_limit_stream(STDOUT_FILENO, CAPH_WRITE));
105 caph_limit_stream(STDOUT_FILENO, CAPH_WRITE | iebadf) == -1 ||
/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-pipe.c87 if (pdes[1] != STDOUT_FILENO)
89 dup2 (pdes[1], STDOUT_FILENO);
92 dup2 (STDOUT_FILENO, STDIN_FILENO);
/freebsd-11-stable/libexec/fingerd/
H A Dfingerd.c111 if (setsockopt(STDOUT_FILENO, IPPROTO_TCP, TCP_NOPUSH, &one,
203 if (p[1] != STDOUT_FILENO) {
204 (void)dup2(p[1], STDOUT_FILENO);
207 dup2(STDOUT_FILENO, STDERR_FILENO);
/freebsd-11-stable/lib/libc/gen/
H A Ddaemon.c89 (void)_dup2(fd, STDOUT_FILENO);
/freebsd-11-stable/usr.bin/tail/
H A Dextern.h35 if (write(STDOUT_FILENO, p, size) != (ssize_t)size) \

Completed in 300 milliseconds

1234567891011