Lines Matching refs:fildes
28 static int fildes;
61 SAFE_PREAD(1, fildes, read_buf[2], K1, K2);
62 l_seek(fildes, 0, SEEK_CUR, K4);
63 l_seek(fildes, 0, SEEK_SET, 0);
65 SAFE_PREAD(1, fildes, read_buf[3], K1, K3);
66 l_seek(fildes, 0, SEEK_CUR, 0);
68 SAFE_READ(1, fildes, read_buf[0], K1);
69 l_seek(fildes, 0, SEEK_CUR, K1);
71 SAFE_PREAD(1, fildes, read_buf[1], K1, K1);
72 l_seek(fildes, 0, SEEK_CUR, K1);
76 l_seek(fildes, K4, SEEK_SET, K4);
89 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
91 SAFE_PWRITE(1, fildes, write_buf[0], K1, 0);
92 SAFE_PWRITE(1, fildes, write_buf[2], K1, K2);
93 SAFE_PWRITE(1, fildes, write_buf[3], K1, K3);
94 SAFE_PWRITE(1, fildes, write_buf[1], K1, K1);
95 SAFE_LSEEK(fildes, K4, SEEK_SET);
107 if (fildes > 0)
108 SAFE_CLOSE(fildes);