The Complete SPRLIB & ANNLIB

fprintf_userlog

- print usage information to a log file (LOCAL)

SYNOPSIS

int fprintf_userlog ()

ARGUMENTS

None.

RETURNS

TRUE if an error occured, FALSE if not.

FUNCTION

This function prints the userid (UID), the system date and time and the machine name to a log file. This is useful in monitoring all users of the library. The function getuid, getpwuid, gethostname (except on Suns running Solaris) and the time_stamp function are used to gather information. A line is printed to the file with name USERLOGFILE (see LIBRARY-flags).

NOTE

This function is only called when SPRANNLIB is compiled with USERLOGFILE defined.

SEE ALSO

sprinit

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998