Siebel eScript Language Reference > C Language Library Reference > Clib File Input and Output Methods >

Clib Write String to File Method


The Write String to File method writes a string to a file that you specify. It returns one of the following values:

  • If successful, then it returns a nonnegative value.
  • If not successful, then it returns the following value:

    EOF

Format

Clib.fputs(string, filePointer)

Table 149 describes the arguments for the Write String to File method.

Table 149. Arguments for the Write String to File Method
Argument
Description

string

A string literal or a variable that contains a string.

filePointer

A file pointer that the Clib Open File method returns.

Example

For an example, see Clib Get Characters to Next Line Method.

Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.