Lines Matching defs:fdes
185 static int g_init(int *devtype, int *fdes);
2660 * and write(2) it to the open fdes gotten from openout(). If proc_mode ==
7868 g_init(int *devtype, int *fdes)
7876 if (fstat(*fdes, &st_buf) == -1)
7884 if (fstatvfs(*fdes, &stfs_buf) < 0) {
7903 if (is_tape(*fdes)) {
7906 } else if (is_floppy(*fdes)) {
7920 * g_read: Read nbytes of data from fdes (of type devtype) and place
7927 g_read(int devtype, int fdes, char *buf, unsigned nbytes)
7936 rv = read(fdes, buf, nbytes);
7953 * g_write: Write nbytes of data to fdes (of type devtype) from
7960 g_write(int devtype, int fdes, char *buf, unsigned nbytes)
7969 rv = write(fdes, buf, nbytes);