Lines Matching defs:stat
422 int stat, fd = p ? p->fd_in : STDIN_FILENO;
425 stat = fcntl(fd, F_GETFL, 0);
426 if (stat > 0) {
427 stat |= O_NONBLOCK;
428 fcntl(fd, F_SETFL, stat);
456 int stat;
464 stat = fcntl(p->fd_in, F_GETFL, 0);
465 if (stat > 0) {
466 stat |= O_NONBLOCK;
467 fcntl(p->fd_in, F_SETFL, stat);
479 int stat;
484 stat = fcntl(p->fd_in, F_GETFL, 0);
485 if (stat > 0) {
486 stat &= ~O_NONBLOCK;
487 fcntl(p->fd_in, F_SETFL, stat);
495 int stat;
497 stat = fcntl(p->fd_in, F_GETFL, 0);
498 if (stat > 0) {
499 stat &= ~O_NONBLOCK;
500 fcntl(p->fd_in, F_SETFL, stat);