home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
disk
/
Misc
/
dd
/
dev.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-30
|
770b
|
20 lines
/*
* dev.h - device manipulation function prototypes
*
* Bruno Costa - 30 Nov 91 - 1 Dec 91
*/
int devblocksize (void);
int devsectorsize (void);
void Motor (struct IOExtTD *disk, int onoff);
int secread (struct IOExtTD *disk, long int offset);
int secwrite (struct IOExtTD *disk, long int offset);
int devread (struct IOExtTD *diskreq, BPTR f, long int skip, long int count);
int devwrite (BPTR f, struct IOExtTD *diskreq, long int skip, long int count);
void devinfo (char *dosname, char *execname,
struct FileSysStartupMsg *fss, struct DosEnvec *de,
struct Device *dev, struct DriveGeometry *geo);
struct IOExtTD *opendev (char *devname, int justinfo);
void closedev (char *devname, struct IOExtTD *diskreq);
int deverror (long err);