1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>FS_WaitAsync</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FS_WaitAsync <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/fs.h&gt;</CODE><BR>
20  <BR>
21  <CODE>BOOL FS_WaitAsync( <A href="../fs_file_type.html">FSFile</a> *p_file );</CODE><br>
22  <br>
23  </dd>
24</dl>
25<h2>Arguments</h2>
26<TABLE border="1" width="100%">
27  <TBODY>
28    <TR>
29      <TD width="13%"><EM><STRONG>p_file</STRONG></EM></TD>
30      <TD width="87%">Address of the <code><a href="../fs_file_type.html">FSFile</a></code> structure.</TD>
31    </TR>
32  </TBODY>
33</TABLE>
34
35<h2>Return Values</h2>
36<p>If the asynchronous process is correctly completed, it returns a value of TRUE. Otherwise it returns a value of FALSE.</p>
37
38<H2>Description</H2>
39<P>
40If the specified file is currently executing an asynchronous process, this function waits for it to complete. It returns a BOOLEAN value to indicate if the last requested asynchronous process has completed correctly.<BR> If the file is already closed, or if some illegal process has been performed, it returns a value of FALSE.<BR> <BR>
41</P>
42<H2>Note</H2>
43<p><font color="#800000">This function cannot be called from the interrupt handler (IRQ mode).<br> Also note that in some cases processing may not end if interrupts are left prohibited.<br></font></p>
44<BR>
45<h2>See Also</h2>
46<p><code><A href="../fs_file_type.html">FSFile</A> <A href="FS_ReadFileAsync.html">FS_ReadFileAsync</A> <A href="FS_IsBusy.html">FS_IsBusy</A></code></p>
47
48<H2>Revision History</H2>
49<P>
502004/11/02 Corrected the function declaration.<br> 2004/09/24 Added text under Caution regarding the conditions for calling this function.<br> 2004/06/15 Revised the description of the operation.<br> 2004/05/14 Initial version.
51</P>
52<hr><p>CONFIDENTIAL</p></body>
53</html>
54