From 9a6ff5bc53dedbaa601a1a76cbaf8a76afd60c9f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:06 +0200 Subject: Adding upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/setlogmask.3 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'man3/setlogmask.3') diff --git a/man3/setlogmask.3 b/man3/setlogmask.3 index 223b864..57fa9de 100644 --- a/man3/setlogmask.3 +++ b/man3/setlogmask.3 @@ -3,7 +3,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH setlogmask 3 2023-07-20 "Linux man-pages 6.05.01" +.TH setlogmask 3 2023-11-01 "Linux man-pages 6.7" .SH NAME setlogmask \- set log priority mask .SH LIBRARY @@ -12,7 +12,7 @@ Standard C library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "int setlogmask(int " mask ); .fi .SH DESCRIPTION @@ -24,13 +24,17 @@ Logging is enabled for the priorities that have the corresponding bit set in .IR mask . The initial mask is such that logging is enabled for all priorities. -.PP +.P The .BR setlogmask () function sets this logmask for the calling process, and returns the previous mask. -If the mask argument is 0, the current logmask is not modified. -.PP +If the +.I mask +argument is +.BR 0 , +the current logmask is not modified. +.P The eight priorities are .BR LOG_EMERG , .BR LOG_ALERT , @@ -70,13 +74,12 @@ T{ .BR setlogmask () T} Thread safety MT-Unsafe race:LogMask .TE -.sp 1 .SH STANDARDS POSIX.1-2008. .SH HISTORY POSIX.1-2001. .\" Note that the description in POSIX.1-2001 is flawed. -.PP +.P .BR LOG_UPTO () will be included in the next release of the POSIX specification (Issue 8). .\" FIXME . https://www.austingroupbugs.net/view.php?id=1033 -- cgit v1.2.3