OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / strsep.3
index 6316a85..812458d 100644 (file)
 .\" Modified Mon Jan 20 12:04:18 1997 by Andries Brouwer (aeb@cwi.nl)
 .\" Modified Tue Jan 23 20:23:07 2001 by Andries Brouwer (aeb@cwi.nl)
 .\"
-.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
-.\"    all rights reserved.
-.\" Translated Tue Dec 16 10:06:16 JST 1997
-.\"    by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
-.\" Updated Tue Apr 10 11:19:58 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
-.\" Updated 2009-02-12 by Kentaro Shirakata <argrath@ub32.org>
+.\"*******************************************************************
 .\"
-.\" WORD:      delimiter       区切り文字
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH STRSEP 3  2011-09-28 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH STRSEP 3 2011\-09\-28 GNU "Linux Programmer's Manual"
 .SH 名前
-.\"O strsep \- extract token from string
 strsep \- 文字列からトークンを取り出す
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "char *strsep(char **" stringp ", const char *" delim );
+\fBchar *strsep(char **\fP\fIstringp\fP\fB, const char *\fP\fIdelim\fP\fB);\fP
 .fi
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR strsep ():
-_BSD_SOURCE
-.\"O .SH DESCRIPTION
+\fBstrsep\fP(): _BSD_SOURCE
 .SH 説明
-.\"O If \fI*stringp\fP is NULL, the
-.\"O .BR strsep ()
-.\"O function returns NULL
-.\"O and does nothing else.
-.\"O Otherwise, this function finds the first token
-.\"O in the string \fI*stringp\fP, where tokens
-.\"O are delimited by symbols in the string \fIdelim\fP.
-\fI*stringp\fP が NULL の場合、
-.BR strsep ()
-関数は何もせずに NULL を返す。
-さもなければ、文字列 \fIstringp\fP を
-\fIdelim\fP に含まれる文字で区切った
-トークンのうち最初のものを返す。
-.\"O This token is terminated by overwriting the delimiter
-.\"O with a null byte (\(aq\\0\(aq)
-.\"O and \fI*stringp\fP is updated to point past the token.
-トークンは、区切り文字を NULL バイト (\(aq\\0\(aq) で上書きすることで
-終端される。
-\fI*stringp\fP は切り出されたトークンの次の位置を示すように更新される。
-.\"O In case no delimiter was found, the token is taken to be
-.\"O the entire string \fI*stringp\fP, and \fI*stringp\fP is made NULL.
-区切り文字が見つからない場合、\fI*stringp\fP 文字列全体がトークンとして
-扱われ、\fI*stringp\fP は NULL となる。
-.\"O .SH "RETURN VALUE"
+\fI*stringp\fP が NULL の場合、 \fBstrsep\fP()  関数は何もせずに NULL を返す。 さもなければ、文字列
+\fIstringp\fP を \fIdelim\fP に含まれる文字で区切った トークンのうち最初のものを返す。 トークンは、区切り文字を NULL バイト
+(\(aq\e0\(aq) で上書きすることで 終端される。 \fI*stringp\fP は切り出されたトークンの次の位置を示すように更新される。
+区切り文字が見つからない場合、\fI*stringp\fP 文字列全体がトークンとして 扱われ、\fI*stringp\fP は NULL となる。
 .SH 返り値
-.\"O The
-.\"O .BR strsep ()
-.\"O function returns a pointer to the token,
-.\"O that is, it returns the original value of \fI*stringp\fP.
-.BR strsep ()
-関数は、トークンへのポインタを返す。
-つまり、元の \fI*stringp\fP の値を返す。
-.\"O .SH "CONFORMING TO"
+\fBstrsep\fP()  関数は、トークンへのポインタを返す。 つまり、元の \fI*stringp\fP の値を返す。
 .SH 準拠
 4.4BSD.
-.\"O .SH NOTES
 .SH 注意
-.\"O The
-.\"O .BR strsep ()
-.\"O function was introduced as a replacement for
-.\"O .BR strtok (3),
-.\"O since the latter cannot handle empty fields.
-.BR strsep ()
-関数は、
-.BR strtok (3)
-関数が空のフィールドを
-扱えないために、その代替品として導入された。
-.\"O However,
-.\"O .BR strtok (3)
-.\"O conforms to C89/C99 and hence is more portable.
-しかしながら、
-.BR strtok (3)
-関数は C89/C99 に準拠しており、より移植性がある。
-.\"O .SH BUGS
+\fBstrsep\fP()  関数は、 \fBstrtok\fP(3)  関数が空のフィールドを 扱えないために、その代替品として導入された。 しかしながら、
+\fBstrtok\fP(3)  関数は C89/C99 に準拠しており、より移植性がある。
 .SH バグ
-.\"O Be cautious when using this function.
-.\"O If you do use it, note that:
-この関数を使う時は注意すること。
-もし使うなら、以下のことに注意すること。
+この関数を使う時は注意すること。 もし使うなら、以下のことに注意すること。
 .IP * 2
-.\"O This function modifies its first argument.
 この関数は最初の引数を変更する。
 .IP *
-.\"O This function cannot be used on constant strings.
 この関数は定数文字列には使えない。
 .IP *
-.\"O The identity of the delimiting character is lost.
-区切り文字が何であったか分からなくなる。
-.\"O .SH "SEE ALSO"
+区切り文字自体は失われてしまう。
 .SH 関連項目
-.BR index (3),
-.BR memchr (3),
-.BR rindex (3),
-.BR strchr (3),
-.BR string (3),
-.BR strpbrk (3),
-.BR strspn (3),
-.BR strstr (3),
-.BR strtok (3)
+\fBindex\fP(3), \fBmemchr\fP(3), \fBrindex\fP(3), \fBstrchr\fP(3), \fBstring\fP(3),
+\fBstrpbrk\fP(3), \fBstrspn\fP(3), \fBstrstr\fP(3), \fBstrtok\fP(3)