| 総合手引 | セクション 2 | English | オプション |
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
fhopen() システムコールは fhp が参照するファイルを flags で指定にしたがって読取り/書込み/読み書き用にオープンし、 呼び出したプロセスにファイル記述子を返します。 flags 引数は、 open(2) システムコールで使われる各種フラグの or をとって指定します。 ただし、フラグのうち O_CREAT は使えません。
fhstat() と fhstatfs() システムコールはオープンされたファイルではなく、 fhp によって指し示されたファイルの情報を返すことを除いて fstat(2) と fstatfs(2) 呼び出しと同等の機能を提供します。
The fhstatand fhstatfs functions return the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
| [EINVAL] | |
| fhopen() が O_CREAT をセットされて呼び出されました。 | |
| [ESTALE] | |
| ファイルハンドル fhp はもう有効ではありません。 | |
| FHOPEN (2) | June 29, 1999 |
| 総合手引 | セクション 2 | English | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed. | ” |
| — The Unix Haters' handbook | ||