OSDN Git Service

(split) LDP: Restore and add Copyrights for draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / sockatmark.3
index 24e1667..850c2d1 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2006, Michael Kerrisk (mtk.manpages@gmail.com)
 .\"
+.\" %%%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.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
+.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 2006 Yuichi SATO
 .\"         all rights reserved.
 .\" Translated 2006-08-01 by Yuichi SATO <ysato444@yahoo.co.jp>, LDP v2.36
 .\"
-.TH SOCKATMARK 3 2008-12-03 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.TH SOCKATMARK 3 2008\-12\-03 Linux "Linux Programmer's Manual"
 .SH 名前
-.\"O sockatmark \- determine whether socket is at out-of-band mark
-sockatmark \- どのソケットに帯域外 (out-of-band) マークが付けられているかを調べる
-.\"O .SH SYNOPSIS
+sockatmark \- どのソケットに帯域外 (out\-of\-band) マークが付けられているかを調べる
 .SH 書式
-.B #include <sys/socket.h>
+\fB#include <sys/socket.h>\fP
 .sp
-.BI "int sockatmark(int " sockfd );
+\fBint sockatmark(int \fP\fIsockfd\fP\fB);\fP
 .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
 .ad l
-.BR sockatmark ():
-_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600
+\fBsockatmark\fP(): _POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600
 .ad b
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O .BR sockatmark ()
-.\"O returns a value indicating whether or not the socket referred
-.\"O to by the file descriptor
-.\"O .I sockfd
-.\"O is at the out-of-band mark.
-.BR sockatmark ()
-はファイルディスクリプタ
-.I sockfd
-で参照されるソケットに帯域外マークが付けられているか否かを返す。
-.\"O If the socket is at the mark, then 1 is returned;
-.\"O if the socket is not at the mark, 0 is returned.
-.\"O This function does not remove the out-of-band mark.
-ソケットにマークが付けられている場合は、1 が返される。
-ソケットにマークが付けられていない場合は、0 が返される。
+\fBsockatmark\fP()  はファイルディスクリプタ \fIsockfd\fP で参照されるソケットに帯域外マークが付けられているか否かを返す。
+ソケットにマークが付けられている場合は、1 が返される。 ソケットにマークが付けられていない場合は、0 が返される。
 この関数は帯域外マークを削除しない。
-.\"O .SH "RETURN VALUE"
 .SH 返り値
-.\"O A successful call to
-.\"O .BR sockatmark ()
-.\"O returns 1 if the socket is at the out-of-band mark, or 0 if it is not.
-.\"O On error, \-1 is returned and \fIerrno\fP is set to indicate the error.
-.BR sockatmark ()
-の呼び出しが成功した場合、ソケットに帯域外マークが
-付けられていれば 1 を返し、付けられていなければ 0 を返す。
+\fBsockatmark\fP()  の呼び出しが成功した場合、ソケットに帯域外マークが 付けられていれば 1 を返し、付けられていなければ 0 を返す。
 エラーの場合は \-1 が返され、エラーを表す \fIerrno\fP が設定される。
-.\"O .SH ERRORS
 .SH エラー
-.TP
-.B EBADF
-.\"O .I sockfd
-.\"O is not a valid file descriptor.
-.I sockfd
-が有効なファイルディスクリプタでない。
-.TP
-.B EINVAL
+.TP 
+\fBEBADF\fP
+\fIsockfd\fP が有効なファイルディスクリプタでない。
+.TP 
+\fBEINVAL\fP
 .\" POSIX.1 says ENOTTY for this case
-.\"O .I sockfd
-.\"O is not a file descriptor to which
-.\"O .BR sockatmark ()
-.\"O can be applied.
-.I sockfd
-は
-.BR sockatmark ()
-が適用できないファイルディスクリプタである。
-.\"O .SH VERSIONS
+\fIsockfd\fP は \fBsockatmark\fP()  が適用できないファイルディスクリプタである。
 .SH バージョン
-.\"O .BR sockatmark ()
-.\"O was added to glibc in version 2.2.4.
-.BR sockatmark ()
-は glibc バージョン 2.2.4 で追加された。
-.\"O .SH "CONFORMING TO"
+\fBsockatmark\fP()  は glibc バージョン 2.2.4 で追加された。
 .SH 準拠
-POSIX.1-2001.
-.\"O .SH NOTES
+POSIX.1\-2001.
 .SH 注意
-.\"O If
-.\"O .BR sockatmark ()
-.\"O returns 1, then the out-of-band data can be read using the
-.\"O .B MSG_OOB
-.\"O flag of
-.\"O .BR recv (2).
-.BR sockatmark ()
-が 1 を返す場合、帯域外データは
-.B MSG_OOB
-を指定した
-.BR recv (2)
-で読み込むことができる。
+\fBsockatmark\fP()  が 1 を返す場合、帯域外データは \fBMSG_OOB\fP を指定した \fBrecv\fP(2)  で読み込むことができる。
 
-.\"O Out-of-band data is only supported on some stream socket protocols.
-帯域外データは、いくつかのストリームソケットプロトコルでしか
-サポートされていない。
+帯域外データは、いくつかのストリームソケットプロトコルでしか サポートされていない。
 
-.\"O .BR sockatmark ()
-.\"O can safely be called from a handler for the
-.\"O .B SIGURG
-.\"O signal.
-.BR sockatmark ()
-は
-.B SIGURG
-シグナルのハンドラから安全に呼び出すことができる。
+\fBsockatmark\fP()  は \fBSIGURG\fP シグナルのハンドラから安全に呼び出すことができる。
 
-.\"O .BR sockatmark ()
-.\"O is implemented using the
-.\"O .B SIOCATMARK
-.\"O .BR ioctl (2)
-.\"O operation.
-.BR sockatmark ()
-は
-.B SIOCATMARK
-.BR ioctl (2)
-操作を使って実装されている。
-.\"O .SH BUGS
+\fBsockatmark\fP()  は \fBSIOCATMARK\fP \fBioctl\fP(2)  操作を使って実装されている。
 .SH バグ
-.\"O Prior to glibc 2.4,
-.\"O .BR sockatmark ()
-.\"O did not work.
-glibc 2.4 より前のバージョンでは、
-.BR sockatmark ()
-は動作しない。
-.\"O .SH EXAMPLE
+glibc 2.4 より前のバージョンでは、 \fBsockatmark\fP()  は動作しない。
 .SH 例
-.\"O The following code can be used after receipt of a
-.\"O .B SIGURG
-.\"O signal to read (and discard) all data up to the mark,
-.\"O and then read the byte of data at the mark:
-以下のコードは、
-.B SIGURG
-シグナルを受け取った後にマークまでの全てのデータを読み込んで (破棄し)、
+以下のコードは、 \fBSIGURG\fP シグナルを受け取った後にマークまでの全てのデータを読み込んで (破棄し)、
 マークされたデータのバイトを読み込むのに使用できる。
 .nf
 
@@ -188,9 +109,9 @@ glibc 2.4 より前のバージョンでは、
         }
     }
 .fi
-.\"O .SH "SEE ALSO"
 .SH 関連項目
-.BR fcntl (2),
-.BR recv (2),
-.BR send (2),
-.BR tcp (7)
+\fBfcntl\fP(2), \fBrecv\fP(2), \fBsend\fP(2), \fBtcp\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。