JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... 1 10000 100 ============ Before allocating blocks ============ <malloc version="1"> <heap nr="0"> <sizes> </sizes> <total type="fast" count="0" size="0"/> <total type="rest" count="0" size="0"/> <system type="current" size="135168"/> <system type="m ... ax" size="135168"/> <aspace type="total" size="135168"/> <aspace type="mprotect" size="135168"/> </heap> <total type="fast" count="0" size="0"/> <total typ ... e="rest" count="0" size="0"/> <system type="current" size="135168"/> <system type="max" size="135168"/> <aspace type="total" size="135168"/> <aspace type="mprotect" ... ... ト・ タイプ・ゾーンに与えた名前を解釈する。 obj , type , zone は参照として渡すべきであり、 呼び出し側のデフォルトの値を指しているべきである。 nbp_name() は解釈し終った値にポイン ... タを移動する。 name は object : type @ zone という形式である。 ここで、 object , : type , @ zone はそれぞれ obj , type , zone を置き換える。 type の前には ` : ... で解釈される。 obj のデフォルトの値は、 ( gethostbyname (3) で返される) マシンのホスト名からドメイン部を取ったものである。 type のデフォルトの値は `AFPServer'' であり、 zone のデフォルトの値はデフォルトのゾーン ``*'' である。 afpd をデフォルトのゾーン ... ... / /* 実際の長さは (d_reclen - 2 - offsetof(struct linux_dirent, d_name)) */ /* char pad; // 値 0 のパディングバイト char d_type; // ファイル種別 (Linux 2.6.4 以降のみ); // オフセットは (d_reclen - 1) */ } d_ino は inode 番号である。 d_off はディレクト ... t の先頭までの距離である。 d_reclen はこの linux_dirent 全体のサイズである。 d_name はヌル文字で終わるファイル名である。 d_type は、構造体の最後のバイトであり、ファイルタイプを示す。 d_type は以下の値のいずれか一つを取る ( < dirent.h > で定義されてい ... リックリンクである。 DT_REG 通常のファイルである。 DT_SOCK UNIX ドメインソケットである。 DT_UNKNOWN ファイルタイプが不明。 d_type フィールドは Linux 2.6.4 以降で実装されている。 このフィールドは、 linux_dirent 構造体の中で以前はゼロで埋められていた空間 ... ... / /* 実際の長さは (d_reclen - 2 - offsetof(struct linux_dirent, d_name)) */ /* char pad; // 値 0 のパディングバイト char d_type; // ファイル種別 (Linux 2.6.4 以降のみ); // オフセットは (d_reclen - 1) */ } d_ino は inode 番号である。 d_off はディレクト ... t の先頭までの距離である。 d_reclen はこの linux_dirent 全体のサイズである。 d_name はヌル文字で終わるファイル名である。 d_type は、構造体の最後のバイトであり、ファイルタイプを示す。 d_type は以下の値のいずれか一つを取る ( < dirent.h > で定義されてい ... リックリンクである。 DT_REG 通常のファイルである。 DT_SOCK UNIX ドメインソケットである。 DT_UNKNOWN ファイルタイプが不明。 d_type フィールドは Linux 2.6.4 以降で実装されている。 このフィールドは、 linux_dirent 構造体の中で以前はゼロで埋められていた空間 ... ... ファイルの別のエントリに記述されるので、 そうしたときに有用である。 デフォルトではサービス id は service_name と同じである。 type 以下の値の任意の組合せである: RPC RPC を使ったサービスである INTERNAL xinetd によって提供されるサービス TCPMUX/TCPMUXPLUS ... 行に何が書かれていようと、 サーバに INTERNAL 属性が指定されたと xinetd はみなす。 あと一つ覚えておくべき重要なことは、socket_type を stream に設定した場合は、 wait 属性は no に設定されなければならないということである。 IPv4 サービスを IPv4 サービス(AF_ ... たは "no" の真偽値をとる。 これによりサービスが使用不能になり、起動されなくなる。 DISABLE フラグに関する記述を見よ。 socket_type この属性に指定可能な値は以下: stream ストリーム型サービス dgram データグラム型サービス raw IP への直接制御が必要なサービス ... ... --input-abiversion= version ] --output-mach= machine --output-type= type --output-osabi= osabi --output-abiversion= version --enable-x86-feature= feature --disable-x86-feature= feature [ -v ... 。 オプション ここで選択肢として示されているオプションの、長い形式と短い形式は同等です。少なくとも --output-mach , --output-type , --output-osabi , --output-abiversion , --enable-x86-feature と --disable-x86-feature オプションの 1つは指定しなければなり ... ッダーの ELF マシン・タイプを machine に変更します。サポートされている ELF マシンタイプは --input-mach と同じです。 --input-type= type 一致する入力 ELF ファイル・タイプを type に設定します。 --input-type が指定されていない場合は、任意の ELF ファイルタ ... ... s/socket.h > rtnetlink_socket = socket(AF_NETLINK, int socket_type , NETLINK_ROUTE); 説明 rtnetlink はカーネルのルーティングテーブルを読んだり変更したり するためのものである。これはカーネル ... ダーの後に付加的な属性を 持つものがある。 struct rtattr { unsigned short rta_len; /* Length of option */ unsigned short rta_type; /* Type of option */ /* Data follows */ }; これらの属性の操作は、 RTA_* マクロか libnetlink のみを使って行うべきである。 ... それに続いていくつかの rtattr 構造体を伴う。 struct ifinfomsg { unsigned char ifi_family; /* AF_UNSPEC */ unsigned short ifi_type; /* Device type */ int ifi_index; /* Interface index */ unsigned int ifi_flags; /* Device flags */ unsigned int ifi_change ... ... トは、 fanotify_init (2) が返した fanotify ファイルディスクリプターから ( read (2) などを使って) 読み出すことができる。 Two types of events are generated: notification events and permission events. Notification events are merely informative and requir ... lowing the generic fanotify_event_metadata structure within the read buffer: struct fanotify_event_info_header { __u8 info_type; __u8 pad; __u16 len; }; struct fanotify_event_info_fid { struct fanotify_event_info_header hdr; __kernel_fsid_t fsid; uns ... 下の同義語である。 FAN_MOVED_FROM | FAN_MOVED_TO The following bits may appear in mask only in conjunction with other event type bits: FAN_ONDIR The events described in the mask have occurred on a directory object. Reporting events on directories requ ... ... 動される。 この関数は引数 1 個で起動され、その引数は以下に示す exception 構造体へのポインターである。 struct exception { int type; /* Exception type */ char *name; /* Name of function causing exception */ double arg1; /* 1st argument to function */ dou ... ble arg2; /* 2nd argument to function */ double retval; /* Function return value */ } type フィールドは以下の値のいずれかである。 DOMAIN 領域エラー (domain error) が発生した (関数の引数が関数が定義された範囲外であ ... ッセージの表示も行わない。 matherr() を利用している数学関数 下記の表は、関数と matherr () が呼び出される状況の一覧である。 "Type" 列 は matherr () が呼び出される際に exc->type に 設定される値を示す。 "Result" 列は exc->retval に 設定されるデフォルトの ... ... thread_setcancelstate(int state , int * oldstate ); int pthread_setcanceltype(int type , int * oldtype ); -pthread でコンパイルしてリンクする。 説明 pthread_setcancelstate () は、呼び出したスレッドの ... く作成されるスレッドでのデフォルトの cancelability state である。これには最初のスレッドも含まれる。 スレッドの cancelability type により、取り消し可能なスレッドが 取り消し要求にいつ反応するかが決まる。 PTHREAD_CANCEL_DISABLE スレッドは取り消しできない。 ... 取り消し要求を受信した際は、 取り消し可能に設定されるまでその要求はブロックされる。 pthread_setcanceltype () は、呼び出したスレッドの cancelability type に type で指定された値を設定する。 変更前のスレッドの cancelability type は ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。