Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

util_get_string_from_file

The util_get_string_from_file function is used to get a single line from a specified file and return it in the form of a word. This function enables you to store single words in a file.

Syntax

#include <libproxy/cutil.h>
char *util_get_string_from_file(char *filename, char *buf, int maxsize);

Returns

Parameters

char *file is the name of the file to be read.

char *buf is the string to use as the file buffer.

int maxsize is the maximum size for the file buffer.

See Also

util_get_int_from_file, util_get_long_from_file, util_put_int_to_file, util_put_long_to_file, util_put_string_to_file