int im_updatehist(image, argc, argv)
IMAGE *image;
int argc;
char *argv[];
The function appends to the Hist member of the IMAGE descriptor image a string with argc, argv and the time followed by a CR. The arguments argc and argv are taken directly from the main program.
If for any reason Hist is NULL, then the program makes up a history string by using the filename of the image descriptor followed by CR. This routine should be called by all main programs only, before applying im_close(3) .