DATASERV (kdatafmt) functions


LIBRARY ROUTINE

pnm_read - reads a pnm structure from the specified filename

LIBRARY CALL

pnm *pnm_read(
   char *filename)

INPUT

none

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

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kformats(3)

COPYRIGHT

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