OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / ether_aton.3
index 2964f13..21cc37d 100644 (file)
 .\"
 .\" Minor additions, aeb, 2002-07-20
 .\"
-.\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI
-.\"         all rights reserved.
-.\" Translated Thu Aug 22 2002 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
 .\"
-.TH ETHER_ATON 3  2002-07-20 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH ETHER_ATON 3 2002\-07\-20 GNU "Linux Programmer's Manual"
 .SH 名前
-.\"O ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line,
-.\"O ether_ntoa_r, ether_aton_r \- Ethernet address manipulation routines
 ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line,
 ether_ntoa_r, ether_aton_r \- Ethernet アドレスの操作用関数
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.B #include <netinet/ether.h>
+\fB#include <netinet/ether.h>\fP
 .sp
-.BI "char *ether_ntoa(const struct ether_addr *" addr );
+\fBchar *ether_ntoa(const struct ether_addr *\fP\fIaddr\fP\fB);\fP
 .sp
-.BI "struct ether_addr *ether_aton(const char *" asc );
+\fBstruct ether_addr *ether_aton(const char *\fP\fIasc\fP\fB);\fP
 .sp
-.BI "int ether_ntohost(char *" hostname ", const struct ether_addr *" addr );
+\fBint ether_ntohost(char *\fP\fIhostname\fP\fB, const struct ether_addr *\fP\fIaddr\fP\fB);\fP
 .sp
-.BI "int ether_hostton(const char *" hostname ", struct ether_addr *" addr );
+\fBint ether_hostton(const char *\fP\fIhostname\fP\fB, struct ether_addr *\fP\fIaddr\fP\fB);\fP
 .sp
-.BI "int ether_line(const char *" line ", struct ether_addr *" addr ,
-.BI "               char *" hostname );
+\fBint ether_line(const char *\fP\fIline\fP\fB, struct ether_addr *\fP\fIaddr\fP\fB,\fP
+\fB               char *\fP\fIhostname\fP\fB);\fP
 .sp
-.\"O /* GNU extensions */
 /* GNU 拡張 */
 .br
-.BI "char *ether_ntoa_r(const struct ether_addr *" addr ", char *" buf );
+\fBchar *ether_ntoa_r(const struct ether_addr *\fP\fIaddr\fP\fB, char *\fP\fIbuf\fP\fB);\fP
 .sp
-.BI "struct ether_addr *ether_aton_r(const char *" asc ,
-.BI "                                struct ether_addr *" addr );
+\fBstruct ether_addr *ether_aton_r(const char *\fP\fIasc\fP\fB,\fP
+\fB                                struct ether_addr *\fP\fIaddr\fP\fB);\fP
 .fi
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O .BR ether_aton ()
-.\"O converts the 48-bit Ethernet host address \fIasc\fP
-.\"O from the standard hex-digits-and-colons notation into binary data in
-.\"O network byte order and returns a pointer to it in a statically
-.\"O allocated buffer, which subsequent calls will
-.\"O overwrite.
-.\"O .BR ether_aton ()
-.\"O returns NULL if the address is invalid.
-関数
-.BR ether_aton ()
-は、標準的な 16進数とコロンの形式で書かれた 48ビットの
-Ethernet ホストアドレス \fIasc\fP を、ネットワークでのバイト順 (byte order)
-のバイナリデータに変換し、静的に割り当てられたバッファに格納されたデータ
-へのポインタを返す。このバッファは、これ以降の関数呼び出しで上書きされる。
-アドレスが不正な場合、
-.BR ether_aton ()
-は NULL を返す。
+関数 \fBether_aton\fP()  は、標準的な 16進数とコロンの形式で書かれた 48ビットの Ethernet ホストアドレス \fIasc\fP
+を、ネットワークでのバイト順 (byte order)  のバイナリデータに変換し、静的に割り当てられたバッファに格納されたデータ
+へのポインタを返す。このバッファは、これ以降の関数呼び出しで上書きされる。 アドレスが不正な場合、 \fBether_aton\fP()  は NULL
+を返す。
 .PP
-.\"O The
-.\"O .BR ether_ntoa ()
-.\"O function converts the Ethernet host address
-.\"O \fIaddr\fP given in network byte order to a string in standard
-.\"O hex-digits-and-colons notation, omitting leading zeros.
-.\"O The string is returned in a statically allocated buffer,
-.\"O which subsequent calls will overwrite.
-関数
-.BR ether_ntoa ()
-は、ネットワークのバイト順で表された Ethernet
-ホストアドレス \fIaddr\fP を、標準的な 16進数とコロンの形式の文字列に変換する。
-但し、先頭の 0 は省略される。変換後の文字列は静的に割り当てられたバッファ
+関数 \fBether_ntoa\fP()  は、ネットワークのバイト順で表された Ethernet ホストアドレス \fIaddr\fP を、標準的な
+16進数とコロンの形式の文字列に変換する。 但し、先頭の 0 は省略される。変換後の文字列は静的に割り当てられたバッファ
 に格納されて返される。このバッファは、これ以降の関数呼び出しで上書きされる。
 .PP
-.\"O The
-.\"O .BR ether_ntohost ()
-.\"O function maps an Ethernet address to the
-.\"O corresponding hostname in
-.\"O .I /etc/ethers
-.\"O and returns nonzero if it cannot be found.
-関数
-.BR ether_ntohost ()
-は、Ethernet アドレスに対応するホスト名を
-.I /etc/ethers
-を検索して割り当てる。対応するホスト名が見つからなかった場合は、
-非 0 を返す。
+関数 \fBether_ntohost\fP()  は、Ethernet アドレスに対応するホスト名を \fI/etc/ethers\fP
+を検索して割り当てる。対応するホスト名が見つからなかった場合は、 非 0 を返す。
 .PP
-.\"O The
-.\"O .BR ether_hostton ()
-.\"O function maps a hostname to the
-.\"O corresponding Ethernet address in
-.\"O .I /etc/ethers
-.\"O and returns nonzero if it cannot be found.
-関数
-.BR ether_hostton ()
-は、ホスト名に対応する Ethernet アドレスを
-.I /etc/ethers
-を検索して割り当てる。対応するホスト名が見つからなかった場合は、
-非 0 を返す。
+関数 \fBether_hostton\fP()  は、ホスト名に対応する Ethernet アドレスを \fI/etc/ethers\fP
+を検索して割り当てる。対応するホスト名が見つからなかった場合は、 非 0 を返す。
 .PP
-.\"O The
-.\"O .BR ether_line ()
-.\"O function parses a line in
-.\"O .I /etc/ethers
-.\"O format (ethernet address followed by whitespace followed by
-.\"O hostname; \(aq#\(aq introduces a comment) and returns an address
-.\"O and hostname pair, or nonzero if it cannot be parsed.
-.\"O The buffer pointed to by
-.\"O .I hostname
-.\"O must be sufficiently long, for example, have the same length as
-.\"O .IR line .
-関数
-.BR ether_line ()
-は、
-.I /etc/ethers
-形式になった行を解析し、
-アドレスとホスト名の組を返す
-.RI ( /etc/ethers
-形式は、Ethernet アドレス、ホスト名が空白文字 (whitespace)
-で区切られた書式で、\(aq#\(aq 以降はコメントとみなされる)。
-解析できなかった場合は、非 0 を返す。
-.I hostname
-で指定されたバッファは十分な長さが必要である。つまり、
-.I line
-と同じ長さでなければならない。
+関数 \fBether_line\fP()  は、 \fI/etc/ethers\fP 形式になった行を解析し、 アドレスとホスト名の組を返す
+(\fI/etc/ethers\fP 形式は、Ethernet アドレス、ホスト名が空白文字 (whitespace)
+で区切られた書式で、\(aq#\(aq 以降はコメントとみなされる)。 解析できなかった場合は、非 0 を返す。 \fIhostname\fP
+で指定されたバッファは十分な長さが必要である。つまり、 \fIline\fP と同じ長さでなければならない。
 .PP
-.\"O The functions
-.\"O .BR ether_ntoa_r ()
-.\"O and
-.\"O .BR ether_aton_r ()
-.\"O are reentrant
-.\"O thread-safe versions of \fBether_ntoa\fP() and
-.\"O .BR ether_aton ()
-.\"O respectively, and do not use static buffers.
-関数
-.BR ether_ntoa_r ()
-と
-.BR ether_aton_r ()
-は、
-それぞれ
-.BR ether_ntoa ()
-と
-.BR ether_aton ()
-の
-リエントラントでスレッドセーフなバージョンであり、
-静的なバッファを使用しない。
+関数 \fBether_ntoa_r\fP()  と \fBether_aton_r\fP()  は、 それぞれ \fBether_ntoa\fP()  と
+\fBether_aton\fP()  の リエントラントでスレッドセーフなバージョンであり、 静的なバッファを使用しない。
 .PP
-.\"O The structure \fIether_addr\fP is defined in
-.\"O .I <net/ethernet.h>
-.\"O as:
-\fIether_addr\fP 構造体は
-.I <net/ethernet.h>
-で次のように定義されている:
+\fIether_addr\fP 構造体は \fI<net/ethernet.h>\fP で次のように定義されている:
 .sp
 .in +4n
 .nf
@@ -184,17 +92,9 @@ struct ether_addr {
 }
 .fi
 .in
-.\"O .SH "CONFORMING TO"
 .SH 準拠
 4.3BSD, SunOS.
-.\"O .SH BUGS
 .SH バグ
-.\"O The glibc 2.2.5 implementation of
-.\"O .BR ether_line ()
-.\"O is broken.
-glibc 2.2.5 での
-.BR ether_line ()
-の実装はおかしい。
-.\"O .SH "SEE ALSO"
+glibc 2.2.5 での \fBether_line\fP()  の実装はおかしい。
 .SH 関連項目
-.BR ethers (5)
+\fBethers\fP(5)