lvcomment(3)

LIBRARY ROUTINE
lvcomment - changes the comment field on an VIFF/XVPFF file via keyboard entry.

LIBRARY CALL
#include "vinclude.h"
int
lvcomment(desc)
char    *desc;

INPUT

    *desc - header comment field

OUTPUT

    the comment field of the Khoros File

MODIFICATIONS
Ghosted by Pascal Adam , Mon Jun 18, 1990

DESCRIPTION
lvcomment is used to edit/change the comment field in an VIFF/XVPFF file The input file's comment, if one exists, is copied into a temporary file and then the user is allowed to edit the comment field using vi (a visual text editor). lvcomment can fail if the program cannot create the temporary comment file or if it can't read the temporary file back into lvcomment. The new comment is then copied into the desc character array and then returned to the calling routine.

SEE ALSO
vcomment(1), intro(3), vipl(3), verror(3), vutils(3)

RESTRICTIONS
The system is expected to support vi as the default text editor.

AUTHOR
Ron E. Neher

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.