Lines Matching refs:fdes
183 static int g_init(int *devtype, int *fdes);
2655 * and write(2) it to the open fdes gotten from openout(). If proc_mode ==
7860 g_init(int *devtype, int *fdes)
7868 if (fstat(*fdes, &st_buf) == -1)
7876 if (fstatvfs(*fdes, &stfs_buf) < 0) {
7895 if (is_tape(*fdes)) {
7898 } else if (is_floppy(*fdes)) {
7912 * g_read: Read nbytes of data from fdes (of type devtype) and place
7919 g_read(int devtype, int fdes, char *buf, unsigned nbytes)
7928 rv = read(fdes, buf, nbytes);
7945 * g_write: Write nbytes of data to fdes (of type devtype) from
7952 g_write(int devtype, int fdes, char *buf, unsigned nbytes)
7961 rv = write(fdes, buf, nbytes);