06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

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

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

pHILE+ <strong>System</strong> <strong>Calls</strong> read_f<br />

Notes<br />

See Also<br />

Hex Mnemonic Description<br />

0x207E ERPC All other RPC errors.<br />

1. On pHILE+, CD-ROM, and MS-DOS formatted volumes, read_f() operations<br />

are more efficient if bcount equals an integral multiple of the block size and the<br />

L_ptr is positioned at a block boundary.<br />

2. On pHILE+, CD-ROM, and MS-DOS formatted volumes, if the requested data<br />

includes entire blocks or a contiguous sequence of blocks and if such blocks are<br />

not already in the buffer cache, the pHILE+ file system manager reads these<br />

blocks directly into the caller's buffer (without going through the buffer cache).<br />

3. read_f() automatically positions the L_ptr for sequential read operations. If<br />

random reads are necessary, use lseek_f() to reposition the L_ptr.<br />

lseek_f, read_vol<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 2-95<br />

2

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

Saved successfully!

Ooh no, something went wrong!