The Complete SPRLIB & ANNLIB
fscanf_network
- load a network
SYNOPSIS
| NET *fscanf_network |
(stream) |
ARGUMENTS
FILE | *stream | A valid file pointer. |
RETURNS
A pointer to a loaded network if successful, NULL in case of an error.
FUNCTION
This function uses the functions below to read a network from file. Networks
are saved in ASCII-format; see NET-IO-format. If the file's
I/O-version number is larger than the IOFORMAT number, the library
will give a warning about recompilation being necessary. If the file's
I/O-version number is less or equal, the library will read the network.
After reading the network, the function check_all_network is called
to verify the correct reading of the file. If this function fails,
the network is deleted and NULL is returned.
SEE ALSO
fscanf_ioversion_net, fscanf_net, fscanf_layer, fscanf_unit , fscanf_weight, fscanf_network_small
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998