Error numbers
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
<cerrno>で定義されているマクロのそれぞれがintのほとんどをマッチング、型POSIX error codesを持つ整数定数式で、正の値を持つそれぞれに展開されます。以下の定数が定義されています(実装は、限り、彼らは数字または大文字に続いて'E'で始まるように、よりを定義するかもしれません)Original:
Each of the macros defined in
<cerrno> expands to integer constant expressions with type int, each with a positive value, matching most of the POSIX error codes. The following constants are defined (the implementation may define more, as long as they begin with 'E' followed by digits or uppercase letters)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| Defined in header
<cerrno> | |
| E2BIG (C++11) |
あまりにも長い引数リスト Original: Argument list too long The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EACCES (C++11) |
アクセスが拒否されました Original: Permission denied The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EADDRINUSE (C++11) |
使用中のアドレス Original: Address in use The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EADDRNOTAVAIL (C++11) |
利用できないアドレス Original: Address not available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EAFNOSUPPORT (C++11) |
アドレスファミリがサポートされていません Original: Address family not supported The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EAGAIN (C++11) |
リソース使用不可は、もう一度やり直してください Original: Resource unavailable, try again The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EALREADY (C++11) |
すでに進行中の接続 Original: Connection already in progress The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EBADF (C++11) |
不正なファイル記述子 Original: Bad file descriptor The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EBADMSG (C++11) |
不正なメッセージ Original: Bad message The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EBUSY (C++11) |
デバイスまたはリソースがビジー状態です Original: Device or resource busy The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ECANCELED (C++11) |
操作はキャンセルされました Original: Operation canceled The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ECHILD (C++11) |
子プロセスがありません Original: No child processes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ECONNABORTED (C++11) |
接続が中断されました Original: Connection aborted The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ECONNREFUSED (C++11) |
接続が拒否されました Original: Connection refused The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ECONNRESET (C++11) |
接続がリセットされました Original: Connection reset The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EDEADLK (C++11) |
リソースのデッドロックが発生します Original: Resource deadlock would occur The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EDESTADDRREQ (C++11) |
宛先アドレスが必要です Original: Destination address required The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EDOM |
関数の定義域のうち、数学は引数 Original: Mathematics argument out of domain of function The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EEXIST (C++11) |
ファイルが存在します Original: File exists The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EFAULT (C++11) |
不正なアドレス Original: Bad address The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EFBIG (C++11) |
あまりに大きなファイル Original: File too large The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EHOSTUNREACH (C++11) |
ホストが到達不能である Original: Host is unreachable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EIDRM (C++11) |
識別子は削除されます Original: Identifier removed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EILSEQ (C++11) |
不正なバイトシーケンス Original: Illegal byte sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EINPROGRESS (C++11) |
進行中の操作 Original: Operation in progress The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EINTR (C++11) |
機能を中断しました Original: Interrupted function The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EINVAL (C++11) |
引数が無効です Original: Invalid argument The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EIO (C++11) |
I / Oエラー Original: I/O error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EISCONN (C++11) |
ソケットが接続されています Original: Socket is connected The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EISDIR (C++11) |
ディレクトリです Original: Is a directory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ELOOP (C++11) |
シンボリックリンクのレベルが多すぎる Original: Too many levels of symbolic links The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EMFILE (C++11) |
大きすぎるファイル記述子の値 Original: File descriptor value too large The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EMLINK (C++11) |
リンクが多すぎる Original: Too many links The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EMSGSIZE (C++11) |
大きすぎるメッセージ Original: Message too large The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENAMETOOLONG (C++11) |
あまりに長いファイル名 Original: Filename too long The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENETDOWN (C++11) |
ネットワークがダウンしています Original: Network is down The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENETRESET (C++11) |
接続がネットワーク側から中断された Original: Connection aborted by network The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENETUNREACH (C++11) |
ネットワークに到達できません Original: Network unreachable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENFILE (C++11) |
システムで開いているファイルが多すぎます Original: Too many files open in system The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOBUFS (C++11) |
使用可能なバッファスペースがありません Original: No buffer space available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENODATA (C++11) |
どのようなメッセージキューを読み取っSTREAMヘッドで提供されていません Original: No message is available on the STREAM head read queue The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENODEV (C++11) |
そのようなデバイスはありません Original: No such device The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOENT (C++11) |
そのようなファイルやディレクトリはありません Original: No such file or directory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOEXEC (C++11) |
実行ファイルのフォーマットエラー Original: Executable file format error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOLCK (C++11) |
使用可能なロックがありません Original: No locks available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOLINK (C++11) |
リンクが切断されている Original: Link has been severed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOMEM (C++11) |
十分なスペースがありません Original: Not enough space The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOMSG (C++11) |
目的のタイプのメッセージはありません Original: No message of the desired type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOPROTOOPT (C++11) |
プロトコルは使用できません Original: Protocol not available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOSPC (C++11) |
デバイスに空きスペースを入れないこと Original: No space left on device The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOSR (C++11) |
いいえストリームリソースはありません Original: No STREAM resources The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOSTR (C++11) |
ストリーム型ではありません Original: Not a STREAM The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOSYS (C++11) |
機能はサポートされません Original: Function not supported The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTCONN (C++11) |
ソケットが接続されていません Original: The socket is not connected The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTDIR (C++11) |
ディレクトリではありません Original: Not a directory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTEMPTY (C++11) |
ディレクトリが空ではない Original: Directory not empty The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTRECOVERABLE (C++11) |
状態回復できません Original: State not recoverable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTSOCK (C++11) |
ず、ソケット Original: Not a socket The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTSUP (C++11) |
サポートされていません Original: Not supported The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENOTTY (C++11) |
不適切なI / O制御操作 Original: Inappropriate I/O control operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ENXIO (C++11) |
そのようなデバイスはありませんまたはアドレス Original: No such device or address The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EOPNOTSUPP (C++11) |
操作がソケットでサポートされていません Original: Operation not supported on socket The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EOVERFLOW (C++11) |
データ型に格納するには大きすぎる値 Original: Value too large to be stored in data type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EOWNERDEAD (C++11) |
前の所有者が死亡した Original: Previous owner died The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EPERM (C++11) |
操作は許可されません Original: Operation not permitted The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EPIPE (C++11) |
壊れたパイプ Original: Broken pipe The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EPROTO (C++11) |
プロトコルエラー Original: Protocol error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EPROTONOSUPPORT (C++11) |
プロトコルがサポートされていません Original: Protocol not supported The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EPROTOTYPE (C++11) |
ソケットのプロトコルの型が間違っています Original: Protocol wrong type for socket The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ERANGE |
あまりにも大きな結果 Original: Result too large The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EROFS (C++11) |
読み取り専用のファイルシステムです Original: Read-only file system The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ESPIPE (C++11) |
無効を求める Original: Invalid seek The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ESRCH (C++11) |
そのようなプロセスはありません Original: No such process The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ETIME (C++11) |
ストリームのioctl()のタイムアウト Original: Stream ioctl() timeout The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ETIMEDOUT (C++11) |
接続がタイムアウトしました Original: Connection timed out The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| ETXTBSY (C++11) |
テキストファイルがビジーです Original: Text file busy The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EWOULDBLOCK (C++11) |
操作はブロックされます Original: Operation would block The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EXDEV (C++11) |
クロスデバイスリンクです Original: Cross-device link The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
すべての値は
EOPNOTSUPPのその値を除いて一意である必要があるとENOTSUPは、同一のものとEAGAINとEWOULDBLOCKの値が同一であってもよいOriginal:
All values are required to be unique except that the values of
EOPNOTSUPP and ENOTSUP may be identical and the values of EAGAIN and EWOULDBLOCK may be identicalThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 例
このコードを実行します
#include <iostream> #include <cmath> #include <cerrno> #include <cstring> int main() { double not_a_number = std::log(-1.0); if (errno == EDOM) { std::cout << "log(-1) failed: " << std::strerror(errno) << '\n'; } }
出力:
log(-1) failed: Numerical argument out of domain
[編集] 参照
| (C++11) |
すべての標準的なstd::error_conditionマクロ定数をリスト <cerrno>列挙Original: the std::error_condition enumeration listing all standard <cerrno> macro constantsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラス) |
| POSIX準拠のスレッドローカルなエラー番号variable
(マクロ変数)に展開されるマクロ Original: macro which expands to POSIX-compatible thread-local error number variable (マクロ変数) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| stderrに現在のエラーの対応する文字列が表示されます Original: displays a character string corresponding of the current error to stderr The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
| 指定したエラーコードのテキストバージョンを返します Original: returns a text version of a given error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |

