JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... t shmdt(const void * shmaddr ); 説明 shmat() shmat () は shmid で指定された System V 共有メモリーセグメント (shared memory segment) を コールしたプロセスのアドレス空間に付加 (attach) する。 付加するアドレスは shmaddr に以下のどれかの形式で指定する: • sh ... の実装もこれをサポートしていない。 以下のシステムパラメーターは、 shmat () に影響する: SHMLBA セグメントの下限アドレス倍数 (Segment low boundary address multiple)。 shmat () の呼び出しにおいて付加するアドレスを明示的に指定する際、 呼び出し元は指定するアド ... トの最大数 ( SHMSEG ) に関する実装依存の制限はない。 例 The two programs shown below exchange a string using a shared memory segment. Further details about the programs are given below. First, we show a shell session demonstrating their use. In one termin ... ... t shmdt(const void * shmaddr ); 説明 shmat() shmat () は shmid で指定された System V 共有メモリーセグメント (shared memory segment) を コールしたプロセスのアドレス空間に付加 (attach) する。 付加するアドレスは shmaddr に以下のどれかの形式で指定する: • sh ... の実装もこれをサポートしていない。 以下のシステムパラメーターは、 shmat () に影響する: SHMLBA セグメントの下限アドレス倍数 (Segment low boundary address multiple)。 shmat () の呼び出しにおいて付加するアドレスを明示的に指定する際、 呼び出し元は指定するアド ... トの最大数 ( SHMSEG ) に関する実装依存の制限はない。 例 The two programs shown below exchange a string using a shared memory segment. Further details about the programs are given below. First, we show a shell session demonstrating their use. In one termin ... ... t shmdt(const void * shmaddr ); 説明 shmat() shmat () は shmid で指定された System V 共有メモリーセグメント (shared memory segment) を コールしたプロセスのアドレス空間に付加 (attach) する。 付加するアドレスは shmaddr に以下のどれかの形式で指定する: • sh ... の実装もこれをサポートしていない。 以下のシステムパラメーターは、 shmat () に影響する: SHMLBA セグメントの下限アドレス倍数 (Segment low boundary address multiple)。 shmat () の呼び出しにおいて付加するアドレスを明示的に指定する際、 呼び出し元は指定するアド ... トの最大数 ( SHMSEG ) に関する実装依存の制限はない。 例 The two programs shown below exchange a string using a shared memory segment. Further details about the programs are given below. First, we show a shell session demonstrating their use. In one termin ... ... の通りである。 shm_perm This is an ipc_perm structure (see below) that specifies the access permissions on the shared memory segment. shm_segsz 共有メモリーセグメントのサイズ (バイト単位)。 shm_atime Time of the last shmat (2) system call that attached th ... is segment. shm_dtime Time of the last shmdt (2) system call that detached tgis segment. shm_ctime Time of creation of segment or tim ... グメントを作成したプロセスの ID。 shm_lpid ID of the last process that executed a shmat (2) or shmdt (2) system call on this segment. shm_nattch Number of processes that have this segment attached. ipc_perm 構造体は以下のように定義されている (強調されたフ ... ... egments , struct kexec_segment * segments , unsigned long flags ); 注 : このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。 説明 ... の中断時 (suspend) などで使用できる。 このフラグは、カーネルの設定で CONFIG_KEXEC_JUMP が有効の場合のみ 利用可能であり、 nr_segments が 0 より大きい場合のみ効果がある。 flags の上位ビット (マスク 0xffff0000 に対応) には、 実行されるカーネルのアーキテクチ ... は、 システムの CPU で実行可能なものでなければならない。 entry 引き数は、カーネルイメージの物理エントリーアドレスである。 nr_segments 引き数は、 segments ポインターが指すセグメントの数である。 なお、セグメント数には、カーネルにより 16 という (強制的な) 上 ... ... egments , struct kexec_segment * segments , unsigned long flags ); 注 : このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。 説明 ... の中断時 (suspend) などで使用できる。 このフラグは、カーネルの設定で CONFIG_KEXEC_JUMP が有効の場合のみ 利用可能であり、 nr_segments が 0 より大きい場合のみ効果がある。 flags の上位ビット (マスク 0xffff0000 に対応) には、 実行されるカーネルのアーキテクチ ... は、 システムの CPU で実行可能なものでなければならない。 entry 引き数は、カーネルイメージの物理エントリーアドレスである。 nr_segments 引き数は、 segments ポインターが指すセグメントの数である。 なお、セグメント数には、カーネルにより 16 という (強制的な) 上 ... ... ロードされた場合、 64 ビットベースは変更される。 ARCH_SET_GS が無効にされているカーネルもある。 Context switches for 64-bit segment bases are rather expensive. As an optimization, if a 32-bit TLS base address is used, arch_prctl () may use a real TLS ent ... ry as if set_thread_area (2) had been called, instead of manipulating the segment base register directly. Memory in the first 2 GB of address space can be allocated by using mmap (2) with the MAP_32BIT fl ... ... g ); 説明 shmget () returns the identifier of the System V shared memory segment associated with the value of the argument key . It may be used either to obtain the identifier of a previously created sha ... red memory segment (when shmflg is zero and key does not have the value IPC_PRIVATE ), or to create a new set. key の値が IPC_PRIVATE の場合、 ... エラー 失敗した場合は errno が以下のどれかに設定される: EACCES The user does not have permission to access the shared memory segment, and does not have the CAP_IPC_OWNER capability in the user namespace that governs its IPC namespace. EEXIST IPC_CREAT と ... ... ) PROT_GROWSDOWN Apply the protection mode down to the beginning of a mapping that grows downward (which should be a stack segment or a segment mapped with the MAP_GROWSDOWN flag set). Like mprotect (), pkey_mprotect () changes the protection on the pag ... ... ) PROT_GROWSDOWN Apply the protection mode down to the beginning of a mapping that grows downward (which should be a stack segment or a segment mapped with the MAP_GROWSDOWN flag set). Like mprotect (), pkey_mprotect () changes the protection on the pag ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。