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.

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

close_dir Closes an open directory file.<br />

#include <br />

unsigned long close_dir(<br />

XDIR *dir /* NFS directory handle */<br />

)<br />

Volume Types<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

See Also<br />

All volume types.<br />

close_dir() closes the connection to a directory specified by the directory handle<br />

dir.<br />

dir Points to an XDIR structure defined in .<br />

This system call returns 0 on success or an error code on failure.<br />

Hex Mnemonic Description<br />

0x2003 E_BADVOL Inconsistent data on volume.<br />

0x201A E_FIDBIG Invalid FID, exceeds maximum.<br />

0x201B E_FIDOFF Invalid FID, file closed.<br />

0x2052 E_EREMOTE Too many levels of remote in path.<br />

0x2055 E_EACCES Task does not have access<br />

permissions.<br />

open_dir<br />

2-22 <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!