diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-04-26 15:06:49 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-05-02 01:24:19 +0200 |
| commit | dcde2f70372b49ec43efc5db864c9ff585d0a2dd (patch) | |
| tree | 78b9b7425130e4a5858e4c01a524d802423879ed /man3/addseverity.3 | |
| parent | 12aca537ce78a41bbcdaf485209691e10f8002d7 (diff) | |
| download | man-pages-dcde2f70372b49ec43efc5db864c9ff585d0a2dd.tar.gz | |
man/, share/mk/: Move man*/ to man/
This is a scripted change:
$ mkdir man/;
$ mv man* man/;
$ ln -st . man/man*;
$ find share/mk/ -type f \
| xargs grep -l '^MANDIR *:=' \
| xargs sed -i '/^MANDIR *:=/s,$,/man,';
$ find share/mk/dist/ -type f \
| xargs grep -l man \
| xargs sed -i 's,man%,man/%,g';
Link: <https://lore.kernel.org/linux-man/YxcV4h+Xn7cd6+q2@pevik/T/>
Cc: Petr Vorel <pvorel@suse.cz>
Cc: Jakub Wilk <jwilk@jwilk.net>
Cc: Stefan Puiu <stefan.puiu@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3/addseverity.3')
| -rw-r--r-- | man3/addseverity.3 | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/man3/addseverity.3 b/man3/addseverity.3 deleted file mode 100644 index 0244613c53..0000000000 --- a/man3/addseverity.3 +++ /dev/null @@ -1,87 +0,0 @@ -'\" t -.\" Copyright 2002 walter harms (walter.harms@informatik.uni-oldenburg.de) -.\" -.\" SPDX-License-Identifier: GPL-1.0-or-later -.\" adapted glibc info page -.\" -.\" polished a little, aeb -.TH addseverity 3 (date) "Linux man-pages (unreleased)" -.SH NAME -addseverity \- introduce new severity classes -.SH LIBRARY -Standard C library -.RI ( libc ", " \-lc ) -.SH SYNOPSIS -.nf -.P -.B #include <fmtmsg.h> -.P -.BI "int addseverity(int " severity ", const char *" s ); -.fi -.P -.RS -4 -Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): -.RE -.P -.BR addseverity (): -.nf - Since glibc 2.19: - _DEFAULT_SOURCE - glibc 2.19 and earlier: - _SVID_SOURCE -.fi -.SH DESCRIPTION -This function allows the introduction of new severity classes -which can be addressed by the -.I severity -argument of the -.BR fmtmsg (3) -function. -By default, that function knows only how to -print messages for severity 0-4 (with strings (none), HALT, -ERROR, WARNING, INFO). -This call attaches the given string -.I s -to the given value -.IR severity . -If -.I s -is NULL, the severity class with the numeric value -.I severity -is removed. -It is not possible to overwrite or remove one of the default -severity classes. -The severity value must be nonnegative. -.SH RETURN VALUE -Upon success, the value -.B MM_OK -is returned. -Upon error, the return value is -.BR MM_NOTOK . -Possible errors include: out of memory, attempt to remove a -nonexistent or default severity class. -.SH ATTRIBUTES -For an explanation of the terms used in this section, see -.BR attributes (7). -.TS -allbox; -lbx lb lb -l l l. -Interface Attribute Value -T{ -.na -.nh -.BR addseverity () -T} Thread safety MT-Safe -.TE -.SH STANDARDS -GNU. -.SH HISTORY -glibc 2.1. -System V. -.SH NOTES -New severity classes can also be added by setting the environment variable -.BR SEV_LEVEL . -.SH SEE ALSO -.BR fmtmsg (3) |
