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.

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

fstat_vfs Obtains statistics about a mounted volume specified by a file identifier.<br />

#include <br />

unsigned long fstat_vfs(<br />

unsigned long fid, /* file identifier */<br />

struct statvfs *buf /* volume statistics */<br />

)<br />

Volume Types<br />

Description<br />

Arguments<br />

All volumes.<br />

fstat_vfs() functions the same as stat_vfs() except that fstat_vfs()<br />

obtains the statistics about a volume by using the file identifier instead of the<br />

pathname. The file identifier is first obtained with either an open_f() or an<br />

open_fn() call to any file in the volume.<br />

file Specifies the file identifier of the file, which can be any file within the<br />

mounted volume.<br />

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

2

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

Saved successfully!

Ooh no, something went wrong!