Searched refs:STDOUT_FILENO (Results 126 - 150 of 257) sorted by last modified time

1234567891011

/freebsd-11-stable/bin/ls/
H A Dprint.c608 (void)write(STDOUT_FILENO, &tmp, 1);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c97 static int ofd = STDOUT_FILENO; /* Standard output fd. */
191 if (ofd == STDOUT_FILENO && (t = strchr(p, '\n')) != NULL)
383 if (ofd == STDOUT_FILENO)
391 if (ofd != STDOUT_FILENO)
444 if (ofd != STDOUT_FILENO)
478 if (ofd == STDOUT_FILENO)
486 if (ofd != STDOUT_FILENO)
525 if (ofd == STDOUT_FILENO)
/freebsd-11-stable/contrib/netbsd-tests/dev/audio/
H A Dh_pad.c74 write(STDOUT_FILENO, buf, n);
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dh_tools.c114 error = write(STDOUT_FILENO, fh, fh_size);
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_exec.c293 if (pdes[1] != STDOUT_FILENO) {
294 dup2(pdes[1], STDOUT_FILENO);
304 if (i != STDOUT_FILENO && i != STDERR_FILENO)
308 if (!set_nonblock(STDOUT_FILENO)) {
309 close(STDOUT_FILENO);
/freebsd-11-stable/usr.bin/tee/
H A Dtee.c109 add(STDOUT_FILENO, "stdout");
153 if (fd == STDOUT_FILENO)
160 if (fd == STDOUT_FILENO) {
/freebsd-11-stable/lib/libpam/modules/pam_ssh/
H A Dpam_ssh.c303 dup2(agent_pipe[1], STDOUT_FILENO);
/freebsd-11-stable/lib/libc/tests/resolv/
H A Dresolv_test.c108 (void)write(STDOUT_FILENO, buf, len);
116 (void)write(STDOUT_FILENO, buf, len);
133 (void)write(STDOUT_FILENO, buf, len);
140 (void)write(STDOUT_FILENO, buf, len);
156 (void)write(STDOUT_FILENO, buf, len);
164 (void)write(STDOUT_FILENO, buf, len);
186 (void)write(STDOUT_FILENO, buf, len);
/freebsd-11-stable/tools/KSE/ksetest/
H A Dkse_threads_test.c264 write(STDOUT_FILENO, &c, 1);
329 write(STDOUT_FILENO, s, strlen(s));
/freebsd-11-stable/tools/KSE/rr/
H A Drr.c204 write(STDOUT_FILENO, &c, 1);
269 write(STDOUT_FILENO, s, strlen(s));
/freebsd-11-stable/tools/regression/tmpfs/
H A Dh_tools.c83 error = write(STDOUT_FILENO, &fh, sizeof(fh));
/freebsd-11-stable/tools/tools/indent_wrapper/
H A Dindent_wrapper.c293 dup2(pdes[1], STDOUT_FILENO);
/freebsd-11-stable/libexec/atrun/
H A Datrun.c268 close(STDOUT_FILENO);
290 if (dup(fd_out) != STDOUT_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/libexec/ftpd/
H A Dpopen.c128 if (pdes[1] != STDOUT_FILENO) {
129 dup2(pdes[1], STDOUT_FILENO);
132 dup2(STDOUT_FILENO, STDERR_FILENO); /* stderr too! */
/freebsd-11-stable/libexec/pppoed/
H A Dpppoed.c439 dup2(ds, STDOUT_FILENO);
/freebsd-11-stable/libexec/rlogind/
H A Drlogind.c529 fatal(STDOUT_FILENO, errmsg, 0);
/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))
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dgrep.c1680 if(isatty(STDOUT_FILENO) && getenv("TERM") &&
/freebsd-11-stable/gnu/usr.bin/rcs/co/
H A Dco.c353 VOID setmode(STDOUT_FILENO, newmode);
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Dconf.h323 # define STDOUT_FILENO 1 macro
H A Drcsfnms.c984 (fd[1] == STDOUT_FILENO ||
986 (VOID close(STDOUT_FILENO),
987 fcntl(fd[1], F_DUPFD, STDOUT_FILENO))
989 dup2(fd[1], STDOUT_FILENO)
991 == STDOUT_FILENO &&
H A Drcssyn.c664 fdlock = STDOUT_FILENO;
H A Drcsutil.c1054 if ((out = dup(STDOUT_FILENO)) < 0) {
1060 STDOUT_FILENO, outname,
1074 redirect(out, STDOUT_FILENO);
1096 STDOUT_FILENO, outname,
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dkadm_conn.c160 dup2(s, STDOUT_FILENO);
161 if(s != STDIN_FILENO && s != STDOUT_FILENO)

Completed in 170 milliseconds

1234567891011