summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man3/setlogmask.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
commit2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch)
tree65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/debian-unstable/man3/setlogmask.3
parentReleasing progress-linux version 4.22.0-1~progress7.99u1. (diff)
downloadmanpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz
manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man3/setlogmask.3')
-rw-r--r--upstream/debian-unstable/man3/setlogmask.317
1 files changed, 10 insertions, 7 deletions
diff --git a/upstream/debian-unstable/man3/setlogmask.3 b/upstream/debian-unstable/man3/setlogmask.3
index 223b8646..0a1ba9c2 100644
--- a/upstream/debian-unstable/man3/setlogmask.3
+++ b/upstream/debian-unstable/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 2024-05-02 "Linux man-pages 6.8"
.SH NAME
setlogmask \- set log priority mask
.SH LIBRARY
@@ -12,7 +12,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <syslog.h>
-.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