JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... スメソッドに特有のデータ構造体は、 < db.h > インクルードファイルで以下のように定義されている。 typedef struct { unsigned int bsize; unsigned int ffactor; unsigned int nelem; unsigned int cachesize; uint32_t (*hash)(const void *, size_t); int lorder; } H ... ASHINFO; この構造体の要素を以下に示す。 bsize hash テーブルバケット (table bucket) のサイズを定義する。 デフォルトは 256 バイトである。 ディスクに置かれるテーブルやデー ... ツリーが作られ た時に指定されていた値が使われる。 ファイルが既に存在している (または O_TRUNC フラグが指定されていない) と、 bsize , ffactor , lorder , nelem に指定された値は無視され、 ハッシュが作られた時に使った値が使われる。 hash 関数が指定されると、 ... ... ス名である。 buf は、だいたい以下のように定義されている statvfs 構造体へのポインターである: struct statvfs { unsigned long f_bsize; /* Filesystem block size */ unsigned long f_frsize; /* Fragment size */ fsblkcnt_t f_blocks; /* Size of fs in f_frsize un ... athconf(path, _PC_ALLOC_SIZE_MIN); pathconf(path, _PC_REC_MIN_XFER_SIZE); respectively use the f_frsize , f_frsize , and f_bsize fields returned by a call to statvfs () with the argument path . 関連項目 statfs (2) この文書について この man ページは Li ... ... ス名である。 buf は、だいたい以下のように定義されている statvfs 構造体へのポインターである: struct statvfs { unsigned long f_bsize; /* Filesystem block size */ unsigned long f_frsize; /* Fragment size */ fsblkcnt_t f_blocks; /* Size of fs in f_frsize un ... athconf(path, _PC_ALLOC_SIZE_MIN); pathconf(path, _PC_REC_MIN_XFER_SIZE); respectively use the f_frsize , f_frsize , and f_bsize fields returned by a call to statvfs () with the argument path . 関連項目 statfs (2) この文書について この man ページは Li ... ... e __SWORD_TYPE long int #endif struct statfs { __SWORD_TYPE f_type; /* ファイルシステムの種別 (下記参照) */ __SWORD_TYPE f_bsize; /* 最適な転送ブロックサイズ */ fsblkcnt_t f_blocks; /* ファイルシステムの総データブロック数 */ fsblkcnt_t f_bfree; /* ファ ... ... e __SWORD_TYPE long int #endif struct statfs { __SWORD_TYPE f_type; /* ファイルシステムの種別 (下記参照) */ __SWORD_TYPE f_bsize; /* 最適な転送ブロックサイズ */ fsblkcnt_t f_blocks; /* ファイルシステムの総データブロック数 */ fsblkcnt_t f_bfree; /* ファ ... ... e __SWORD_TYPE long int #endif struct statfs { __SWORD_TYPE f_type; /* ファイルシステムの種別 (下記参照) */ __SWORD_TYPE f_bsize; /* 最適な転送ブロックサイズ */ fsblkcnt_t f_blocks; /* ファイルシステムの総データブロック数 */ fsblkcnt_t f_bfree; /* ファ ... ... e __SWORD_TYPE long int #endif struct statfs { __SWORD_TYPE f_type; /* ファイルシステムの種別 (下記参照) */ __SWORD_TYPE f_bsize; /* 最適な転送ブロックサイズ */ fsblkcnt_t f_blocks; /* ファイルシステムの総データブロック数 */ fsblkcnt_t f_bfree; /* ファ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。