/freebsd-current/lib/libc/gen/ |
H A D | psignal.c | 52 (void)_write(STDERR_FILENO, s, strlen(s)); 53 (void)_write(STDERR_FILENO, ": ", 2); 55 (void)_write(STDERR_FILENO, c, strlen(c)); 56 (void)_write(STDERR_FILENO, "\n", 1);
|
H A D | setjmperr.c | 48 (void)_write(STDERR_FILENO, ERRMSG, sizeof(ERRMSG) - 1);
|
H A D | fstab.c | 286 (void)_write(STDERR_FILENO, "fstab: ", 7); 287 (void)_write(STDERR_FILENO, path_fstab, strlen(path_fstab)); 288 (void)_write(STDERR_FILENO, ":", 1); 290 (void)_write(STDERR_FILENO, num, strlen(num)); 292 (void)_write(STDERR_FILENO, p, strlen(p)); 293 (void)_write(STDERR_FILENO, "\n", 1);
|
/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 | xmalloc.c | 45 rtld_fdputstr(STDERR_FILENO, "Out of memory\n"); 59 rtld_fdputstr(STDERR_FILENO, "Out of memory\n"); 88 rtld_fdputstr(STDERR_FILENO, "Out of memory\n");
|
/freebsd-current/lib/libcasper/libcasper/ |
H A D | libcasper_impl.c | 53 if (*fdp > STDERR_FILENO) 60 while (*fdp <= STDERR_FILENO) {
|
/freebsd-current/contrib/xz/src/xz/ |
H A D | private.h | 50 #ifndef STDERR_FILENO 51 # define STDERR_FILENO (fileno(stderr)) macro
|
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_closefrom.c | 54 (void)closefrom(STDERR_FILENO + 1); 61 ATF_REQUIRE(cur1 == STDERR_FILENO + 1); 91 ATF_REQUIRE(closefrom(STDERR_FILENO + 1) == 0); 94 ATF_REQUIRE(cur == STDERR_FILENO); 102 ATF_REQUIRE(cur == __arraycount(buf) + STDERR_FILENO); 104 half = STDERR_FILENO + __arraycount(buf) / 2;
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | daemon.c | 74 (void)dup2(fd, STDERR_FILENO);
|
/freebsd-current/lib/libc/stdlib/ |
H A D | set_constraint_handler_s.c | 88 (void) _write(STDERR_FILENO, ahs, sizeof(ahs) - 1); 89 (void) _write(STDERR_FILENO, msg, strlen(msg)); 90 (void) _write(STDERR_FILENO, "\n", 1);
|
/freebsd-current/contrib/diff/lib/ |
H A D | c-stack.c | 83 #ifndef STDERR_FILENO 84 # define STDERR_FILENO 2 macro 124 write (STDERR_FILENO, program_name, strlen (program_name)); 125 write (STDERR_FILENO, ": ", 2); 126 write (STDERR_FILENO, message, strlen (message)); 127 write (STDERR_FILENO, "\n", 1); 203 write (STDERR_FILENO, buf, strlen (buf));
|
/freebsd-current/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_atexit.c | 73 write(STDERR_FILENO, __func__, strlen(__func__)); \ 74 write(STDERR_FILENO, ": ", 2); \ 75 write(STDERR_FILENO, __STRING(expr), \ 77 write(STDERR_FILENO, "\n", 1); \
|
/freebsd-current/contrib/ncurses/progs/ |
H A D | progs.priv.h | 172 #ifndef STDERR_FILENO 173 #define STDERR_FILENO 2 macro 205 #ifndef STDERR_FILENO 206 #define STDERR_FILENO 2 macro
|
/freebsd-current/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_atexit.c | 82 write(STDERR_FILENO, __func__, strlen(__func__)); \ 83 write(STDERR_FILENO, ": ", 2); \ 84 write(STDERR_FILENO, __STRING(expr), \ 86 write(STDERR_FILENO, "\n", 1); \
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | daemon.c | 73 dup2(fd, STDERR_FILENO);
|
/freebsd-current/contrib/mandoc/ |
H A D | test-wchar.c | 51 dup2(STDERR_FILENO, STDOUT_FILENO);
|
/freebsd-current/lib/libc/stdio/ |
H A D | gets.c | 54 (void) _write(STDERR_FILENO, w, sizeof(w) - 1);
|
/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 | 32 llvm::restoreStdHandleAutoConversion(STDERR_FILENO); 73 ExitOnErr(errorCodeToError(llvm::enableAutoConversion(STDERR_FILENO)));
|
/freebsd-current/contrib/dialog/ |
H A D | prgbox.c | 55 (void) dup2(STDOUT_FILENO, STDERR_FILENO); 63 (void) close(STDERR_FILENO);
|
/freebsd-current/usr.bin/nohup/ |
H A D | nohup.c | 71 if (isatty(STDERR_FILENO) && dup2(STDOUT_FILENO, STDERR_FILENO) == -1)
|
/freebsd-current/libexec/rtld-elf/rtld-libc/ |
H A D | rtld_libc.c | 84 (void)rtld_fdprintf(STDERR_FILENO, 88 (void)rtld_fdprintf(STDERR_FILENO,
|
/freebsd-current/lib/libcasper/services/cap_syslog/ |
H A D | cap_syslog.c | 90 nvlist_add_descriptor(nvl, "stderr", STDERR_FILENO); 164 prev_stderr = dup(STDERR_FILENO); 166 (void)dup2(stderr_fd, STDERR_FILENO); 168 (void)dup2(prev_stderr, STDERR_FILENO); 186 (void)dup2(prev_stderr, STDERR_FILENO);
|
/freebsd-current/contrib/ntp/sntp/libopts/ |
H A D | pgusage.c | 161 dup2(STDERR_FILENO, STDOUT_FILENO); 165 dup2(STDOUT_FILENO, STDERR_FILENO);
|
/freebsd-current/usr.bin/su/ |
H A D | su.c | 284 mytty = ttyname(STDERR_FILENO); 439 if (tcgetpgrp(STDERR_FILENO) == getpgrp()) 440 tcsetpgrp(STDERR_FILENO, child_pid); 446 if (tcgetpgrp(STDERR_FILENO) == child_pgrp) 447 tcsetpgrp(STDERR_FILENO, getpgrp()); 449 if (tcgetpgrp(STDERR_FILENO) == getpgrp()) { 451 tcsetpgrp(STDERR_FILENO, child_pgrp); 459 tcsetpgrp(STDERR_FILENO, getpgrp()); 625 p = ttyname(STDERR_FILENO);
|