The Complete SPRLIB & ANNLIB

fprintf_compressed_network_small

- writes a compressed network in small I/O-format

SYNOPSIS

int fprintf_compressed_network_small (filename, net)

ARGUMENTS

char *filename A valid filename.
NET *net A pointer to a correctly constructed NET structure.

RETURNS

TRUE if an error occurred, FALSE if not.

FUNCTION

This function provides a shell around the fprintf_network_small function. It appends .Z to the filename and opens a pipe to the compress shell command to write the file in compressed form.

NOTE

The compress command must be available in the user's search path. Writing compressed files does not work under Turbo-C / MS-DOS, since this combination does not support pipes. There may be a problem with portability using too long filenames. When a network is written in compressed form, .Z is added to the filename. If this filename already contains an extension, the file will not be properly named under MS-DOS.

SEE ALSO

fprintf_network, fprintf_network_small, fprintf_compressed_network_small

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