OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man3 / shm_open.3
index bb8869a..bfab3d6 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2002 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -21,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" FIXME . Add an example to this page
 .\"*******************************************************************
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
+.\"
+.\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI, all rights reserved.
+.\" Translated Mon Feb  2 2003 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2009-02-23, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.19
+.\"
 .TH SHM_OPEN 3 2009\-02\-25 Linux "Linux Programmer's Manual"
 .SH 名前
-shm_open, shm_unlink \- POSIX 共有メモリ・オブジェクトの作成/オープン、 削除を行う
+shm_open, shm_unlink \- POSIX 共有メモリ・オブジェクトの作成/オープン/削除を行う
 .SH 書式
 \fB#include <sys/mman.h>\fP
 .br
@@ -38,8 +43,7 @@ shm_open, shm_unlink \- POSIX 共有メモリ・オブジェクトの作成/オ
 .br
 \fB#include <fcntl.h>\fP /* O_* 定数の定義用 */
 .sp
-\fBvoid * shm_open(const char *\fP\fIname\fP\fB, int \fP\fIoflag\fP\fB, mode_t
-\fP\fImode\fP\fB);\fP
+\fBint shm_open(const char *\fP\fIname\fP\fB, int \fP\fIoflag\fP\fB, mode_t \fP\fImode\fP\fB);\fP
 .sp
 \fBint shm_unlink(const char *\fP\fIname\fP\fB);\fP
 .sp
@@ -73,7 +77,7 @@ POSIX 共有メモリ・オブジェクトは、実際には、関係のない
 読み書きアクセス用にオブジェクトをオープンする。
 .TP 
 \fBO_CREAT\fP
-.\" In truth it is actually the file system IDs on Linux, but these
+.\" In truth it is actually the filesystem IDs on Linux, but these
 .\" are nearly always the same as the effective IDs.  (MTK, Jul 05)
 存在しない場合、共有メモリ・オブジェクトを作成する。 オブジェクトのユーザとグループの所有権は、 呼び出し元プロセスの対応する実効 ID が使われ、
 オブジェクトの許可ビットは \fImode\fP の下位 9 ビットに基づいて設定される。ただし、 ファイルモード作成マスク (\fBumask\fP(2)
@@ -152,8 +156,12 @@ POSIX.1\-2001 には、新規に作成される共有メモリオブジェクト
 POSIX は \fBO_RDONLY\fP と \fBO_TRUNC\fP が一緒に指定された場合の動作を未定義にしている。Linux では、
 既存の共有メモリ・オブジェクトに対する切り詰め (truncate) は成功する。 しかし、他の UNIX システムでも同じであるとは限らない。
 .LP
-Linux 2.4 における POSIX 共有メモリ・オブジェクトの実装は 専用のファイルシステムを使用する。そのファイルシステムは通常
-\fI/dev/shm\fP にマウントされる。
+The POSIX shared memory object implementation on Linux 2.4 makes use of a
+dedicated filesystem, which is normally mounted under \fI/dev/shm\fP.
 .SH 関連項目
 \fBclose\fP(2), \fBfchmod\fP(2), \fBfchown\fP(2), \fBfcntl\fP(2), \fBfstat\fP(2),
 \fBftruncate\fP(2), \fBmmap\fP(2), \fBopen\fP(2), \fBumask\fP(2), \fBshm_overview\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。