13.07.2015 Views

OS-9 Device Descriptor and Configuration Module Reference

OS-9 Device Descriptor and Configuration Module Reference

OS-9 Device Descriptor and Configuration Module Reference

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SCF <strong>Device</strong> <strong>Descriptor</strong>sdd_modeEditMod Labels2-device descriptor data definitions5-device mode capabilitiesDD_MODE3DescriptionUsed to check the validity of a caller’s access mode byte in I_CREATEor I_OPEN system calls. If a bit is set, the device can perform thecorresponding function. The S_ISIZE bit is usually set, because it ish<strong>and</strong>led by the file manager or ignored. If the S_ISHARE bit is set, thedevice is non-sharable. A printer is an example of a non-sharabledevice.Port Generic Default ValueMacroS_ISIZE | S_IREAD | S_IWRITEEditMod0x2003Port Specific Override ValueRefer to SCF//DESC/config.des (Figure 3-3).<strong>OS</strong>-9 <strong>Device</strong> <strong>Descriptor</strong> <strong>and</strong> <strong>Configuration</strong> <strong>Module</strong> <strong>Reference</strong> 197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!