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.

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

Notes<br />

See Also<br />

1. Because the total number of open files is limited for both tasks and the system<br />

as a whole, close_f() should be used whenever a file connection is no longer<br />

needed.<br />

2. If the pREPC+ library is in use, close_f(0) should be called only after the<br />

pREPC+ call fclose(0). Otherwise, files that the pREPC+ library is using can<br />

be unexpectedly closed.<br />

3. If the task has opened one or more NFS files, close_f(0) must precede any<br />

close(0) call to the pNA+ network manager by the same task.<br />

open_f, open_fn<br />

2-24 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

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

Saved successfully!

Ooh no, something went wrong!