Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > C Language Library Reference > Clib File and Directory Methods > Clib Close File MethodThe Clib Close File method writes to disk the data that currently resides in the buffer for a file. It then closes this file. It returns one of the following values:
The file pointer is no longer valid after this call. FormatThe arguments for this method are the same as the arguments for the Clib Clear Error method. For more information, see Arguments for the Clib Clear Error Method. ExampleThe following example creates and writes to a text file, and then closes this file. It also tests for an error condition. If an error occurs, then it displays a message and clears the buffer: function Test_Click () For more information, see Clib Clear Buffer Method. |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |