Home
last modified time | relevance | path

Searched refs:use_stdin (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl2/grep/dist/lib/
H A Dexclude.c87 int use_stdin = filename[0] == '-' && !filename[1]; in add_exclude_file() local
98 if (use_stdin) in add_exclude_file()
117 if (!use_stdin && fclose (in) != 0) in add_exclude_file()
/netbsd-src/external/gpl2/diffutils/dist/lib/
H A Dexclude.c222 bool use_stdin = filename[0] == '-' && !filename[1]; in add_exclude_file() local
233 if (use_stdin) in add_exclude_file()
255 if (!use_stdin && fclose (in) != 0) in add_exclude_file()
/netbsd-src/usr.sbin/npf/npfctl/
H A Dnpf_scan.l52 const bool use_stdin = strcmp(name, "-") == 0; in npfctl_parse_file() local
55 fp = use_stdin ? fdopen(STDIN_FILENO, "r") : fopen(name, "r"); in npfctl_parse_file()
63 yyfilename = use_stdin ? "stdin" : name; in npfctl_parse_file()