OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / draft / man2 / shmctl.2
index 96b9d2b..0cd42e1 100644 (file)
@@ -124,15 +124,12 @@ struct ipc_perm {
 と一致するか、呼び出し元が特権を持たなければならない。
 .TP 
 \fBIPC_RMID\fP
-Mark the segment to be destroyed.  The segment will only actually be
-destroyed after the last process detaches it (i.e., when the \fIshm_nattch\fP
-member of the associated structure \fIshmid_ds\fP is zero).  The caller must be
-the owner or creator of the segment, or be privileged.  The \fIbuf\fP argument
-is ignored.
+セグメントに破棄済みのマークを付ける。 セグメントは、実際には最後プロセスがセグメントを分離した (関連する \fIshmid_ds\fP 構造体の
+\fIshm_nattch\fP メンバーが 0 になった) 後でのみ破棄される。
+呼び出し元はそのセグメントの所有者か作成者であるか、特権を持たなければならない。 \fIbuf\fP 引き数は無視される。
 .IP
-If a segment has been marked for destruction, then the (nonstandard)
-\fBSHM_DEST\fP flag of the \fIshm_perm.mode\fP field in the associated data
-structure retrieved by \fBIPC_STAT\fP will be set.
+セグメントに破棄のマークが付けられると、 関連するデータ構造体において \fIshm_perm.mode\fP フィールドの (標準ではない)
+\fBSHM_DEST\fP フラグが設定される。 このデータ構造体は \fBIPC_STAT\fP で取得される。
 .IP
 呼び出し元は最終的にはセグメントを忘れずに破棄\fIしなければならない\fP。 そうでなれば、フォールト (fault) されたページは メモリかスワップ
 (swap) に残り続ける。
@@ -275,6 +272,6 @@ Linux では、 \fIshmctl(IPC_RMID)\fP を使ってすでに削除マークが
 \fBmlock\fP(2), \fBsetrlimit\fP(2), \fBshmget\fP(2), \fBshmop\fP(2), \fBcapabilities\fP(7),
 \fBshm_overview\fP(7), \fBsvipc\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。