Query: addsev
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
addsev(3C) addsev(3C)NAMEaddsev() - define additional severities for formatting routinesSYNOPSISDESCRIPTIONThe routine allows the user to define additional severities to be used by formatting routines (see pfmt(3C)) in the standard message for- mat. sev is the severity level. It must be between 5 and 255 inclusively. sev_string is a character string to be associated for this severity level. If the severity component of the flags parameter of the formatting routines matches sev, sev_string is printed as the severity string. The routine may be called multiple times to set up a list of associations. If sev is already set, sev_string overwrites the previous string. If sev_string is NULL, the association is removed from the list. assumes that sev_string has already been translated into a locale-specific string using the current locale.RETURN VALUEIf successful, returns zero. Otherwise, it returnsEXAMPLEThis example writes the following message to standard output:SEE ALSOpfmt(3C), thread_safety(5).STANDARDS COMPLIANCEaddsev(3C)
Related Man Pages |
---|
pfmt(3c) - opensolaris |
addseverity(3c) - sunos |
fmtmsg(3) - debian |
pfmt(3c) - hpux |
lfmt(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
Unix File Permissions |
How to list file size on HPUX? |
SAN Migration question |
Sequence extraction |
Tar Command |