aboutsummaryrefslogtreecommitdiff
path: root/documentation/manual-pages/ja/man3/kvm_geterr.3
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/manual-pages/ja/man3/kvm_geterr.3')
-rw-r--r--documentation/manual-pages/ja/man3/kvm_geterr.385
1 files changed, 85 insertions, 0 deletions
diff --git a/documentation/manual-pages/ja/man3/kvm_geterr.3 b/documentation/manual-pages/ja/man3/kvm_geterr.3
new file mode 100644
index 0000000000..1c2848ca81
--- /dev/null
+++ b/documentation/manual-pages/ja/man3/kvm_geterr.3
@@ -0,0 +1,85 @@
+.\" copyright (c) 1992, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" This code is derived from software developed by the Computer Systems
+.\" Engineering group at Lawrence Berkeley Laboratory under DARPA contract
+.\" BG 91-66 and contributed to Berkeley.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the University of
+.\" California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" @(#)kvm_geterr.3 8.1 (Berkeley) 6/4/93
+.\" %FreeBSD: src/lib/libkvm/kvm_geterr.3,v 1.3.2.4 2001/12/17 10:08:30 ru Exp %
+.\"
+.\" $FreeBSD$
+.Dd June 4, 1993
+.Dt KVM_GETERR 3
+.Os
+.Sh 名称
+.Nm kvm_geterr
+.Nd kvm 記述子でのエラーメッセージを獲得する
+.Sh ライブラリ
+.Lb libkvm
+.Sh 書式
+.In kvm.h
+.Ft char *
+.Fn kvm_geterr "kvm_t *kd"
+.Sh 解説
+この関数は
+.Fa kd
+記述子での最新のエラー状態を説明している文字列を返します。
+もしも最新の
+.Xr kvm 3
+ライブラリ呼び出しがエラーを引き起こさなかったならば、
+その結果は定義されていません。戻された文字列は
+.Xr kvm 3
+が所有するメモリに保存されますので、
+メッセージは必要があれば複写して別の場所に保存すべきです。
+.Sh バグ
+このルーチンは異常終了した
+.Fn kvm_openfiles
+呼び出しに基づくエラー条件のアクセスに使用できません。
+異常終了は
+.Dv NULL
+記述子を戻すことで指示されます。
+このために、オープンに関するエラーは特別なエラーバッファに出力され、
+.Fn kvm_openfiles
+に渡されます。このオプションは
+.Fn kvm_open
+には使用できません。
+.Sh 関連項目
+.Xr kvm 3 ,
+.Xr kvm_close 3 ,
+.Xr kvm_getargv 3 ,
+.Xr kvm_getenvv 3 ,
+.Xr kvm_getprocs 3 ,
+.Xr kvm_nlist 3 ,
+.Xr kvm_open 3 ,
+.Xr kvm_openfiles 3 ,
+.Xr kvm_read 3 ,
+.Xr kvm_write 3