Download Writing Device Drivers
Transcript
dev_t makedevice(major_t majnum, minor_t minnum); makedevice(9F) constructs and returns a device number of type dev_t from the major device number majnum and the minor device number minnum. int max(int int1, int int2); max(9F) returns the larger of the integers int1 and int2. int min(int int1, int int2); min(9F) returns the lesser of the integers int1 and int2. int nodev(); nodev(9F) returns an error. Use nodev(9F) as the entry in the cb_ops(9S) structure for any entry point for which the driver must always fail. int nulldev(); nulldev(9F) always returns zero, a return which for many entry points implies success. See the manual pages in Section 9 of the Solaris 7 Reference Manual Collection to learn about entry point return semantics. Summary of Solaris 7 DDI/DKI Services 427
Related documents
C - Oracle Documentation
C - Oracle Documentation
UM1112 User manual - FTP Directory Listing
Multiprise 3000 Technical Introduction
Central Lubrication Pumps Helios Junior
Porting NetBSD/evbarm to the Arcom Viper
Samsung SP-C700R Product specifications
SAFYR4W
Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Specifications
Deni 5226 Specifications
MPC185UM: MPC185 Security Co
Vista 120 (Manuale Utente) - Elektra2000 Installazioni