Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

filebuf_close

The filebuf_close function deallocates a file buffer and closes its associated file.

Use filebuf_open first to open a file buffer, and then filebuf_getc to access the information in the file. After you have finished using the file buffer, use filebuf_close to close it.

Syntax

void filebuf_close(filebuf *buf);

Returns

void

Parameters

filebuf *buf is the file buffer previously opened with filebuf_open.

Example

filebuf_close(buf);

See Also

filebuf_open, filebuf_open_nostat, filebuf_buf2sd, filebuf_getc