Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > C Language Library Reference > Clib File Input and Output Methods > Clib Write to File MethodThe Clib Write to File method writes data to a file. It returns one of the following values:
Siebel eScript usage of fwrite differs from the standard C library usage. The C library writes arrays of numeric values or structures from consecutive bytes in memory. This is not necessarily true in Siebel eScript. Format AClib.fwrite(sourceVar, varDescription, filePointer) Format BClib.fwrite(sourceVar, bytelength, filePointer) ArgumentsTable 151 describes the arguments for the Clib Write to File method. Usage for the varDescription ArgumentTable 152 describes values you must set for the sourceVar argument and the varDescription argument. For example, if you use the sourceVar argument to identify a buffer, then you must set the varDescription argument to the length of that buffer, in bytes.
ExampleThe following example writes the following data into the fp file: |
Siebel eScript Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |