62 lines
3.3 KiB
HTML
62 lines
3.3 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>File Input and Output APIs</title>
|
|
<!-- 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. -->
|
|
<!-- Change History: -->
|
|
<!-- YYMMDD USERID Change description -->
|
|
<!-- 050118 JETAYLOR Created for V5R4 -->
|
|
<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>
|
|
|
|
<h2>File Input and Output APIs</h2>
|
|
|
|
|
|
<p>File input and output APIs allow you to work with the contents of files in
|
|
hierarchical file systems. The APIs work with stream files,
|
|
which are files that have varying lengths and no conventional record structure.
|
|
Stream files are also called byte-stream files, or simply files. The file input
|
|
and output APIs are:</p>
|
|
|
|
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
|
|
<!-- Updates made in this section *will* be overlaid by automated tools -->
|
|
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
|
|
<!--***************API BEGIN PASTE***************-->
|
|
<ul>
|
|
<li><A HREF="qhfchgfp.htm">Change File Pointer</A> (QHFCHGFP) allows you to change the location of the current read/write position in the file.</li>
|
|
<li><A HREF="qhfclosf.htm">Close Stream File</A> (QHFCLOSF) closes the specified stream file, releasing any locks on the file or ranges within the file.</li>
|
|
<li><A HREF="qhffrcsf.htm">Force Buffered Data</A> (QHFFRCSF) forces data from a buffer into nonvolatile storage.(<strong>Nonvolatile storage</strong>is any storage area whose contents are not lost when power is cut off or when the system is loaded.)</li>
|
|
<li><A HREF="qhfgetsz.htm">Get Stream File Size</A> (QHFGETSZ) returns the current size of a stream file's data, in bytes, as of the last write operation to the file.</li>
|
|
<li><A HREF="qhflulsf.htm">Lock and Unlock Range in Stream File</A> (QHFLULSF) allows you to lock and unlock parts of files.</li>
|
|
<li><A HREF="qhfopnsf.htm">Open Stream File</A> (QHFOPNSF) opens and optionally creates a single stream file.</li>
|
|
<li><A HREF="qhfrdsf.htm">Read from Stream File</A> (QHFRDSF) reads a specified number of bytes from a stream file opened with an access mode of read only or read/write.</li>
|
|
<li><A HREF="qhfsetsz.htm">Set Stream File Size</A> (QHFSETSZ) sets the size of a stream file in bytes.</li>
|
|
<li><A HREF="qhfwrtsf.htm">Write to Stream File</A> (QHFWRTSF) writes bytes to a stream file.</li>
|
|
</ul>
|
|
<!--***************API END PASTE***************-->
|
|
|
|
|
|
<br>
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
|
"hfs1.htm">Hierarchical File System APIs</a> | <a href="aplist.htm">APIs by
|
|
category</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|