The util_get_int_from_file function is used to get a single line from a specified file and return it in the form of an integer. This function enables you to store single numbers in a file.
#include <libproxy/cutil.h> int util_get_int_from_file(char *filename);
An integer from the file.
-1 if no value was obtained from the file.
char *filename is the name of the file to be read.