setlabel(3C)setlabel(3C)NAMEsetlabel() - define label for formatting routines
SYNOPSISDESCRIPTION
The system call defines a label to be printed by formatting routines
(see pfmt(3C)) in the standard message format. label is a character
string limited to 25 characters in length.
If label is NULL or an empty string, the label is reset to no label.
No label is defined before
assumes that label has already been translated into a locale-specific
string using the current locale.
RETURN VALUE
returns zero upon successful completion or nonzero if the routine
failed.
EXAMPLES
This example, with no label defined:
generates:
Using
generates:
SEE ALSOpfmt(3C), thread_safety(5).
STANDARDS COMPLIANCEsetlabel(3C)