Previous: libinitr.o, Up: Special startups


6.7.4 Device startup

The device startup uses different names over the library startup (though a device is always a shared library on the Amiga).

     const BYTE DevName[]="simple.device";
     const BYTE DevIdString[]="version 1.0";
     const UWORD DevVersion=1;
     const UWORD DevRevision=0;
     int __UserDevInit(struct Device *myDev);
     void __UserDevCleanUp();
     int __UserDevOpen(struct IORequest *iorq,ULONG unit,ULONG flags);
     void __UserDevClose(struct IORequest *iorq);
     (And some begin and abort function as well)