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.

7PipeTM<strong>Device</strong> <strong>Descriptor</strong>s MICROWAREAvailable ValuesThe file access modes are defined in the header file, modes.h, <strong>and</strong>located in Table 7-8. The file access permission values are defined inthe header file modes.h <strong>and</strong> in Table 7-9.Table 7-8 dd_mode Available Values for File Access ModesDescription Macro EditModTruncate on open S_ITRUNC 0x0100Ensure contiguous file S_ICONTIG 0x0400Error if file exists on create S_IEXCL 0x0400Create file S_ICREAT 0x0800Append to file S_IAPPEND 0x1000Non-sharable S_ISHARE 0x4000Table 7-9 dd_mode Available Values for File Access PermissionsDescription Macro EditModMask for permission bits S_IPRM 0xffffOwner read S_IREAD 0x0001Owner write S_IWRITE 0x0002Owner execute S_IEXEC 0x0004602 <strong>OS</strong>-9 <strong>Device</strong> <strong>Descriptor</strong> <strong>and</strong> <strong>Configuration</strong> <strong>Module</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!