RETRO (vutils) functions
LIBRARY ROUTINE
create_comment - create a new comment field for an image file
LIBRARY CALL
int create_comment(char *image, char *filename, char *original)
INPUT
- filename - a comment field describing where the new image
came from.
- original - the original image's comment field
OUTPUT
- image - the new image comment field
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
creates a new comment field from the original comment
field and the filename comment that it came from. The
"image" field is of size 512, which means we can fit
255 characters and 1 end of string character. The
routine fits as much of the "filename" into "image"
and if there is any left it fills it with the "original"
comment field.
This code was taken from khoros-libvrgbimage
written by Mark Young, and modified.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$RETRO/objects/library/vutils/src/cr_comment.c
SEE ALSO
vutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.