X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=release%2Fman3%2Fre_comp.3;h=4bfbef584d14c9312f18d4202f419ef119c013e3;hb=bb92023e2caf6dc30bd3a8f07877ec870c853e23;hp=3879750371f03f630500210cab95660934cfa9b8;hpb=ce024239a1d8e74a7a44f7c24cee4375cb13b3ef;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/re_comp.3 b/release/man3/re_comp.3 index 38797503..4bfbef58 100644 --- a/release/man3/re_comp.3 +++ b/release/man3/re_comp.3 @@ -1,10 +1,6 @@ .\" Copyright (C), 1995, Graeme W. Wilford. (Wilf.) .\" -.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka -.\" all rights reserved. -.\" Translated Thu Dec 18 15:06:31 JST 1997 -.\" by HIROFUMI Nishizuka -.\" +.\" %%%LICENSE_START(VERBATIM) .\" 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. @@ -24,58 +20,47 @@ .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. +.\" %%%LICENSE_END .\" .\" Wed Jun 14 16:10:28 BST 1995 Wilf. (G.Wilford@@ee.surrey.ac.uk) .\" -.TH RE_COMP 3 1995-07-14 "GNU" "Linux Programmer's Manual" +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH RE_COMP 3 1995\-07\-14 GNU "Linux Programmer's Manual" .SH 名前 re_comp, re_exec \- BSD の正規表現関数 .SH 書式 -.B #define _REGEX_RE_COMP +\fB#define _REGEX_RE_COMP\fP .br -.B #include +\fB#include \fP .br -.B #include +\fB#include \fP .sp -.BI "char *re_comp(char *" regex ); +\fBchar *re_comp(char *\fP\fIregex\fP\fB);\fP .sp -.BI "int re_exec(char *" string ); +\fBint re_exec(char *\fP\fIstring\fP\fB);\fP .SH 説明 -.BR re_comp () -は、 -.I regex -で示される NULL で終端された正規表現をコンパイルするために使用される。 -コンパイルされたパターンは静的な領域を使用しており、そのパターンバッファ -は以降の -.BR re_comp () -の使用によって上書きされる。 -もし -.I regex -が NULL ならば何の操作も行われず、パターンバッファの内容は -置き換えられない。 +\fBre_comp\fP() は、 \fIregex\fP で示される NULL で終端された正規表現をコンパイルするために使用される。 +コンパイルされたパターンは静的な領域を使用しており、そのパターンバッファ は以降の \fBre_comp\fP() の使用によって上書きされる。 もし +\fIregex\fP が NULL ならば何の操作も行われず、パターンバッファの内容は 置き換えられない。 -.BR re_exec () -は、 -.I string -が指す NULL で終端された文字列が前回コンパイルされた -.I regex +\fBre_exec\fP() は、 \fIstring\fP が指す NULL で終端された文字列が前回コンパイルされた \fIregex\fP にマッチするかどうかを評価するために使用される。 .SH 返り値 -.BR re_comp () -は、 -.I regex -のコンパイルに成功した場合 NULL を返し、 +\fBre_comp\fP() は、 \fIregex\fP のコンパイルに成功した場合 NULL を返し、 それ以外の場合は適切なエラーメッセージへのポインタを返す。 -.BR re_exec () -は、一致した場合 1 を、失敗した場合 0 を返す。 +\fBre_exec\fP() は、一致した場合 1 を、失敗した場合 0 を返す。 .SH 準拠 4.3BSD. .SH 注意 -これらの関数は廃止予定である。代わりに -.BR regcomp (3) -に書かれている関数を使用すべきである。 +これらの関数は廃止予定である。代わりに \fBregcomp\fP(3) に書かれている関数を使用すべきである。 .SH 関連項目 -.BR regcomp (3), -.BR regex (7), -GNU regex manual +\fBregcomp\fP(3), \fBregex\fP(7), GNU regex manual +.SH この文書について +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部 +である。プロジェクトの説明とバグ報告に関する情報は +http://www.kernel.org/doc/man\-pages/ に書かれている。