Searched refs:STDIN_FILENO (Results 1 - 16 of 16) sorted by relevance

/linux-master/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c35 if (!terminal_dup2(fd, (int[]){STDIN_FILENO, STDOUT_FILENO,
151 ret = resolve_procfd_symlink(STDIN_FILENO, buf, sizeof(buf));
162 STDIN_FILENO, buf);
167 "symlink are valid: %s\n", STDIN_FILENO, buf);
284 if (!isatty(STDIN_FILENO)) {
/linux-master/samples/seccomp/
H A Dbpf-fancy.c46 JNE(STDIN_FILENO, DENY),
98 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)-1);
H A Dbpf-direct.c132 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDIN_FILENO, 4, 0),
174 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf));
/linux-master/tools/include/nolibc/
H A Dunistd.h16 #define STDIN_FILENO 0 macro
H A Dstdio.h37 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
/linux-master/samples/uhid/
H A Duhid-example.c306 ret = read(STDIN_FILENO, buf, sizeof(buf));
395 ret = tcgetattr(STDIN_FILENO, &state);
401 ret = tcsetattr(STDIN_FILENO, TCSANOW, &state);
429 pfds[0].fd = STDIN_FILENO;
/linux-master/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c290 maxfd = acpi_aml_set_fd(STDIN_FILENO, maxfd, &rfds);
293 ACPI_AML_BATCH_DO(STDIN_FILENO, read, cmd, ret);
312 if (FD_ISSET(STDIN_FILENO, &rfds))
313 ACPI_AML_DO(STDIN_FILENO, read, cmd, ret);
428 acpi_aml_set_fl(STDIN_FILENO, O_NONBLOCK);
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c92 if (!isatty(STDIN_FILENO)) {
98 if (tcgetattr(STDIN_FILENO, &original_term_attributes)) {
112 if (tcsetattr(STDIN_FILENO, TCSANOW, &local_term_attributes)) {
129 if (tcsetattr(STDIN_FILENO, TCSANOW, &original_term_attributes)) {
/linux-master/tools/firewire/
H A Dnosy-dump.c869 tcsetattr(STDIN_FILENO, TCSANOW, &saved_attributes);
878 if (!isatty(STDIN_FILENO)) {
884 tcgetattr(STDIN_FILENO, &saved_attributes);
888 tcgetattr(STDIN_FILENO, &tattr);
892 tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
970 pollfds[1].fd = STDIN_FILENO;
981 read(STDIN_FILENO, &c, sizeof c);
/linux-master/tools/thermal/tmon/
H A Dtmon.c365 close(STDIN_FILENO);
/linux-master/tools/testing/selftests/arm64/pauth/
H A Dpac.c131 dup2(new_stdin[0], STDIN_FILENO);
/linux-master/tools/perf/bench/
H A Dinject-buildid.c303 dup2(data->input_pipe[0], STDIN_FILENO);
/linux-master/tools/perf/util/
H A Ddata.c186 STDIN_FILENO : STDOUT_FILENO;
/linux-master/tools/perf/
H A Dbuiltin-mem.c507 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode))
H A Dbuiltin-report.c1555 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode))
H A Dbuiltin-stat.c2465 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode))

Completed in 206 milliseconds