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.

pREPC+ <strong>System</strong> <strong>Calls</strong> setvbuf<br />

Return Value<br />

Error Codes<br />

Notes<br />

See Also<br />

This function returns a 0 if it succeeds and a negative number if it fails.<br />

Refer to Appendix B.<br />

Callable From<br />

■ Task<br />

setbuf<br />

If a stream is fully buffered, it is flushed only when it is full. If it is<br />

line buffered, the buffer is flushed either when it is full or a when a<br />

new-line character is detected. _IO_NBF eliminates buffering; it is<br />

functionally equivalent to defining size equal to 0 and buf equal to<br />

NULL.<br />

size Specifies the size of the buffer. size overrides the default buffer size<br />

defined in the pREPC+ Configuration Table.<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 3-137<br />

3

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

Saved successfully!

Ooh no, something went wrong!