06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Notes<br />

See Also<br />

1. pREPC+ calls the pSOS+ function de_close() if the stream was associated<br />

with an I/O device.<br />

2. pREPC+ calls the pHILE+ function close_f() if the stream was associated<br />

with a disk file.<br />

3. If a task uses any of the pREPC+ functions, it must call fclose(0) to release<br />

all pREPC+ resources prior to deleting itself through a t_delete() system call.<br />

Refer to the t_delete() call description on page 1-138 for the complete exit<br />

sequence.<br />

Callable From<br />

■ Task<br />

fopen<br />

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

3

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

Saved successfully!

Ooh no, something went wrong!