/freebsd-current/contrib/netbsd-tests/lib/csu/ |
H A D | h_initfini1.cxx | 7 write(STDOUT_FILENO, msg, sizeof(msg) - 1);
|
H A D | h_initfini_common.cxx | 14 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 D | h_initfini3.cxx | 14 write(STDOUT_FILENO, msg1, sizeof(msg1) - 1); 18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1); 20 write(STDOUT_FILENO, msg3, sizeof(msg3) - 1);
|
/freebsd-current/contrib/netbsd-tests/lib/csu/dso/ |
H A D | h_initfini3_dso.cxx | 14 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-current/usr.bin/procstat/tests/ |
H A D | while1.c | 34 if (write(STDOUT_FILENO, "started\n", 8) != 8)
|
/freebsd-current/bin/stty/ |
H A D | util.c | 50 if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO) && 51 !fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
|
/freebsd-current/libexec/rtld-elf/ |
H A D | rtld_printf.h | 44 #define rtld_printf(...) rtld_fdprintf(STDOUT_FILENO, __VA_ARGS__) 45 #define rtld_putstr(str) rtld_fdputstr(STDOUT_FILENO, (str)) 46 #define rtld_putchar(c) rtld_fdputchar(STDOUT_FILENO, (c))
|
/freebsd-current/contrib/netbsd-tests/kernel/ |
H A D | h_ps_strings1.c | 49 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-current/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_cancel.c | 53 write(STDOUT_FILENO, str1, sizeof(str1)-1); 57 write(STDOUT_FILENO, str2, sizeof(str2)-1);
|
/freebsd-current/usr.bin/diff/ |
H A D | pr.c | 77 if (pfd[1] != STDOUT_FILENO) { 78 pr->ostdout = dup(STDOUT_FILENO); 79 dup2(pfd[1], STDOUT_FILENO); 107 if (pr->ostdout != STDOUT_FILENO) { 108 close(STDOUT_FILENO); 109 dup2(pr->ostdout, STDOUT_FILENO);
|
/freebsd-current/contrib/xz/src/xz/ |
H A D | private.h | 46 #ifndef STDOUT_FILENO 47 # define STDOUT_FILENO (fileno(stdout)) macro
|
/freebsd-current/lib/libc/tests/stdlib/ |
H A D | quick_exit_test.c | 17 if (write(STDOUT_FILENO, "a", 1) != 1) 23 if (write(STDOUT_FILENO, "b", 1) != 1) 29 if (write(STDOUT_FILENO, "c", 1) != 1) 59 if (dup2(p[1], STDOUT_FILENO) < 0)
|
/freebsd-current/contrib/ncurses/ncurses/base/ |
H A D | lib_initscr.c | 88 dup2(fileno(fp), STDOUT_FILENO); local 89 stdout = fdopen(STDOUT_FILENO, "w");
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | daemon.c | 73 (void)dup2(fd, STDOUT_FILENO);
|
/freebsd-current/contrib/dialog/ |
H A D | prgbox.c | 51 if (fd[1] != STDOUT_FILENO) { 52 (void) dup2(fd[1], STDOUT_FILENO); 55 (void) dup2(STDOUT_FILENO, STDERR_FILENO);
|
/freebsd-current/usr.bin/nohup/ |
H A D | nohup.c | 69 if (isatty(STDOUT_FILENO)) 71 if (isatty(STDERR_FILENO) && dup2(STDOUT_FILENO, STDERR_FILENO) == -1) 111 if (dup2(fd, STDOUT_FILENO) == -1)
|
/freebsd-current/usr.bin/leave/ |
H A D | leave.c | 66 (void)write(STDOUT_FILENO, MSG1, sizeof(MSG1) - 1); 150 if (write(STDOUT_FILENO, MSG2, sizeof(MSG2) - 1) != sizeof(MSG2) - 1) 159 if (write(STDOUT_FILENO, MSG3, sizeof(MSG3) - 1) != sizeof(MSG3) - 1) 166 if (write(STDOUT_FILENO, MSG4, sizeof(MSG4) - 1) != sizeof(MSG4) - 1) 171 (void)write(STDOUT_FILENO, MSG5, sizeof(MSG5) - 1);
|
/freebsd-current/contrib/ncurses/progs/ |
H A D | progs.priv.h | 168 #ifndef STDOUT_FILENO 169 #define STDOUT_FILENO 1 macro 201 #ifndef STDOUT_FILENO 202 #define STDOUT_FILENO 1 macro
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | daemon.c | 72 dup2(fd, STDOUT_FILENO);
|
/freebsd-current/contrib/mandoc/ |
H A D | test-wchar.c | 51 dup2(STDERR_FILENO, STDOUT_FILENO);
|
H A D | term_tag.c | 81 if ((tag_files.ofd = dup(STDOUT_FILENO)) == -1) { 131 if (dup2(ofd, STDOUT_FILENO) == -1) { 184 if ((irc = dup2(tag_files.ofd, STDOUT_FILENO)) == -1) 198 tc_pgid = tcgetpgrp(STDOUT_FILENO); 202 (void)tcsetpgrp(STDOUT_FILENO, tag_files.tcpgid);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | AutoConvert.cpp | 35 assert(FD == STDIN_FILENO || FD == STDOUT_FILENO || FD == STDERR_FILENO); 65 if ((FD == STDIN_FILENO || FD == STDOUT_FILENO || FD == STDERR_FILENO) && 69 if (FD == STDOUT_FILENO || FD == STDERR_FILENO) 75 (FD == STDIN_FILENO || FD == STDOUT_FILENO || FD == STDERR_FILENO)
|
H A D | InitLLVM.cpp | 31 llvm::restoreStdHandleAutoConversion(STDOUT_FILENO); 74 ExitOnErr(errorCodeToError(llvm::enableAutoConversion(STDOUT_FILENO)));
|
/freebsd-current/usr.bin/top/ |
H A D | screen.c | 174 if (tcgetattr(STDOUT_FILENO, &old_settings) == -1) 184 if (tcgetattr(STDOUT_FILENO, &old_settings) != -1) 194 tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); 229 tcsetattr(STDOUT_FILENO, TCSADRAIN, &old_settings); 239 tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings);
|
/freebsd-current/contrib/netbsd-tests/dev/audio/ |
H A D | h_pad.c | 74 write(STDOUT_FILENO, buf, n);
|