Lines Matching refs:lowfd
52 long lowfd;
61 lowfd = strtol(argv[1], NULL, 10);
62 if (lowfd < 3) {
63 fprintf(stderr, "%s: Invalid lowfd %d (as str: %s) \n",
70 if (read(lowfd, buf, BUFSIZE) != -1 || errno != EBADF) {
76 if (read(lowfd + 1, buf, BUFSIZE) != -1 || errno != EBADF) {
82 if (write(lowfd + 2, buf, BUFSIZE) <= 0) {
88 if (write(lowfd + 3, buf, BUFSIZE) <= 0) {
100 if (fstat(lowfd + 4, &sb1) != 0) {
105 if (write(lowfd + 4, buf, strlen(buf)) <= 0) {