and returns the previous mask.
If the mask argument is 0, the current logmask is not modified.
.LP
-The eight priorities are LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR,
-LOG_WARNING, LOG_NOTICE, LOG_INFO and LOG_DEBUG.
-The bit corresponding to a priority \fIp\fP is LOG_MASK(\fIp\fP).
-Some systems also provide a macro LOG_UPTO(\fIp\fP) for the mask
+The eight priorities are
+.BR LOG_EMERG ,
+.BR LOG_ALERT ,
+.BR LOG_CRIT ,
+.BR LOG_ERR ,
+.BR LOG_WARNING ,
+.BR LOG_NOTICE ,
+.BR LOG_INFO ,
+and
+.BR LOG_DEBUG .
+The bit corresponding to a priority \fIp\fP is \fBLOG_MASK\fP(\fIp\fP).
+Some systems also provide a macro \fBLOG_UPTO\fP(\fIp\fP) for the mask
of all priorities in the above list up to and including \fIp\fP.
.SH "RETURN VALUE"
This function returns the previous log priority mask.