Searched refs:check_fd (Results 1 - 7 of 7) sorted by last modified time

/netbsd-current/tests/lib/libcurses/director/
H A Dtestlang_parse.y899 int nfd, check_fd;
927 else if ((check_fd = open(check_file, O_RDONLY, 0)) < 0) {
936 check_fd = open(check_file, O_WRONLY | O_CREAT, 0644);
937 if (check_fd < 0) {
943 fds[0].fd = check_fd;
961 if ((result = read(check_fd, &ref, 1)) < 1) {
989 if ((result = write(check_fd, &data, 1)) < 1)
1051 result = read(check_fd, drain, sizeof(drain));
1062 close(check_fd);
/netbsd-current/usr.bin/pmap/
H A Dmain.c107 void check_fd(int);
130 check_fd(STDIN_FILENO);
131 check_fd(STDOUT_FILENO);
132 check_fd(STDERR_FILENO);
362 check_fd(int fd) function
/netbsd-current/bin/ksh/
H A Dc_ksh.c299 else if ((fd = check_fd(s, W_OK, &emsg)) < 0) {
H A Dproto.h129 int check_fd ARGS((char *, int, const char **));
H A Dio.c307 check_fd(name, mode, emsgp) function
397 * (Used by check_fd() and by c_read/c_print to deal with -p option).
H A Dexec.c1176 } else if ((u = check_fd(cp,
H A Dc_sh.c281 else if ((fd = check_fd(cp, R_OK, &emsg)) < 0) {

Completed in 196 milliseconds