Query: atsetcomment
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
atlog(3) AtFS Toolkit Library atlog(3)NAMEatSetComment, atUnlock - log and lock handlingSYNOPSIS#include <atfs.h> #include <atfstk.h> int atSetComment (Af_key *aso, int commentType, char *commentText, int mode); int atUnlock (Af_key *aso);DESCRIPTIONatSetComment sets a comment attribute for the attributed software object aso. Valid commentTypes are AT_COMMENT_INTENT for expressing a change intent describing planned modifications. AT_COMMENT_DESCR for issuing a descriptive text expressing the purpose of the document. AT_COMMENT_LOG for writing a change log describing the changes made. With the argument commentText, a default text may be given. According to the mode (see below), the user will be asked for entering the comment attribute value. When a default text is given, this will be offered for modification. With an commentText argument, the previous of the according comment attribute is taken as default text. With the mode field, the behavior of atSetComment can be influenced. Three flags may me set: AT_FROMSTDIN advises atSetComment to read the user input from standard input, otherwise an editor will be started. AT_REUSE causes reuse of the comment text expressed during the previous invocation of atSetComment, if there was any. AT_CONFIRM lets the user confirm, that an comment shall be expressed. Otherwise, atSetComment asks for the comment text without prior confirmation. This flag is ignored, when AT_FROMSTDIN is set and the change comment is taken from standard input. atUnlock unlocks aso by calling af_unlock (manual page af_lock(3)). If a change intent was previously set for aso, this will be eliminated.DIAGNOSTICSatSetComment and atUnlock return FALSE (zero) on error. Additionally, the atError variable is set and afErrMsg holds a diagnostic message.ENVIRONMENTEDITOR - the default editor to be called.SEE ALSOaf_lock(3) AtFStk-1.12 Fri Jun 25 16:39:38 1993 atlog(3)
Related Man Pages |
---|
atexpand(3) - debian |
atscanstatus(3) - debian |
atwritemode(3) - debian |
atlog(3) - debian |
atfstkintro(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Changing default editor |
How to edit /etc/passwd file to change the comment |