ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/fstatv64.htm

95 lines
3.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>fstatvfs64()--Get File System Information by Descriptor (64-Bit
Enabled)</title>
<!-- Begin Header Records ========================================== -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- file cleaned -->
<!-- Unix2 SCRIPT J converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
<!-- This file has undergone html cleanup on 05/14/02 by JET -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!--End Header Records --><!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<a name="Top_Of_Page"></a>
<h2>fstatvfs64()--Get File System Information by Descriptor (64-Bit
Enabled)</h2>
<div class="box" style="width: 70%;">
<br>
&nbsp;&nbsp;Syntax<br>
<pre>
#include &lt;sys/statvfs.h&gt;
int fstatvfs64(int <em>fildes</em>, struct statvfs64 <em>*buf</em>);
</pre>
&nbsp;&nbsp;Service Program Name: QP0LLIB1<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Conditional; see <a href="#USAGE_NOTES">Usage Notes</a>.<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The <strong>fstatvfs64()</strong> function gets status information about the
file system that contains the file referred to by the open file descriptor <em>
fildes</em>. The information is stored in the area of memory indicated by the
<em>buf</em> argument. The status information is returned in a <samp>
statvfs64</samp> structure, as defined in the
&lt;<strong>sys/statvfs.h</strong>&gt; header file.</p>
<p>For details about parameters, authorities required, error conditions and
examples, see <a href="fstatvfs.htm">fstatvfs()--Get File System Information by
Descriptor</a>. For details about the <samp>struct statvfs64</samp> structure,
see <a href="statvf64.htm">statvfs64()--Get File System Information (64-Bit
Enabled)</a>.</p>
<br>
<h3><a name="usage_notes">Usage Notes</a></h3>
<ol type="1">
<li>When you develop in C-based languages, the prototypes for the 64-bit APIs
are normally hidden. To use the <strong>fstatvfs64()</strong> API and the
struct statvfs64 data type, you must compile the source with the
_LARGE_FILE_API defined.<br>
</li>
<li>All of the usage notes for <strong>fstatvfs()</strong> apply to <strong>
fstatvfs64()</strong>. See <a href="fstatvfs.htm#HDRFSTVUSG">Usage Notes</a> in
the <strong>fstatvfs()</strong> API.</li>
</ol>
<br>
<hr>
API introduced: V4R4
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"unix.htm">UNIX-Type APIs</a> | <a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>