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

Clib Clear Buffer Method


The Clib Clear Buffer method writes to disk the data that exists in the buffer depending on the following value in the filePointer argument:

  • Is not null. It writes to disk any data that exists in the buffer only for the file that the filePointer argument identifies.
  • Is null. It writes to disk any data that exists in the buffer for all open files.

This method returns one of the following values:

  • If successful, then it returns the following value:

    0

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

    EOF

Format

Clib.fflush(filePointer)

The 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.

Related Topics

For more information, see Clib Get Environment Variable Method.

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