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

77 lines
2.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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>readdir_r_ts64()--Read Directory Entry</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 -->
<!-- Created for V5R1-->
<!-- This file has undergone html cleanup June 2002 by JET -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!--Java sync-link-->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>readdir_r_ts64()--Read Directory Entry</h2>
<div class="box" style="width: 65%;">
<br>
&nbsp;&nbsp;Syntax<br>
<pre>
#include &lt;sys/types.h&gt;
#include &lt;dirent.h&gt;
int readdir_r_ts64(DIR <em>* __ptr64 dirp</em>,
struct dirent <em>* __ptr64 entry</em>,
struct dirent <em>* __ptr64 * __ptr64 result</em>);
</pre>
&nbsp;&nbsp;Service Program Name: QP0LLIBTS<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Conditional; see Usage Notes for <a href="readdirr.htm">readdir_r()</a>.<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The <strong>readdir_r_ts64()</strong> function initializes the <samp>
dirent</samp> structure that is referenced by <em>entry</em> to represent the
next directory entry in the directory stream that is associated with <em>
dirp</em>. <strong>readdir_r_ts64()</strong> differs from <strong>
readdir_r()</strong> in that it accepts 8-byte process local pointers.</p>
<p>For a discussion of the parameters, authorities required, return values,
related information, usage notes, and an example for the <strong>
readdir_r()</strong> API, see <a href="readdirr.htm">readdir_r()--Read
Directory Entry</a>.</p>
<hr>
API introduced: V5R1
<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>