1 .\" Copyright 2002 walter harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\" adapted glibc info page
5 .\" polished a little, aeb
7 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
8 .\" all rights reserved.
9 .\" Translated Thu Jul 1 01:12:35 JST 2004
10 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
12 .\"WORD: severity class 重大度
14 .TH ADDSEVERITY 3 2008-06-14 "GNU" "Linux Programmer's Manual"
17 .\"O addseverity \- introduce new severity classes
18 addseverity \- 新しい重大度 (severity class) を導入する
23 .B #include <fmtmsg.h>
25 .BI "int addseverity(int " severity ", const char *" s );
29 .\"O Feature Test Macro Requirements for glibc (see
30 .\"O .BR feature_test_macros (7)):
32 .RB ( feature_test_macros (7)
40 .\"O This function allows the introduction of new severity classes
41 .\"O which can be addressed by the
46 .\"O By default that latter function only knows how to
47 .\"O print messages for severity 0-4 (with strings (none), HALT,
48 .\"O ERROR, WARNING, INFO).
49 .\"O This call attaches the given string
51 .\"O to the given value
61 関数は重大度 0-4 (文字列では (none), HALT, ERROR, WARNING, INFO) の
72 .\"O is NULL, the severity class with the numeric value
79 .\"O It is not possible to overwrite or remove one of the default
80 .\"O severity classes.
81 .\"O The severity value must be nonnegative.
82 デフォルトの重大度のどれかを上書きしたり削除したりすることはできない。
83 重大度の値は負でない数としなければならない。
84 .\"O .SH "RETURN VALUE"
86 .\"O Upon success, the value
89 .\"O Upon error, the return value is
97 .\"O Possible errors include: out of memory, attempt to remove a
98 .\"O nonexistent or default severity class.
99 起こる可能性があるエラーには、以下のものが含まれる:
101 存在しない重大度またはデフォルトの重大度を削除しようとした。
104 .\"O .BR addseverity ()
105 .\"O is provided in glibc since version 2.1.
107 はバージョン 2.1 以降の glibc で提供されている。
108 .\"O .SH "CONFORMING TO"
110 .\"O This function is not specified in the X/Open Portability Guide
114 .\"O It is available on System V
117 関数は X/Open Portability Guide に指定されているが、
119 この関数は System V システムで利用可能である。
122 .\"O New severity classes can also be added by setting the environment variable