Searched refs:STDIN_FILENO (Results 1 - 16 of 16) sorted by relevance
/linux-master/tools/testing/selftests/filesystems/ |
H A D | devpts_pts.c | 35 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 D | bpf-fancy.c | 46 JNE(STDIN_FILENO, DENY), 98 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)-1);
|
H A D | bpf-direct.c | 132 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 D | unistd.h | 16 #define STDIN_FILENO 0 macro
|
H A D | stdio.h | 37 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
|
/linux-master/samples/uhid/ |
H A D | uhid-example.c | 306 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 D | acpidbg.c | 290 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 D | osunixxf.c | 92 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 D | nosy-dump.c | 869 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 D | tmon.c | 365 close(STDIN_FILENO);
|
/linux-master/tools/testing/selftests/arm64/pauth/ |
H A D | pac.c | 131 dup2(new_stdin[0], STDIN_FILENO);
|
/linux-master/tools/perf/bench/ |
H A D | inject-buildid.c | 303 dup2(data->input_pipe[0], STDIN_FILENO);
|
/linux-master/tools/perf/util/ |
H A D | data.c | 186 STDIN_FILENO : STDOUT_FILENO;
|
/linux-master/tools/perf/ |
H A D | builtin-mem.c | 507 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode))
|
H A D | builtin-report.c | 1555 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode))
|
H A D | builtin-stat.c | 2465 if (!fstat(STDIN_FILENO, &st) && S_ISFIFO(st.st_mode))
|
Completed in 206 milliseconds