DATASERV (kdatafmt) functions


LIBRARY ROUTINE

pnm_fdread - reads a pnm structure from the specified file descriptor

LIBRARY CALL

pnm *pnm_fdread(int fid)

INPUT

OUTPUT

none

RETURN VALUE

pnm structure on success, NULL otherwise

DESCRIPTION

Load a portable anymap (bitmap,pixmap,greymap) (pnm) structure from the pnm file.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

The structure and data should be freed using the pnm_free() routine

RESTRICTIONS

Restrictions on data or input as applicable

MODIFICATION

Converted from Khoros 1.0

FILES

$DATASERV/objects/library/kdatafmt/src/pnm.c

SEE ALSO

kdatafmt(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.