.\" Copyright (C) 2007 Michael Kerrisk .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" 2007-10-23 mtk, Nearly a complete rewrite of the earlier page. .\" .\" Japanese Version Copyright (c) 2008 Akihiro MOTOKI .\" all rights reserved. .\" Translated 2008-02-10, Akihiro MOTOKI .\" .TH INTRO 3 2010-11-11 "Linux" "Linux Programmer's Manual" .\"O .SH NAME .\"O intro \- Introduction to library functions .SH 名前 intro \- ライブラリ関数の紹介 .\"O .SH DESCRIPTION .SH 説明 .\"O Section 3 of the manual describes all library functions excluding the library .\"O functions (system call wrappers) described in section 2, .\"O which implement system calls. マニュアルの 3 章では、システムコールを実装した 2 章で説明された ライブラリ関数 (システムコールのラッパー) を除いた 全てのライブラリ関数について説明している。 .\"O Many of the functions described in the section are part of the .\"O Standard C Library .\"O .RI ( libc ). .\"O Some functions are part of other libraries (e.g., .\"O the math library, .\"O .IR libm , .\"O or the real-time library, .\"O .IR librt ) .\"O in which case the manual page will indicate the linker .\"O option needed to link against the required library .\"O (e.g., .\"O .I \-lm .\"O and .\"O .IR \-lrt , .\"O respectively, .\"O for the aforementioned libraries). この章で説明している関数の多くは標準 C ライブラリ .RI ( libc ) のものである。 また、いくつかの関数は、他のライブラリ (例えば、数学ライブラリの .I libm やリアルタイムライブラリ .I librt ) のものである。後者の場合は、マニュアルページに、 必要なライブラリとリンクするために必要なリンカオプションが 示されている (例えば、前述のライブラリの場合はそれぞれ .I \-lm や .I \-lrt である)。 .\"O In some cases, .\"O the programmer must define a feature test macro in order to obtain .\"O the declaration of a function from the header file specified .\"O in the man page SYNOPSIS section. .\"O (Where required, these feature test macros must be defined before including .\"O .I any .\"O header files.) .\"O In such cases, the required macro is described in the man page. .\"O For further information on feature test macros, see .\"O .BR feature_test_macros (7). マニュアルページの「書式」の節に規定されたヘッダファイルから関数の定義を 得るために、プログラマが機能検査マクロを定義しなければならない場合がある。 このような場合には、必要なマクロがマニュアルページで説明されている。 (機能検査マクロの定義が必要な場合、これらの機能検査マクロの定義は 「どの」ヘッダファイルのインクルードよりも前で行われなければならない)。 機能検査マクロのさらなる情報については、 .BR feature_test_macros (7) を参照のこと。 .\" .\"O .\" There .\"O .\" are various function groups which can be identified by a letter which .\"O .\" is appended to the chapter number: .\" 章番号に付け加えられている文字によって識別できる様々な関数のグループがある: .\" .IP (3C) .\"O .\" These functions, the functions from chapter 2 and from chapter 3S are .\"O .\" contained in the C standard library libc, which will be used by .\"O .\" .BR cc (1) .\"O .\" by default. .\" これら2章と3S章からの関数は標準Cライブラリ libc 中に含まれるものであり、 .\" デフォルトで .\" .BR cc (1) .\" によって使用されるであろう。 .\" .IP (3S) .\"O .\" These functions are parts of the .\"O .\" .BR stdio (3) .\"O .\" library. They are contained in the standard C library libc. .\" これらの関数は .\" .BR stdio (3) .\" ライブラリの一部である。標準Cライブラリ libc に含まれる。 .\" .IP (3M) .\"O .\" These functions are contained in the arithmetic library libm. They are .\"O .\" used by the .\"O .\" .BR f77 (1) .\"O .\" FORTRAN compiler by default, but not by the .\"O .\" .BR cc (1) .\"O .\" C compiler, which needs the option \fI\-lm\fP. .\" これらの関数は数学関数ライブラリ libm に含まれる。これらは .\" デフォルトで .\" .BR f77 (1) .\" フォートランコンパイラによって使用される、しかし .\" .BR cc (1) .\" Cコンパイラで使用するときは、\fI\-lm\fP オプションが必要となる。 .\" .IP (3F) .\"O .\" These functions are part of the FORTRAN library libF77. There are no .\"O .\" special compiler flags needed to use these functions. .\" これらの関数はフォートランライブラリ libF77 の一部である。 .\" これらの関数を使用するために特別なコンパイラフラグは必要ない。 .\" .IP (3X) .\"O .\" Various special libraries. The manual pages documenting their functions .\"O .\" specify the library names. .\" 様々な特別なライブラリである。これらの関数を文書化したマニュアルページは .\" ライブラリ名を指定する。 .\"O .SH "CONFORMING TO" .SH 準拠 .\"O Certain terms and abbreviations are used to indicate UNIX variants .\"O and standards to which calls in this section conform. .\"O See .\"O .BR standards (7). この章の関数が準拠する UNIX システムや標準を示すのにいくつかの単語や略号が 使用されている。 .BR standards (7) を参照のこと。 .\"O .SH NOTES .SH 備考 .\"O .SS Authors and Copyright Conditions .SS 著者と著作権 .\"O Look at the header of the manual page source for the author(s) and copyright .\"O conditions. .\"O Note that these can be different from page to page! 著者と著作権の状態はマニュアルページのヘッダを見ること。 これらはページ毎に異なる可能性があることに注意。 .\"O .SH "SEE ALSO" .SH 関連項目 .BR intro (2), .BR errno (3), .BR capabilities (7), .BR credentials (7), .BR feature_test_macros (7), .BR libc (7), .BR math_error (7), .BR environ (7), .BR path_resolution (7), .BR pthreads (7), .BR signal (7), .BR standards (7)