JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... consider using malloc_info (3) instead. The returned structure is defined as follows: struct mallinfo { int arena; /* Non-mmapped space allocated (bytes) */ int ordblks; /* Number of free chunks */ int smblks; /* Number of free fastbin blocks */ int hb ... lks; /* Number of mmapped regions */ int hblkhd; /* Space allocated in mmapped regions (bytes) */ int usmblks; /* See below */ int fsmblks; /* Space ... たブロックの 2 つに 1 つを解放する。 $ ./a.out 1000 100 2 ============== Before allocating blocks ============== Total non-mmapped bytes (arena): 0 # of free chunks (ordblks): 1 # of free fastbin blocks (smblks): 0 # of mapped regions (hblks): 0 Bytes i ... ... ックアドレス (::1) は global 変数 in6addr_loopback から取得できる。初期化には IN6ADDR_LOOPBACK_INIT を用いるべきである。 v4-mapped-on-v6 アドレス型を用いることで、 IPv4 接続も v6 API で扱うことができる。 こうすれば、プログラムは v6 の API をサポートする ... だけで、 両方のプロトコルをサポートできる。 v4-mapped-on-v6 アドレス型は C ライブラリ内部のアドレスを 扱う関数によって透過的に処理される。 IPv4 と IPv6 はローカルポート空間を共 ... 8 個からなり、 ':' は区切り文字はで、"::" は 0 ビットの文字列を表す。 特殊なアドレスとして、ループバックを表す ::1、 IPv4-mapped-on-IPv6 を表す ::FFFF::<IPv4 アドレス> がある。 IPv6 のポート空間は IPv4 と共有されている。 ソケットオプション IPv6 はプロ ... ... 使われていた。 これは Linux 2.4.19 で POSIX における値 ENOMEM に変更された。 msync () が使用可能な POSIX システムでは _POSIX_MAPPED_FILES と _POSIX_SYNCHRONIZED_IO の両方が < unistd.h > で 0 より大きい値に定義される。 ( sysconf (3) を参照すること。 ) 注意 ... ... mous pages associated with the process. 3 (Linux 2.6.32 以降) Reset the PG_Referenced and ACCESSED/YOUNG bits for all file-mapped pages associated with the process. Clearing the PG_Referenced and ACCESSED/YOUNG bits provides a method to measure approxi ... w - may write me - may execute ms - may share gd - stack segment grows down pf - pure PFN range dw - disabled write to the mapped file lo - pages are locked in memory io - memory mapped I/O area sr - sequential read advise provided rr - random read adv ... e. The first two numbers specify the starting user ID in each user namespace. The third number specifies the length of the mapped range. In detail, the fields are interpreted as follows: (1) The start of the range of user IDs in the user namespace of t ... ... mous pages associated with the process. 3 (Linux 2.6.32 以降) Reset the PG_Referenced and ACCESSED/YOUNG bits for all file-mapped pages associated with the process. Clearing the PG_Referenced and ACCESSED/YOUNG bits provides a method to measure approxi ... w - may write me - may execute ms - may share gd - stack segment grows down pf - pure PFN range dw - disabled write to the mapped file lo - pages are locked in memory io - memory mapped I/O area sr - sequential read advise provided rr - random read adv ... e. The first two numbers specify the starting user ID in each user namespace. The third number specifies the length of the mapped range. In detail, the fields are interpreted as follows: (1) The start of the range of user IDs in the user namespace of t ... ... の関数が存在する。 setpgid (), tcdrain (), tcflush (), tcgetpgrp (), tcsendbreak (), tcsetattr (), tcsetpgrp (). MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES 共有メモリーがサポートされている。 インクルードファイル < sys/mman.h > が存在する。 次の関数が存在 ... ... ならない。 hints に NULL を指定するのは、 ai_socktype と ai_protocol に 0 を、 ai_family に AF_UNSPEC を、 ai_flags に (AI_V4MAPPED | AI_ADDRCONFIG) を設定するのと等価である (POSIX では ai_flags には別のデフォルト値が規定されている; 「備考」を参照)。 nod ... 役立つ。 IPv4 だけのシステムでは、IPv6 アドレスは connect (2) や bind (2) で必ず失敗することになる。 hints.ai_flags に AI_V4MAPPED が指定されていて、 hints.ai_family に AF_INET6 が指定され、 マッチする IPv6 アドレスが見つからなかった場合、 res が指すリス ... トには IPv4-mapped IPv6 アドレスが返される。 hints.ai_flags に AI_V4MAPPED と AI_ALL の両方が指定されている場合、 res が指すリストには IPv6 ア ... ... ならない。 hints に NULL を指定するのは、 ai_socktype と ai_protocol に 0 を、 ai_family に AF_UNSPEC を、 ai_flags に (AI_V4MAPPED | AI_ADDRCONFIG) を設定するのと等価である (POSIX では ai_flags には別のデフォルト値が規定されている; 「備考」を参照)。 nod ... 役立つ。 IPv4 だけのシステムでは、IPv6 アドレスは connect (2) や bind (2) で必ず失敗することになる。 hints.ai_flags に AI_V4MAPPED が指定されていて、 hints.ai_family に AF_INET6 が指定され、 マッチする IPv6 アドレスが見つからなかった場合、 res が指すリス ... トには IPv4-mapped IPv6 アドレスが返される。 hints.ai_flags に AI_V4MAPPED と AI_ALL の両方が指定されている場合、 res が指すリストには IPv6 ア ... ... ならない。 hints に NULL を指定するのは、 ai_socktype と ai_protocol に 0 を、 ai_family に AF_UNSPEC を、 ai_flags に (AI_V4MAPPED | AI_ADDRCONFIG) を設定するのと等価である (POSIX では ai_flags には別のデフォルト値が規定されている; 「備考」を参照)。 nod ... 役立つ。 IPv4 だけのシステムでは、IPv6 アドレスは connect (2) や bind (2) で必ず失敗することになる。 hints.ai_flags に AI_V4MAPPED が指定されていて、 hints.ai_family に AF_INET6 が指定され、 マッチする IPv6 アドレスが見つからなかった場合、 res が指すリス ... トには IPv4-mapped IPv6 アドレスが返される。 hints.ai_flags に AI_V4MAPPED と AI_ALL の両方が指定されている場合、 res が指すリストには IPv6 ア ... ... 情報は 部分的なものである。したがって、他のユーザーのプロセスによってオープンされた ファイルは表示されないし、実行ファイルは mapped に分類されるだけになるだろう。 情報が部分的にしか得られないことによって生じるこの問題は、 fuser を root に SUID してインス ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。