X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=po4a%2Fmemory%2Fpo%2Fja.po;h=6052682f3517c690d23a16a305af373a6bd71886;hb=27a363b38dcabacb13c999688ee49b61f5e87244;hp=832442d2b32f0f4036e00f972e18c8545da16ef8;hpb=20b1b579113db78b7fd5d349ebac20c8b1adb6d9;p=linuxjm%2FLDP_man-pages.git diff --git a/po4a/memory/po/ja.po b/po4a/memory/po/ja.po index 832442d2..6052682f 100644 --- a/po4a/memory/po/ja.po +++ b/po4a/memory/po/ja.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2014-04-24 00:51+0900\n" -"PO-Revision-Date: 2014-04-20 07:21+0900\n" +"POT-Creation-Date: 2015-01-04 23:49+0900\n" +"PO-Revision-Date: 2015-01-06 02:16+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -33,7 +33,7 @@ msgstr "2007-05-31" #: build/C/man3/mallinfo.3:26 build/C/man3/malloc_stats.3:26 #: build/C/man3/malloc_trim.3:26 build/C/man3/mallopt.3:26 #: build/C/man2/mlock.2:26 build/C/man2/mmap.2:40 build/C/man2/mmap2.2:29 -#: build/C/man2/mprotect.2:38 build/C/man2/mremap.2:30 build/C/man2/msync.2:25 +#: build/C/man2/mprotect.2:39 build/C/man2/mremap.2:30 build/C/man2/msync.2:25 #: build/C/man2/posix_fadvise.2:28 build/C/man2/readahead.2:28 #: build/C/man2/remap_file_pages.2:28 build/C/man3/shm_open.3:26 #: build/C/man7/shm_overview.7:27 build/C/man2/shmctl.2:45 @@ -51,7 +51,7 @@ msgstr "Linux" #: build/C/man3/malloc_info.3:25 build/C/man3/malloc_stats.3:26 #: build/C/man3/malloc_trim.3:26 build/C/man3/malloc_usable_size.3:25 #: build/C/man3/mallopt.3:26 build/C/man3/mcheck.3:25 build/C/man2/mlock.2:26 -#: build/C/man2/mmap.2:40 build/C/man2/mmap2.2:29 build/C/man2/mprotect.2:38 +#: build/C/man2/mmap.2:40 build/C/man2/mmap2.2:29 build/C/man2/mprotect.2:39 #: build/C/man2/mremap.2:30 build/C/man2/msync.2:25 build/C/man3/mtrace.3:25 #: build/C/man2/posix_fadvise.2:28 build/C/man3/posix_fallocate.3:25 #: build/C/man3/posix_memalign.3:29 build/C/man2/readahead.2:28 @@ -71,7 +71,7 @@ msgstr "Linux Programmer's Manual" #: build/C/man3/malloc_info.3:26 build/C/man3/malloc_stats.3:27 #: build/C/man3/malloc_trim.3:27 build/C/man3/malloc_usable_size.3:26 #: build/C/man3/mallopt.3:27 build/C/man3/mcheck.3:26 build/C/man2/mlock.2:27 -#: build/C/man2/mmap.2:41 build/C/man2/mmap2.2:30 build/C/man2/mprotect.2:39 +#: build/C/man2/mmap.2:41 build/C/man2/mmap2.2:30 build/C/man2/mprotect.2:40 #: build/C/man2/mremap.2:31 build/C/man2/msync.2:26 build/C/man3/mtrace.3:26 #: build/C/man2/posix_fadvise.2:29 build/C/man3/posix_fallocate.3:26 #: build/C/man3/posix_memalign.3:30 build/C/man2/readahead.2:29 @@ -97,7 +97,7 @@ msgstr "" #: build/C/man3/malloc_info.3:28 build/C/man3/malloc_stats.3:29 #: build/C/man3/malloc_trim.3:29 build/C/man3/malloc_usable_size.3:28 #: build/C/man3/mallopt.3:29 build/C/man3/mcheck.3:28 build/C/man2/mlock.2:29 -#: build/C/man2/mmap.2:43 build/C/man2/mmap2.2:32 build/C/man2/mprotect.2:41 +#: build/C/man2/mmap.2:43 build/C/man2/mmap2.2:32 build/C/man2/mprotect.2:42 #: build/C/man2/mremap.2:33 build/C/man2/msync.2:28 build/C/man3/mtrace.3:28 #: build/C/man2/posix_fadvise.2:31 build/C/man3/posix_fallocate.3:28 #: build/C/man3/posix_memalign.3:32 build/C/man2/readahead.2:31 @@ -135,7 +135,7 @@ msgstr "BIB<);>\n" #: build/C/man3/malloc_info.3:34 build/C/man3/malloc_stats.3:33 #: build/C/man3/malloc_trim.3:33 build/C/man3/malloc_usable_size.3:32 #: build/C/man3/mallopt.3:33 build/C/man3/mcheck.3:40 build/C/man2/mlock.2:39 -#: build/C/man2/mmap.2:54 build/C/man2/mmap2.2:39 build/C/man2/mprotect.2:47 +#: build/C/man2/mmap.2:54 build/C/man2/mmap2.2:39 build/C/man2/mprotect.2:48 #: build/C/man2/mremap.2:42 build/C/man2/msync.2:32 build/C/man3/mtrace.3:34 #: build/C/man2/posix_fadvise.2:50 build/C/man3/posix_fallocate.3:46 #: build/C/man3/posix_memalign.3:84 build/C/man2/readahead.2:38 @@ -152,7 +152,7 @@ msgstr "説明" msgid "" "The system calls B() and B() were " "introduced in Linux 2.5.36 and removed again in 2.5.54. They existed only " -"on i386 and ia64 (when built with B). In Linux 2.4.20 " +"on i386 and ia64 (when built with B). In Linux 2.4.20, " "the syscall numbers exist, but the calls fail with the error B." msgstr "" "システムコール B() と B() は Linux 2.5.36 " @@ -198,9 +198,10 @@ msgid "" msgstr "" "B() の I 引き数は、どのページを解放するかを指定する: " "I は B() の呼び出しの返り値である (全てのユーザがメモ" -"リを解放したときに、 そのメモリは初めて実際に解放される)。 B" -"() の I 引き数はヒントであり、カーネルはそれに従うかもしれないし、 従" -"わないかもしれない。 アドレスは正しく配置されなければならない。" +"リを解放したときに、 そのメモリは初めて実際に解放される)。 " +"B() の I 引き数はヒントであり、カーネルはそれに従うか" +"もしれないし、 従わないかもしれない。 アドレスは正しく配置されなければならな" +"い。" #. type: Plain text #: build/C/man2/alloc_hugepages.2:86 @@ -236,18 +237,18 @@ msgstr "" #. type: SH #: build/C/man2/alloc_hugepages.2:109 build/C/man3/alloca.3:60 -#: build/C/man2/cacheflush.2:53 build/C/man2/fallocate.2:183 +#: build/C/man2/cacheflush.2:53 build/C/man2/fallocate.2:228 #: build/C/man2/madvise.2:268 build/C/man3/malloc_get_state.3:61 #: build/C/man3/malloc_info.3:48 build/C/man3/malloc_trim.3:51 #: build/C/man3/malloc_usable_size.3:40 build/C/man3/mallopt.3:379 #: build/C/man3/mcheck.3:129 build/C/man2/mlock.2:116 build/C/man2/mmap.2:375 -#: build/C/man2/mmap2.2:54 build/C/man2/mprotect.2:78 +#: build/C/man2/mmap2.2:54 build/C/man2/mprotect.2:77 #: build/C/man2/mremap.2:127 build/C/man2/msync.2:68 #: build/C/man2/posix_fadvise.2:87 build/C/man3/posix_fallocate.3:66 #: build/C/man3/posix_memalign.3:142 build/C/man2/readahead.2:66 -#: build/C/man2/remap_file_pages.2:124 build/C/man3/shm_open.3:171 -#: build/C/man2/shmctl.2:283 build/C/man2/shmget.2:180 -#: build/C/man2/shmop.2:171 build/C/man2/subpage_prot.2:66 +#: build/C/man2/remap_file_pages.2:132 build/C/man3/shm_open.3:171 +#: build/C/man2/shmctl.2:283 build/C/man2/shmget.2:183 +#: build/C/man2/shmop.2:168 build/C/man2/subpage_prot.2:66 #: build/C/man2/sync_file_range.2:141 #, no-wrap msgid "RETURN VALUE" @@ -266,23 +267,23 @@ msgstr "" #. type: SH #: build/C/man2/alloc_hugepages.2:118 build/C/man2/cacheflush.2:59 -#: build/C/man2/fallocate.2:190 build/C/man2/madvise.2:275 +#: build/C/man2/fallocate.2:235 build/C/man2/madvise.2:275 #: build/C/man3/malloc_info.3:55 build/C/man3/malloc_trim.3:56 #: build/C/man3/mallopt.3:384 build/C/man2/mlock.2:122 build/C/man2/mmap.2:392 -#: build/C/man2/mmap2.2:61 build/C/man2/mprotect.2:85 +#: build/C/man2/mmap2.2:61 build/C/man2/mprotect.2:84 #: build/C/man2/mremap.2:135 build/C/man2/msync.2:73 #: build/C/man2/posix_fadvise.2:90 build/C/man3/posix_fallocate.3:72 #: build/C/man3/posix_memalign.3:157 build/C/man2/readahead.2:72 -#: build/C/man2/remap_file_pages.2:131 build/C/man3/shm_open.3:180 -#: build/C/man2/shmctl.2:305 build/C/man2/shmget.2:185 -#: build/C/man2/shmop.2:185 build/C/man2/subpage_prot.2:71 +#: build/C/man2/remap_file_pages.2:139 build/C/man3/shm_open.3:180 +#: build/C/man2/shmctl.2:305 build/C/man2/shmget.2:188 +#: build/C/man2/shmop.2:182 build/C/man2/subpage_prot.2:71 #: build/C/man2/sync_file_range.2:147 #, no-wrap msgid "ERRORS" msgstr "エラー" #. type: TP -#: build/C/man2/alloc_hugepages.2:119 build/C/man2/fallocate.2:270 +#: build/C/man2/alloc_hugepages.2:119 build/C/man2/fallocate.2:319 #, no-wrap msgid "B" msgstr "B" @@ -320,20 +321,20 @@ msgstr "" #. type: SH #: build/C/man2/alloc_hugepages.2:130 build/C/man3/alloca.3:70 -#: build/C/man2/cacheflush.2:75 build/C/man2/fallocate.2:321 -#: build/C/man2/madvise.2:325 build/C/man3/mallinfo.3:110 +#: build/C/man2/cacheflush.2:75 build/C/man2/fallocate.2:370 +#: build/C/man2/madvise.2:332 build/C/man3/mallinfo.3:110 #: build/C/man3/malloc_get_state.3:86 build/C/man3/malloc_hook.3:80 #: build/C/man3/malloc_info.3:63 build/C/man3/malloc_stats.3:55 -#: build/C/man3/malloc_trim.3:60 build/C/man3/malloc_usable_size.3:48 +#: build/C/man3/malloc_trim.3:60 build/C/man3/malloc_usable_size.3:53 #: build/C/man3/mallopt.3:392 build/C/man3/mcheck.3:145 #: build/C/man2/mlock.2:186 build/C/man2/mmap.2:495 build/C/man2/mmap2.2:77 -#: build/C/man2/mprotect.2:113 build/C/man2/mremap.2:185 +#: build/C/man2/mprotect.2:112 build/C/man2/mremap.2:185 #: build/C/man2/msync.2:96 build/C/man3/mtrace.3:78 -#: build/C/man2/posix_fadvise.2:112 build/C/man3/posix_fallocate.3:103 +#: build/C/man2/posix_fadvise.2:122 build/C/man3/posix_fallocate.3:108 #: build/C/man3/posix_memalign.3:182 build/C/man2/readahead.2:88 -#: build/C/man2/remap_file_pages.2:153 build/C/man3/shm_open.3:251 +#: build/C/man2/remap_file_pages.2:161 build/C/man3/shm_open.3:251 #: build/C/man7/shm_overview.7:101 build/C/man2/shmctl.2:377 -#: build/C/man2/shmget.2:232 build/C/man2/shmop.2:231 +#: build/C/man2/shmget.2:248 build/C/man2/shmop.2:228 #: build/C/man2/subpage_prot.2:96 build/C/man2/sync_file_range.2:180 #, no-wrap msgid "CONFORMING TO" @@ -350,18 +351,19 @@ msgstr "" #. type: SH #: build/C/man2/alloc_hugepages.2:133 build/C/man3/alloca.3:78 -#: build/C/man2/madvise.2:347 build/C/man3/malloc_get_state.3:88 +#: build/C/man2/madvise.2:354 build/C/man3/malloc_get_state.3:88 #: build/C/man3/malloc_hook.3:82 build/C/man3/malloc_info.3:65 #: build/C/man3/malloc_stats.3:57 build/C/man3/malloc_trim.3:62 -#: build/C/man3/malloc_usable_size.3:50 build/C/man3/mcheck.3:147 +#: build/C/man3/malloc_usable_size.3:55 build/C/man3/mcheck.3:147 #: build/C/man2/mlock.2:213 build/C/man2/mmap.2:513 build/C/man2/mmap2.2:79 -#: build/C/man2/mprotect.2:122 build/C/man2/mremap.2:191 +#: build/C/man2/mprotect.2:121 build/C/man2/mremap.2:191 #: build/C/man2/msync.2:120 build/C/man3/mtrace.3:80 -#: build/C/man2/posix_fadvise.2:121 build/C/man3/posix_memalign.3:221 -#: build/C/man2/readahead.2:93 build/C/man3/shm_open.3:257 -#: build/C/man7/shm_overview.7:103 build/C/man2/shmctl.2:382 -#: build/C/man2/shmget.2:238 build/C/man2/shmop.2:250 -#: build/C/man2/subpage_prot.2:98 build/C/man2/sync_file_range.2:183 +#: build/C/man2/posix_fadvise.2:131 build/C/man3/posix_memalign.3:221 +#: build/C/man2/readahead.2:93 build/C/man2/remap_file_pages.2:165 +#: build/C/man3/shm_open.3:257 build/C/man7/shm_overview.7:103 +#: build/C/man2/shmctl.2:382 build/C/man2/shmget.2:256 +#: build/C/man2/shmop.2:243 build/C/man2/subpage_prot.2:98 +#: build/C/man2/sync_file_range.2:183 #, no-wrap msgid "NOTES" msgstr "注意" @@ -389,53 +391,49 @@ msgstr "" #. type: SH #: build/C/man2/alloc_hugepages.2:150 build/C/man3/alloca.3:162 -#: build/C/man2/cacheflush.2:89 build/C/man2/fallocate.2:329 -#: build/C/man2/madvise.2:381 build/C/man3/mallinfo.3:279 +#: build/C/man2/cacheflush.2:89 build/C/man2/fallocate.2:378 +#: build/C/man2/madvise.2:388 build/C/man3/mallinfo.3:279 #: build/C/man3/malloc_get_state.3:114 build/C/man3/malloc_hook.3:142 #: build/C/man3/malloc_info.3:262 build/C/man3/malloc_stats.3:67 -#: build/C/man3/malloc_trim.3:82 build/C/man3/malloc_usable_size.3:64 -#: build/C/man3/mallopt.3:580 build/C/man3/mcheck.3:208 -#: build/C/man2/mlock.2:343 build/C/man2/mmap.2:735 build/C/man2/mmap2.2:101 -#: build/C/man2/mprotect.2:229 build/C/man2/mremap.2:214 +#: build/C/man3/malloc_trim.3:82 build/C/man3/malloc_usable_size.3:69 +#: build/C/man3/mallopt.3:568 build/C/man3/mcheck.3:208 +#: build/C/man2/mlock.2:343 build/C/man2/mmap.2:736 build/C/man2/mmap2.2:101 +#: build/C/man2/mprotect.2:228 build/C/man2/mremap.2:214 #: build/C/man2/msync.2:151 build/C/man3/mtrace.3:172 -#: build/C/man2/posix_fadvise.2:197 build/C/man3/posix_fallocate.3:133 +#: build/C/man2/posix_fadvise.2:215 build/C/man3/posix_fallocate.3:138 #: build/C/man3/posix_memalign.3:277 build/C/man2/readahead.2:113 -#: build/C/man2/remap_file_pages.2:164 build/C/man3/shm_open.3:282 +#: build/C/man2/remap_file_pages.2:183 build/C/man3/shm_open.3:282 #: build/C/man7/shm_overview.7:127 build/C/man2/shmctl.2:435 -#: build/C/man2/shmget.2:325 build/C/man2/shmop.2:295 -#: build/C/man2/subpage_prot.2:134 build/C/man2/sync_file_range.2:226 +#: build/C/man2/shmget.2:389 build/C/man2/shmop.2:301 +#: build/C/man2/subpage_prot.2:134 build/C/man2/sync_file_range.2:227 #, no-wrap msgid "COLOPHON" msgstr "この文書について" #. type: Plain text -#: build/C/man2/alloc_hugepages.2:157 build/C/man3/alloca.3:169 -#: build/C/man2/cacheflush.2:96 build/C/man2/fallocate.2:336 -#: build/C/man2/madvise.2:388 build/C/man3/mallinfo.3:286 -#: build/C/man3/malloc_get_state.3:121 build/C/man3/malloc_hook.3:149 -#: build/C/man3/malloc_info.3:269 build/C/man3/malloc_stats.3:74 -#: build/C/man3/malloc_trim.3:89 build/C/man3/malloc_usable_size.3:71 -#: build/C/man3/mallopt.3:587 build/C/man3/mcheck.3:215 -#: build/C/man2/mlock.2:350 build/C/man2/mmap.2:742 build/C/man2/mmap2.2:108 -#: build/C/man2/mprotect.2:236 build/C/man2/mremap.2:221 -#: build/C/man2/msync.2:158 build/C/man3/mtrace.3:179 -#: build/C/man2/posix_fadvise.2:204 build/C/man3/posix_fallocate.3:140 -#: build/C/man3/posix_memalign.3:284 build/C/man2/readahead.2:120 -#: build/C/man2/remap_file_pages.2:171 build/C/man3/shm_open.3:289 -#: build/C/man7/shm_overview.7:134 build/C/man2/shmctl.2:442 -#: build/C/man2/shmget.2:332 build/C/man2/shmop.2:302 -#: build/C/man2/subpage_prot.2:141 build/C/man2/sync_file_range.2:233 -#, fuzzy -#| msgid "" -#| "This page is part of release 3.64 of the Linux I project. A " -#| "description of the project, and information about reporting bugs, can be " -#| "found at \\%http://www.kernel.org/doc/man-pages/." -msgid "" -"This page is part of release 3.65 of the Linux I project. A " -"description of the project, and information about reporting bugs, can be " -"found at \\%http://www.kernel.org/doc/man-pages/." -msgstr "" -"この man ページは Linux I プロジェクトのリリース 3.64 の一部\n" +#: build/C/man2/alloc_hugepages.2:158 build/C/man3/alloca.3:170 +#: build/C/man2/cacheflush.2:97 build/C/man2/fallocate.2:386 +#: build/C/man2/madvise.2:396 build/C/man3/mallinfo.3:287 +#: build/C/man3/malloc_get_state.3:122 build/C/man3/malloc_hook.3:150 +#: build/C/man3/malloc_info.3:270 build/C/man3/malloc_stats.3:75 +#: build/C/man3/malloc_trim.3:90 build/C/man3/malloc_usable_size.3:77 +#: build/C/man3/mallopt.3:576 build/C/man3/mcheck.3:216 +#: build/C/man2/mlock.2:351 build/C/man2/mmap.2:744 build/C/man2/mmap2.2:109 +#: build/C/man2/mprotect.2:236 build/C/man2/mremap.2:222 +#: build/C/man2/msync.2:159 build/C/man3/mtrace.3:180 +#: build/C/man2/posix_fadvise.2:223 build/C/man3/posix_fallocate.3:146 +#: build/C/man3/posix_memalign.3:285 build/C/man2/readahead.2:121 +#: build/C/man2/remap_file_pages.2:191 build/C/man3/shm_open.3:290 +#: build/C/man7/shm_overview.7:135 build/C/man2/shmctl.2:443 +#: build/C/man2/shmget.2:397 build/C/man2/shmop.2:309 +#: build/C/man2/subpage_prot.2:142 build/C/man2/sync_file_range.2:235 +msgid "" +"This page is part of release 3.76 of the Linux I project. A " +"description of the project, information about reporting bugs, and the latest " +"version of this page, can be found at \\%http://www.kernel.org/doc/man-" +"pages/." +msgstr "" +"この man ページは Linux I プロジェクトのリリース 3.76 の一部\n" "である。プロジェクトの説明とバグ報告に関する情報は\n" "http://www.kernel.org/doc/man-pages/ に書かれている。" @@ -499,21 +497,23 @@ msgstr "" "い。" #. type: SH -#: build/C/man3/alloca.3:65 +#: build/C/man3/alloca.3:65 build/C/man3/malloc_usable_size.3:48 +#: build/C/man3/posix_fallocate.3:103 #, no-wrap msgid "ATTRIBUTES" -msgstr "" +msgstr "属性" #. type: SS -#: build/C/man3/alloca.3:66 +#: build/C/man3/alloca.3:66 build/C/man3/malloc_usable_size.3:49 +#: build/C/man3/posix_fallocate.3:104 #, no-wrap msgid "Multithreading (see pthreads(7))" -msgstr "" +msgstr "マルチスレッディング (pthreads(7) 参照)" #. type: Plain text #: build/C/man3/alloca.3:70 msgid "The B() function is thread-safe." -msgstr "" +msgstr "B() 関数はスレッドセーフである。" #. type: Plain text #: build/C/man3/alloca.3:72 @@ -535,10 +535,10 @@ msgstr "" #: build/C/man3/alloca.3:93 msgid "" "The B() function is machine- and compiler-dependent. For certain " -"applications, its use can improve efficiency compared to the use of B" -"(3) plus B(3). In certain cases, it can also simplify memory " -"deallocation in applications that use B(3) or B(3). " -"Otherwise, its use is discouraged." +"applications, its use can improve efficiency compared to the use of " +"B(3) plus B(3). In certain cases, it can also simplify " +"memory deallocation in applications that use B(3) or " +"B(3). Otherwise, its use is discouraged." msgstr "" "B() 関数は、機種とコンパイラに依存する。 特定のアプリケーションで" "は、この関数を使うと B(3) と B(3) を組み合わせて使った場合に" @@ -576,7 +576,7 @@ msgid "" "Normally, B(1) translates calls to B() with inlined code. " "This is not done when either the I<-ansi>, I<-std=c89>, I<-std=c99>, or the " "I<-std=c11> option is given B the header Ialloca.hE> is not " -"included. Otherwise (without an -ansi or -std=c* option) the glibc version " +"included. Otherwise, (without an -ansi or -std=c* option) the glibc version " "of Istdlib.hE> includes Ialloca.hE> and that contains " "the lines:" msgstr "" @@ -628,9 +628,9 @@ msgstr "" #. type: SH #: build/C/man3/alloca.3:145 build/C/man2/cacheflush.2:82 #: build/C/man3/mallinfo.3:114 build/C/man3/mallopt.3:406 -#: build/C/man2/mlock.2:311 build/C/man2/mmap.2:585 build/C/man3/mtrace.3:102 -#: build/C/man2/posix_fadvise.2:186 build/C/man2/readahead.2:98 -#: build/C/man2/shmget.2:311 +#: build/C/man2/mlock.2:311 build/C/man2/mmap.2:586 build/C/man3/mtrace.3:102 +#: build/C/man2/posix_fadvise.2:204 build/C/man2/readahead.2:98 +#: build/C/man2/shmget.2:375 #, no-wrap msgid "BUGS" msgstr "バグ" @@ -658,21 +658,21 @@ msgstr "" "使われるスタック領域の中に現れてしまうためである。" #. type: SH -#: build/C/man3/alloca.3:158 build/C/man2/fallocate.2:324 -#: build/C/man2/madvise.2:372 build/C/man3/mallinfo.3:270 +#: build/C/man3/alloca.3:158 build/C/man2/fallocate.2:373 +#: build/C/man2/madvise.2:379 build/C/man3/mallinfo.3:270 #: build/C/man3/malloc_get_state.3:111 build/C/man3/malloc_hook.3:137 #: build/C/man3/malloc_info.3:256 build/C/man3/malloc_stats.3:61 -#: build/C/man3/malloc_trim.3:78 build/C/man3/malloc_usable_size.3:62 -#: build/C/man3/mallopt.3:566 build/C/man3/mcheck.3:204 -#: build/C/man2/mlock.2:336 build/C/man2/mmap.2:710 build/C/man2/mmap2.2:95 -#: build/C/man2/mprotect.2:226 build/C/man2/mremap.2:199 +#: build/C/man3/malloc_trim.3:78 build/C/man3/malloc_usable_size.3:67 +#: build/C/man3/mallopt.3:554 build/C/man3/mcheck.3:204 +#: build/C/man2/mlock.2:336 build/C/man2/mmap.2:711 build/C/man2/mmap2.2:95 +#: build/C/man2/mprotect.2:225 build/C/man2/mremap.2:199 #: build/C/man2/msync.2:147 build/C/man3/mtrace.3:167 -#: build/C/man2/posix_fadvise.2:191 build/C/man3/posix_fallocate.3:128 +#: build/C/man2/posix_fadvise.2:209 build/C/man3/posix_fallocate.3:133 #: build/C/man3/posix_memalign.3:272 build/C/man2/readahead.2:107 -#: build/C/man2/remap_file_pages.2:157 build/C/man3/shm_open.3:271 +#: build/C/man2/remap_file_pages.2:176 build/C/man3/shm_open.3:271 #: build/C/man7/shm_overview.7:114 build/C/man2/shmctl.2:428 -#: build/C/man2/shmget.2:317 build/C/man2/shmop.2:287 -#: build/C/man2/subpage_prot.2:128 build/C/man2/sync_file_range.2:221 +#: build/C/man2/shmget.2:381 build/C/man2/shmop.2:293 +#: build/C/man2/subpage_prot.2:128 build/C/man2/sync_file_range.2:222 #, no-wrap msgid "SEE ALSO" msgstr "関連項目" @@ -782,19 +782,20 @@ msgstr "" "能ではない。" #. type: TP -#: build/C/man2/cacheflush.2:67 build/C/man2/fallocate.2:202 -#: build/C/man2/fallocate.2:214 build/C/man2/fallocate.2:224 -#: build/C/man2/fallocate.2:234 build/C/man2/madvise.2:282 -#: build/C/man3/malloc_info.3:56 build/C/man2/mlock.2:157 -#: build/C/man2/mlock.2:164 build/C/man2/mlock.2:176 build/C/man2/mmap.2:421 -#: build/C/man2/mmap.2:429 build/C/man2/mmap.2:434 build/C/man2/mmap2.2:65 -#: build/C/man2/mprotect.2:95 build/C/man2/mremap.2:151 -#: build/C/man2/msync.2:80 build/C/man2/posix_fadvise.2:94 -#: build/C/man3/posix_fallocate.3:81 build/C/man3/posix_memalign.3:158 -#: build/C/man2/readahead.2:77 build/C/man2/remap_file_pages.2:132 -#: build/C/man2/remap_file_pages.2:139 build/C/man3/shm_open.3:213 -#: build/C/man2/shmctl.2:328 build/C/man2/shmget.2:199 -#: build/C/man2/shmop.2:200 build/C/man2/shmop.2:223 +#: build/C/man2/cacheflush.2:67 build/C/man2/fallocate.2:247 +#: build/C/man2/fallocate.2:259 build/C/man2/fallocate.2:269 +#: build/C/man2/fallocate.2:279 build/C/man2/fallocate.2:287 +#: build/C/man2/madvise.2:282 build/C/man3/malloc_info.3:56 +#: build/C/man2/mlock.2:157 build/C/man2/mlock.2:164 build/C/man2/mlock.2:176 +#: build/C/man2/mmap.2:421 build/C/man2/mmap.2:429 build/C/man2/mmap.2:434 +#: build/C/man2/mmap2.2:65 build/C/man2/mprotect.2:94 +#: build/C/man2/mremap.2:151 build/C/man2/msync.2:80 +#: build/C/man2/posix_fadvise.2:94 build/C/man3/posix_fallocate.3:81 +#: build/C/man3/posix_memalign.3:158 build/C/man2/readahead.2:77 +#: build/C/man2/remap_file_pages.2:140 build/C/man2/remap_file_pages.2:147 +#: build/C/man3/shm_open.3:213 build/C/man2/shmctl.2:328 +#: build/C/man2/shmget.2:207 build/C/man2/shmget.2:215 +#: build/C/man2/shmop.2:197 build/C/man2/shmop.2:220 #: build/C/man2/subpage_prot.2:77 build/C/man2/sync_file_range.2:152 #, no-wrap msgid "B" @@ -805,8 +806,8 @@ msgstr "B" msgid "I is not one of B, B, or B." msgstr "I パラメータが B, B, B のどれでもない。" -#. FIXME This system call was only on MIPS back in 1.2 days, but -#. by now it is on a number of other architectures (but not i386). +#. FIXME The cacheflush() system call was only on MIPS back in 1.2 days, +#. but by now it is on a number of other architectures (but not i386). #. Investigate the details and update this page. #. Irix 6.5 appears to have a cacheflush() syscall -- mtk #. type: Plain text @@ -834,11 +835,11 @@ msgid "FALLOCATE" msgstr "FALLOCATE" #. type: TH -#: build/C/man2/fallocate.2:11 build/C/man2/shmget.2:38 -#, fuzzy, no-wrap -#| msgid "2013-04-17" -msgid "2014-04-17" -msgstr "2013-04-17" +#: build/C/man2/fallocate.2:11 build/C/man3/mallopt.3:26 +#: build/C/man2/shmop.2:41 +#, no-wrap +msgid "2014-07-08" +msgstr "2014-07-08" #. type: Plain text #: build/C/man2/fallocate.2:14 @@ -995,7 +996,7 @@ msgstr "" msgid "" "Not all filesystems support B; if a filesystem doesn't " "support the operation, an error is returned. The operation is supported on " -"at least the following filesystems" +"at least the following filesystems:" msgstr "" "すべてのファイルシステムで B がサポートされているわけで" "はない。 ファイルシステムがこの操作をサポートしていない場合は、 エラーが返" @@ -1004,10 +1005,12 @@ msgstr "" #. type: IP #: build/C/man2/fallocate.2:117 build/C/man2/fallocate.2:119 #: build/C/man2/fallocate.2:122 build/C/man2/fallocate.2:124 +#: build/C/man2/fallocate.2:222 build/C/man2/fallocate.2:225 #: build/C/man2/madvise.2:286 build/C/man2/madvise.2:292 #: build/C/man2/madvise.2:295 build/C/man2/madvise.2:298 #: build/C/man2/madvise.2:301 build/C/man3/mallopt.3:235 -#: build/C/man3/mallopt.3:241 +#: build/C/man3/mallopt.3:241 build/C/man2/shmop.2:62 build/C/man2/shmop.2:68 +#: build/C/man2/shmop.2:80 #, no-wrap msgid "*" msgstr "*" @@ -1036,22 +1039,13 @@ msgstr "tmpfs (Linux 3.5 以降)" #. type: SS #: build/C/man2/fallocate.2:127 -#, fuzzy, no-wrap -#| msgid "Deallocating file space" +#, no-wrap msgid "Collapsing file space" -msgstr "ファイル空間の割り当て解除" +msgstr "ファイル空間の一部削除" #. commit 00f5e61998dd17f5375d9dfc01331f104b83f841 #. type: Plain text #: build/C/man2/fallocate.2:147 -#, fuzzy -#| msgid "" -#| "Specifying the B flag (available since Linux " -#| "2.6.38) in I deallocates space (i.e., creates a hole) in the byte " -#| "range starting at I and continuing for I bytes. Within the " -#| "specified range, partial filesystem blocks are zeroed, and whole " -#| "filesystem blocks are removed from the file. After a successful call, " -#| "subsequent reads from this range will return zeroes." msgid "" "Specifying the B flag (available since Linux 3.15) " "in I removes a byte range from a file, without leaving a hole. The " @@ -1059,13 +1053,7 @@ msgid "" "bytes. At the completion of the operation, the contents of the file " "starting at the location I will be appended at the location " "I, and the file will be I bytes smaller." -msgstr "" -"B フラグ (Linux 2.6.38 以降で利用可能) を I に指" -"定すると、 I で始まる I バイトの領域の空間を解放する (ホールを作" -"成する)。 指定された範囲のうち、 部分的に使用しているファイルシステムブロック" -"は 0 で埋められ、 全体を使用しているファイルシステムブロックはそのファイルか" -"ら削除される。 呼び出しが成功すると、 これ以降のこの範囲からの読み出しでは 0 " -"を返す。" +msgstr "B フラグ (Linux 3.15 以降で利用可能) を I に指定すると、 指定したバイト範囲をファイルから削除する。 その際、ホールを残さない。 削除されるバイト範囲は I から始まる I バイトの範囲である。 操作が完了すると、 ファイルの I の位置から始まる内容が I の位置に見えるようになり、 ファイルのサイズは I バイトだけ小さくなる。" #. type: Plain text #: build/C/man2/fallocate.2:161 @@ -1077,6 +1065,11 @@ msgid "" "such a requirement, B() will fail with the error B if " "this requirement is violated." msgstr "" +"効率的に動作する実装にするため、ファイルシステムはこの操作の粒度に制限を設け" +"ることがある。 通常は I と I はファイルシステムの論理ブロックサ" +"イズの倍数でなければならない。 論理ブロックサイズはファイルシステムの種類や設" +"定により様々である。 ファイルシステムにこのような要求条件がある場合、 その要" +"求条件が満たされていなければ、 B はエラー B で失敗する。" #. type: Plain text #: build/C/man2/fallocate.2:170 @@ -1085,6 +1078,9 @@ msgid "" "of file, an error is returned; instead, use B(2) to truncate a " "file." msgstr "" +"I と I で指定された範囲がファイルの末尾かそれより先まで達してい" +"る場合、 エラーが返される。 代わりに、ファイルの切り詰めを行う " +"B(2) を使用すること。" #. type: Plain text #: build/C/man2/fallocate.2:175 @@ -1092,6 +1088,8 @@ msgid "" "No other flags may be specified in I in conjunction with " "B." msgstr "" +"B と他のフラグを同時に I に指定することはでき" +"ない。" #. commit 9eb79482a97152930b113b51dff530aba9e28c8e #. commit e1d8fb88a64c1f8094b9f6c3b6d2d9e6719c970d @@ -1101,18 +1099,77 @@ msgid "" "As at Linux 3.15, B is supported by ext4 (only for " "extent-based files) and XFS." msgstr "" +"Linux 3.15 時点では B は ext4 (エクステントベースの" +"ファイル) と XFS でサポートされている。" + +#. type: SS +#: build/C/man2/fallocate.2:183 +#, no-wrap +msgid "Zeroing file space" +msgstr "ファイル空間のゼロ埋め" + +#. commit 409332b65d3ed8cfa7a8030f1e9d52f372219642 +#. type: Plain text +#: build/C/man2/fallocate.2:199 +msgid "" +"Specifying the B flag (available since Linux 3.14) in " +"I zeroes space in the byte range starting at I and continuing " +"for I bytes. Within the specified range, blocks are preallocated for " +"the regions that span the holes in the file. After a successful call, " +"subsequent reads from this range will return zeroes." +msgstr "B フラグ (Linux 3.14 以降で利用可能) を I に指定すると、 I で始まる I バイト範囲の空間をゼロ埋めする。 指定された範囲の中では、ブロックは、そのファイル内のホールが広がる領域にあらかじめ割り当てられたものである。 呼び出しが成功すると、 これ以降のこの範囲からの読み出しでは 0 を返す。" + +#. type: Plain text +#: build/C/man2/fallocate.2:205 +msgid "" +"Zeroing is done within the filesystem preferably by converting the range " +"into unwritten extents. This approach means that the specified range will " +"not be physically zeroed out on the device (except for partial blocks at the " +"either end of the range), and I/O is (otherwise) required only to update " +"metadata." +msgstr "ゼロ埋めは、ファイルシステム内部では、指定された範囲を書き込みを伴わないエクステントに変換する方法をできるだけ使って行われる。 この方法は、指定された範囲について物理的にゼロ埋めしたデータがデバイスに書き込まれるのではないことを意味する (例外は指定された範囲の端の部分的に使用しているブロックである)。 (これ以外で) I/O が必要なのはメタデータの更新だけである。" + +#. type: Plain text +#: build/C/man2/fallocate.2:217 +msgid "" +"If the B flag is additionally specified in I, the " +"behavior of the call is similar, but the file size will not be changed even " +"if I+I is greater than the file size. This behavior is the " +"same as when preallocating space with B specified." +msgstr "B フラグが I に追加で指定された場合、 このシステムコールの動作は似ているが、 I+I がファイルサイズよりも大きい場合であってもファイルサイズは変更されない点が異なる。 この動作は B を指定してスペースを前もって割り当てた場合と同じである。" + +#. type: Plain text +#: build/C/man2/fallocate.2:222 +msgid "" +"Not all filesystems support B; if a filesystem doesn't " +"support the operation, an error is returned. The operation is supported on " +"at least the following filesystems:" +msgstr "" +"すべてのファイルシステムで B がサポートされているわけで" +"はない。 ファイルシステムがこの操作をサポートしていない場合は、 エラーが返" +"る。 この操作は少なくとも以下のファイルシステムでサポートされている。" + +#. commit 376ba313147b4172f3e8cf620b9fb591f3e8cdfa +#. type: Plain text +#: build/C/man2/fallocate.2:225 +msgid "XFS (since Linux 3.14)" +msgstr "XFS (Linux 3.14 以降)" + +#. commit b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 +#. type: Plain text +#: build/C/man2/fallocate.2:228 +msgid "ext4, for extent-based files (since Linux 3.14)" +msgstr "ext4 のエクステントベースのファイル (Linux 3.14 以降)" #. type: Plain text -#: build/C/man2/fallocate.2:190 +#: build/C/man2/fallocate.2:235 msgid "" "On success, B() returns zero. On error, -1 is returned and " "I is set to indicate the error." -msgstr "" -"成功の場合、 B() は 0 を返す。 エラーの場合、-1 を返し、 I " -"にエラーを示す値を設定する。" +msgstr "成功の場合、 B() は 0 を返す。 エラーの場合、-1 を返し、 I にエラーを示す値を設定する。" #. type: TP -#: build/C/man2/fallocate.2:191 build/C/man2/madvise.2:279 +#: build/C/man2/fallocate.2:236 build/C/man2/madvise.2:279 #: build/C/man2/mmap.2:415 build/C/man2/posix_fadvise.2:91 #: build/C/man3/posix_fallocate.3:73 build/C/man2/readahead.2:73 #: build/C/man2/sync_file_range.2:148 @@ -1121,66 +1178,65 @@ msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:195 build/C/man3/posix_fallocate.3:77 +#: build/C/man2/fallocate.2:240 build/C/man3/posix_fallocate.3:77 msgid "I is not a valid file descriptor, or is not opened for writing." msgstr "" "I が有効なファイルディスクリプタでないか、 書き込み用としてオープンされて" "いない。" #. type: TP -#: build/C/man2/fallocate.2:195 build/C/man3/posix_fallocate.3:77 +#: build/C/man2/fallocate.2:240 build/C/man3/posix_fallocate.3:77 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:199 +#: build/C/man2/fallocate.2:244 msgid "I+I exceeds the maximum file size." msgstr "I がファイルサイズの最大値よりも大きい。" #. type: TP -#: build/C/man2/fallocate.2:199 +#: build/C/man2/fallocate.2:244 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:202 +#: build/C/man2/fallocate.2:247 msgid "A signal was caught during execution." msgstr "実行中にシグナルが捕捉された。" #. type: Plain text -#: build/C/man2/fallocate.2:214 build/C/man3/posix_fallocate.3:87 +#: build/C/man2/fallocate.2:259 build/C/man3/posix_fallocate.3:87 msgid "I was less than 0, or I was less than or equal to 0." msgstr "I が 0 未満だったか、 I が 0 以下だった。" #. type: Plain text -#: build/C/man2/fallocate.2:224 +#: build/C/man2/fallocate.2:269 msgid "" "I is B and the range specified by I " "plus I reaches or passes the end of the file." msgstr "" +"I が B で、 I と I で指定された" +"範囲がファイルの末尾かそれより先まで達している。" #. type: Plain text -#: build/C/man2/fallocate.2:234 +#: build/C/man2/fallocate.2:279 msgid "" "I is B, but either I or I is " "not a multiple of the filesystem block size." msgstr "" +"I が B だが、 I か I のいずれか" +"がファイルシステムのブロックサイズの倍数ではない。" #. type: Plain text -#: build/C/man2/fallocate.2:241 +#: build/C/man2/fallocate.2:287 msgid "" -"mode contains both B and other flags; no other " +"I contains both B and other flags; no other " "flags are permitted with B." msgstr "" - -#. type: TP -#: build/C/man2/fallocate.2:241 -#, fuzzy, no-wrap -#| msgid "I" -msgid "I" -msgstr "I" +"I に B と他のフラグの両方が指定されている。 " +"B と他のフラグを一緒に使うことができない。" #. There was a inconsistency in 3.15-rc1, that should be resolved so that all #. filesystems use this error for this case. (Tytso says ex4 will change.) @@ -1190,33 +1246,35 @@ msgstr "I" #. Newsgroups: gmane.linux.man, gmane.linux.file-systems #. Date: 2014-04-17 13:40:05 GMT #. type: Plain text -#: build/C/man2/fallocate.2:255 +#: build/C/man2/fallocate.2:304 msgid "" -"is B, but the file referred to by I is not a " -"regular file." +"I is B or B, but the " +"file referred to by I is not a regular file." msgstr "" +"I が B か B だが、 " +"I が参照しているファイルが通常のファイルではない。" #. type: TP -#: build/C/man2/fallocate.2:255 build/C/man2/madvise.2:310 +#: build/C/man2/fallocate.2:304 build/C/man2/madvise.2:310 #: build/C/man2/sync_file_range.2:160 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:258 +#: build/C/man2/fallocate.2:307 msgid "An I/O error occurred while reading from or writing to a filesystem." msgstr "ファイルシステムとの読み書き中に入出力エラーが発生した。" #. type: TP -#: build/C/man2/fallocate.2:258 build/C/man2/mmap.2:450 +#: build/C/man2/fallocate.2:307 build/C/man2/mmap.2:450 #: build/C/man3/posix_fallocate.3:87 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:265 +#: build/C/man2/fallocate.2:314 msgid "" "I does not refer to a regular file or a directory. (If I is a pipe " "or FIFO, a different error results.)" @@ -1225,32 +1283,32 @@ msgstr "" "を参照している場合、別のエラーが発生する)。" #. type: TP -#: build/C/man2/fallocate.2:265 build/C/man3/posix_fallocate.3:91 -#: build/C/man2/shmget.2:217 build/C/man2/sync_file_range.2:166 +#: build/C/man2/fallocate.2:314 build/C/man3/posix_fallocate.3:91 +#: build/C/man2/shmget.2:233 build/C/man2/sync_file_range.2:166 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:270 build/C/man3/posix_fallocate.3:96 +#: build/C/man2/fallocate.2:319 build/C/man3/posix_fallocate.3:96 msgid "" "There is not enough space left on the device containing the file referred to " "by I." msgstr "I が参照するファイルを含むデバイスに十分な空き領域がない。" #. type: Plain text -#: build/C/man2/fallocate.2:274 +#: build/C/man2/fallocate.2:323 msgid "This kernel does not implement B()." msgstr "このカーネルでは B() は実装されていない。" #. type: TP -#: build/C/man2/fallocate.2:274 +#: build/C/man2/fallocate.2:323 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:283 +#: build/C/man2/fallocate.2:332 msgid "" "The filesystem containing the file referred to by I does not support " "this operation; or the I is not supported by the filesystem containing " @@ -1261,68 +1319,67 @@ msgstr "" "I をサポートしていない。" #. type: TP -#: build/C/man2/fallocate.2:283 build/C/man2/mlock.2:143 +#: build/C/man2/fallocate.2:332 build/C/man2/mlock.2:143 #: build/C/man2/mlock.2:182 build/C/man2/mmap.2:458 build/C/man2/shmctl.2:353 -#: build/C/man2/shmget.2:225 +#: build/C/man2/shmget.2:241 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:301 -#, fuzzy -#| msgid "" -#| "The file referred to by I is marked immutable (see B(1)). " -#| "Or: I specifies B and the file referred to by " -#| "I is marked append-only (see B(1))." +#: build/C/man2/fallocate.2:350 msgid "" "The file referred to by I is marked immutable (see B(1)). Or: " "I specifies B or B and " "the file referred to by I is marked append-only (see B(1))." msgstr "" -"I が参照するファイルに変更不可 (immutable) の属性が付いている (B" -"(1) 参照)。 I に B が指定されたが、 I が参照" -"するファイルに追加のみ (append-only) の属性が付いている (B(1) 参照)。" +"I が参照するファイルに変更不可 (immutable) の属性が付いている " +"(B(1) 参照)。 I に B か " +"B が指定されたが、 I が参照するファイルに追加の" +"み (append-only) の属性が付いている (B(1) 参照)。" #. type: TP -#: build/C/man2/fallocate.2:301 build/C/man2/posix_fadvise.2:97 +#: build/C/man2/fallocate.2:350 build/C/man2/posix_fadvise.2:97 #: build/C/man3/posix_fallocate.3:96 build/C/man2/sync_file_range.2:169 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:305 +#: build/C/man2/fallocate.2:354 msgid "I refers to a pipe or FIFO." msgstr "I がパイプか FIFO を参照している。" #. type: TP -#: build/C/man2/fallocate.2:305 build/C/man2/mmap.2:467 +#: build/C/man2/fallocate.2:354 build/C/man2/mmap.2:467 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:313 +#: build/C/man2/fallocate.2:362 msgid "" "I specifies B, but the file referred to by " "I is currently being executed." msgstr "" +"I に B が指定されたが、 I が参照するファ" +"イルは現在実行中である。" #. type: SH -#: build/C/man2/fallocate.2:313 build/C/man3/malloc_info.3:60 -#: build/C/man3/mcheck.3:134 build/C/man2/mmap2.2:74 -#: build/C/man2/posix_fadvise.2:104 build/C/man3/posix_fallocate.3:100 -#: build/C/man3/posix_memalign.3:167 build/C/man2/readahead.2:83 -#: build/C/man2/remap_file_pages.2:148 build/C/man3/shm_open.3:249 -#: build/C/man2/subpage_prot.2:90 build/C/man2/sync_file_range.2:177 +#: build/C/man2/fallocate.2:362 build/C/man2/madvise.2:325 +#: build/C/man3/malloc_info.3:60 build/C/man3/mcheck.3:134 +#: build/C/man2/mmap2.2:74 build/C/man2/posix_fadvise.2:107 +#: build/C/man3/posix_fallocate.3:100 build/C/man3/posix_memalign.3:167 +#: build/C/man2/readahead.2:83 build/C/man2/remap_file_pages.2:156 +#: build/C/man3/shm_open.3:249 build/C/man2/subpage_prot.2:90 +#: build/C/man2/sync_file_range.2:177 #, no-wrap msgid "VERSIONS" msgstr "バージョン" #. See http://sourceware.org/bugzilla/show_bug.cgi?id=14964 #. type: Plain text -#: build/C/man2/fallocate.2:321 +#: build/C/man2/fallocate.2:370 msgid "" "B() is available on Linux since kernel 2.6.23. Support is " "provided by glibc since version 2.10. The B flags are defined " @@ -1333,12 +1390,12 @@ msgstr "" "ファイルで定義されているのは、バージョン 2.18 以降のみである。" #. type: Plain text -#: build/C/man2/fallocate.2:324 +#: build/C/man2/fallocate.2:373 msgid "B() is Linux-specific." msgstr "B() は Linux 固有である。" #. type: Plain text -#: build/C/man2/fallocate.2:329 +#: build/C/man2/fallocate.2:378 msgid "" "B(1), B(2), B(3), B(3)" msgstr "" @@ -1351,11 +1408,10 @@ msgid "MADVISE" msgstr "MADVISE" #. type: TH -#: build/C/man2/madvise.2:35 build/C/man2/msync.2:25 -#, fuzzy, no-wrap -#| msgid "2014-04-06" -msgid "2014-04-20" -msgstr "2014-04-06" +#: build/C/man2/madvise.2:35 build/C/man2/posix_fadvise.2:28 +#, no-wrap +msgid "2014-12-31" +msgstr "2014-12-31" #. type: Plain text #: build/C/man2/madvise.2:38 @@ -1543,11 +1599,11 @@ msgstr "B (Linux 2.6.16 以降)" #. type: Plain text #: build/C/man2/madvise.2:144 msgid "" -"Do not make the pages in this range available to the child after a B" -"(2). This is useful to prevent copy-on-write semantics from changing the " -"physical location of a page(s) if the parent writes to it after a B" -"(2). (Such page relocations cause problems for hardware that DMAs into the " -"page(s).)" +"Do not make the pages in this range available to the child after a " +"B(2). This is useful to prevent copy-on-write semantics from changing " +"the physical location of a page(s) if the parent writes to it after a " +"B(2). (Such page relocations cause problems for hardware that DMAs " +"into the page(s).)" msgstr "" "B(2) が行われた後、指定された範囲のページを子プロセスが利用できないよ" "うにする。 この機能は、書き込み時コピー (copy-on-write) 方式で、 B(2) " @@ -1567,8 +1623,8 @@ msgid "" "Undo the effect of B, restoring the default behavior, whereby " "a mapping is inherited across B(2)." msgstr "" -"B の影響を取り消し、デフォルトの動作に戻す。 つまり、 B" -"(2) の前後でマッピングは継承されるようになる。" +"B の影響を取り消し、デフォルトの動作に戻す。 つまり、 " +"B(2) の前後でマッピングは継承されるようになる。" #. type: TP #: build/C/man2/madvise.2:150 @@ -1586,6 +1642,11 @@ msgid "" "error-handling code; it is available only if the kernel was configured with " "B." msgstr "" +"ページに毒入れを行い、ハードウェアメモリの破損のようにそのページを取り扱う。 " +"この操作は特権 (B を持った) プロセスだけが利用できる。 この操" +"作の結果、呼び出したプロセスは B を受け取り、そのページはアンマップさ" +"れる。 この機能はメモリのエラー処理コードをテストするためのものである。 カー" +"ネルで B が有効になっている場合にのみ利用可能である。" #. type: TP #: build/C/man2/madvise.2:162 @@ -1606,6 +1667,14 @@ msgid "" "handling code; it is available only if the kernel was configured with " "B." msgstr "" +"I と I で指定された範囲のページをソフトオフラインにする。 指定" +"された範囲の各ページのメモリの内容は保持され (すなわち、次にアクセスされた際" +"に、同じ内容が見えるが、新しい物理ページフレームになる)、 元のフレームはオフ" +"ラインになる (すなわち、 そのフレームは使用される、通常のメモリ管理からは取り" +"除かれる)。 B 操作の影響は呼び出したプロセスには見えない " +"(つまり呼び出したプロセスの動作は変化しない)。 この機能はメモリのエラー処理" +"コードをテストすることを目的に作られた。 カーネルで B " +"が有効になっている場合にのみ利用可能である。" #. type: TP #: build/C/man2/madvise.2:180 @@ -1629,6 +1698,19 @@ msgid "" "B operations are available only if the kernel was " "configured with B." msgstr "" +"Kernel Samepage Merging (KSM; カーネルによる同じページの統合) を I と " +"I で指定された領域に対して有効にする。 カーネルは、 統合可能の印がつ" +"いたユーザーメモリの領域を定期的にスキャンし、内容が全く同じページを探す。 内" +"容が全く同じページがあれば、それらのページは書き込み保護 (write-protected) が" +"かかった一つのページで置き換えられる (プロセスが後でページの内容を更新しよう" +"とした際には自動的にページのコピーが行われる)。 KSM はプライベートな無名ペー" +"ジ (anonymous pages) だけを統合する (B(2) 参照)。 KSM 機能は、 同じデー" +"タのインスタンスを大量に生成するアプリケーション (KVM などの仮想化システム) " +"での利用を想定している。 この機能はプロセッシング能力を大量に消費する場合があ" +"り、注意して使用すること。 詳細は Linux カーネルソースファイル " +"I を参照。 B と " +"B は、 カーネルで B オプションを有効になってい" +"る場合にのみ利用できる。" #. type: TP #: build/C/man2/madvise.2:205 @@ -1643,6 +1725,9 @@ msgid "" "address range; KSM unmerges whatever pages it had merged in the address " "range specified by I and I." msgstr "" +"指定されたアドレス範囲に関して、それ以前に行われた B 操作の効" +"果を取り消す。 KSM は、 I と I で指定されたアドレス範囲の統合" +"済みのすべてのページの統合解除を行う。" #. type: TP #: build/C/man2/madvise.2:214 @@ -1670,6 +1755,20 @@ msgid "" "B operations are available only if the kernel was " "configured with B." msgstr "" +"Transparent Huge Pages (THP) を I と I で指定された領域に対して" +"有効にする。 現在のところ、Transparent Huge Pages はプライベートな無名ページ " +"(anonymous pages) についてのみ機能する。 カーネルは定期的にヒュージページ " +"(huge page) 候補の印がついたページをスキャンし、ヒュージページと置き換える。 " +"また、カーネルはその領域がヒュージページのサイズに合っている場合、ヒュージ" +"ページを直接割り当てる (B(2) 参照)。 この機能は、大きなデータ" +"マッピングを使用し、一度にそのメモリの大きな範囲にアクセスするようなアプリ" +"ケーション (例えば QEMU のような仮想化システム) で使うことを主に想定されてい" +"る。 この機能は非常に簡単にメモリを浪費してしまう (例えば、1 バイトしかアクセ" +"スしない 2MB のマッピングが、 4KB ページではなく 2MB の実際のメモリを使ってし" +"まう)。 詳細は Linux カーネルソースファイル I を参照。 B と B は、 カーネルで " +"B オプションを有効になっている場合にのみ利用でき" +"る。" #. type: TP #: build/C/man2/madvise.2:243 @@ -1683,6 +1782,8 @@ msgid "" "Ensures that memory in the address range specified by I and I " "will not be collapsed into huge pages." msgstr "" +"I と I で指定されたアドレス範囲のメモリがヒュージページに組み込" +"まれないようにする。" #. type: TP #: build/C/man2/madvise.2:250 @@ -1699,6 +1800,11 @@ msgid "" "B takes precedence over the bit mask that is set via the I file (see B(5))." msgstr "" +"コアダンプから I と I で指定された範囲のページを除外する。 これ" +"は、 コアダンプに含めても役に立たないことが分かっている大きなメモリ領域がある" +"アプリケーションで有用である。 B の効果は I ファイル経由で設定されたビットマスクよりも優先される " +"(B(5) 参照)。" #. type: TP #: build/C/man2/madvise.2:264 @@ -1709,7 +1815,7 @@ msgstr "B (Linux 3.4 以降)" #. type: Plain text #: build/C/man2/madvise.2:268 msgid "Undo the effect of an earlier B." -msgstr "" +msgstr "以前の B の効果を取り消す。" #. type: Plain text #: build/C/man2/madvise.2:275 @@ -1790,11 +1896,11 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:316 build/C/man2/madvise.2:321 #: build/C/man2/mlock.2:123 build/C/man2/mlock.2:131 build/C/man2/mlock.2:169 -#: build/C/man2/mmap.2:454 build/C/man2/mprotect.2:100 -#: build/C/man2/mprotect.2:103 build/C/man2/mremap.2:179 +#: build/C/man2/mmap.2:454 build/C/man2/mprotect.2:99 +#: build/C/man2/mprotect.2:102 build/C/man2/mremap.2:179 #: build/C/man2/msync.2:93 build/C/man3/posix_memalign.3:164 -#: build/C/man2/shmctl.2:337 build/C/man2/shmget.2:214 -#: build/C/man2/shmop.2:214 build/C/man2/subpage_prot.2:87 +#: build/C/man2/shmctl.2:337 build/C/man2/shmget.2:230 +#: build/C/man2/shmop.2:211 build/C/man2/subpage_prot.2:87 #: build/C/man2/sync_file_range.2:163 #, no-wrap msgid "B" @@ -1814,9 +1920,17 @@ msgstr "" "指定した範囲のアドレスが、現在マップされていない。 あるいはプロセスのアドレス" "空間の内部にない。" +#. commit d3ac21cacc24790eb45d735769f35753f5b56ceb +#. type: Plain text +#: build/C/man2/madvise.2:332 +msgid "" +"Since Linux 3.18, support for this system call is optional, depending on the " +"setting of the B configuration option." +msgstr "Linux 3.18 以降では、このシステムコールのサポートは任意となり、利用できるかはカーネルが B オプションを有効にしてコンパイルされているかに依存する。" + #. FIXME . Write a posix_madvise(3) page. #. type: Plain text -#: build/C/man2/madvise.2:338 +#: build/C/man2/madvise.2:345 msgid "" "POSIX.1b. POSIX.1-2001 describes B(3) with constants " "B, B, and so on, with a behavior close " @@ -1829,7 +1943,7 @@ msgstr "" "類似の関数が存在する。" #. type: Plain text -#: build/C/man2/madvise.2:347 +#: build/C/man2/madvise.2:354 msgid "" "B, B, B, B, " "B, and B are Linux-specific." @@ -1838,14 +1952,14 @@ msgstr "" "B, B は Linux 固有である。" #. type: SS -#: build/C/man2/madvise.2:348 build/C/man2/mlock.2:274 -#: build/C/man2/shmget.2:305 +#: build/C/man2/madvise.2:355 build/C/man2/mlock.2:274 +#: build/C/man2/shmget.2:369 #, no-wrap msgid "Linux notes" msgstr "Linux での注意" #. type: Plain text -#: build/C/man2/madvise.2:356 +#: build/C/man2/madvise.2:363 msgid "" "The current Linux implementation (2.4.0) views this system call more as a " "command than as advice and hence may return an error when it cannot do what " @@ -1862,7 +1976,7 @@ msgstr "" #. .BR madvise () #. function first appeared in 4.4BSD. #. type: Plain text -#: build/C/man2/madvise.2:372 +#: build/C/man2/madvise.2:379 msgid "" "The Linux implementation requires that the address I be page-aligned, " "and allows I to be zero. If there are some parts of the specified " @@ -1877,17 +1991,13 @@ msgstr "" "返す)。" #. type: Plain text -#: build/C/man2/madvise.2:381 -#, fuzzy -#| msgid "" -#| "B(2), B(2), B(2), B(2), B(2), " -#| "B(2), B(5)" +#: build/C/man2/madvise.2:388 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(5)" msgstr "" "B(2), B(2), B(2), B(2), B(2), " -"B(2), B(5)" +"B(2), B(2), B(5)" #. type: TH #: build/C/man3/mallinfo.3:26 @@ -2095,7 +2205,7 @@ msgid "" "function exists on many System V derivatives, and was specified in the SVID." msgstr "" -#. FIXME http://sourceware.org/bugzilla/show_bug.cgi?id=208 +#. FIXME . http://sourceware.org/bugzilla/show_bug.cgi?id=208 #. See the 24 Aug 2011 mail by Paul Pluzhnikov: #. "[patch] Fix mallinfo() to accumulate results for all arenas" #. on libc-alpha@sourceware.org @@ -2118,9 +2228,9 @@ msgstr "" #. type: SH #: build/C/man3/mallinfo.3:134 build/C/man3/malloc_hook.3:89 -#: build/C/man3/malloc_info.3:84 build/C/man3/mallopt.3:466 -#: build/C/man3/mcheck.3:159 build/C/man2/mmap.2:628 -#: build/C/man2/mprotect.2:148 build/C/man3/mtrace.3:108 +#: build/C/man3/malloc_info.3:84 build/C/man3/mallopt.3:454 +#: build/C/man3/mcheck.3:159 build/C/man2/mmap.2:629 +#: build/C/man2/mprotect.2:147 build/C/man3/mtrace.3:108 #, no-wrap msgid "EXAMPLE" msgstr "例" @@ -2249,8 +2359,8 @@ msgstr "" #. type: SS #: build/C/man3/mallinfo.3:203 build/C/man3/malloc_info.3:167 -#: build/C/man3/mallopt.3:532 build/C/man3/mcheck.3:176 -#: build/C/man2/mmap.2:640 build/C/man2/mprotect.2:165 +#: build/C/man3/mallopt.3:520 build/C/man3/mcheck.3:176 +#: build/C/man2/mmap.2:641 build/C/man2/mprotect.2:164 #, no-wrap msgid "Program source" msgstr "プログラムのソース" @@ -2429,8 +2539,8 @@ msgstr "" #. type: Plain text #: build/C/man3/mallinfo.3:269 build/C/man3/malloc_info.3:255 -#: build/C/man3/mallopt.3:565 build/C/man3/mcheck.3:203 -#: build/C/man2/mmap.2:709 +#: build/C/man3/mallopt.3:553 build/C/man3/mcheck.3:203 +#: build/C/man2/mmap.2:710 #, no-wrap msgid "" " exit(EXIT_SUCCESS);\n" @@ -2455,10 +2565,10 @@ msgid "MALLOC_GET_STATE" msgstr "MALLOC_GET_STATE" #. type: TH -#: build/C/man3/malloc_get_state.3:25 +#: build/C/man3/malloc_get_state.3:25 build/C/man3/malloc_usable_size.3:25 #, no-wrap -msgid "2012-05-04" -msgstr "2012-05-04" +msgid "2014-06-13" +msgstr "2014-06-13" #. type: Plain text #: build/C/man3/malloc_get_state.3:28 @@ -2468,10 +2578,11 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_get_state.3:31 build/C/man3/posix_memalign.3:35 +#: build/C/man3/malloc_get_state.3:31 build/C/man3/malloc_hook.3:18 +#: build/C/man3/malloc_info.3:31 build/C/man3/posix_memalign.3:41 #, no-wrap -msgid "B<#include Estdlib.hE>\n" -msgstr "B<#include Estdlib.hE>\n" +msgid "B<#include Emalloc.hE>\n" +msgstr "B<#include Emalloc.hE>\n" #. type: Plain text #: build/C/man3/malloc_get_state.3:33 @@ -2536,10 +2647,10 @@ msgstr "これらの関数は GNU による拡張である。" #. type: Plain text #: build/C/man3/malloc_get_state.3:94 msgid "" -"These functions are especially useful when using this B(3) " -"implementation as part of a shared library, and the heap contents are saved/" -"restored via some other method. This technique is used by the GNU Emacs to " -"implement its \"dumping\" function." +"These functions are useful when using this B(3) implementation as " +"part of a shared library, and the heap contents are saved/restored via some " +"other method. This technique is used by GNU Emacs to implement its \"dumping" +"\" function." msgstr "" #. i.e., calls __malloc_check_init() @@ -2583,13 +2694,6 @@ msgstr "" "__realloc_hook, __after_morecore_hook - malloc デバッグ用の変数" #. type: Plain text -#: build/C/man3/malloc_hook.3:18 build/C/man3/malloc_info.3:31 -#: build/C/man3/posix_memalign.3:41 -#, no-wrap -msgid "B<#include Emalloc.hE>\n" -msgstr "B<#include Emalloc.hE>\n" - -#. type: Plain text #: build/C/man3/malloc_hook.3:20 #, no-wrap msgid "BIB<, const void *>IB<);>\n" @@ -2632,10 +2736,10 @@ msgstr "B\n" #. type: Plain text #: build/C/man3/malloc_hook.3:43 msgid "" -"The GNU C library lets you modify the behavior of B(3), B" -"(3), and B(3) by specifying appropriate hook functions. You can use " -"these hooks to help you debug programs that use dynamic memory allocation, " -"for example." +"The GNU C library lets you modify the behavior of B(3), " +"B(3), and B(3) by specifying appropriate hook functions. " +"You can use these hooks to help you debug programs that use dynamic memory " +"allocation, for example." msgstr "" "GNU C ライブラリでは、適切なフック関数 (hook function) を指定することで " "B(3), B(3), B(3) の動作を変更することができる。例え" @@ -2913,7 +3017,7 @@ msgstr "B() は glibc バージョン 2.10 で追加された。" #. type: Plain text #: build/C/man3/malloc_info.3:65 build/C/man3/malloc_stats.3:57 -#: build/C/man3/malloc_trim.3:62 build/C/man3/malloc_usable_size.3:50 +#: build/C/man3/malloc_trim.3:62 build/C/man3/malloc_usable_size.3:55 msgid "This function is a GNU extension." msgstr "この関数は GNU による拡張である。" @@ -3418,10 +3522,10 @@ msgid "MALLOC_TRIM" msgstr "MALLOC_TRIM" #. type: TH -#: build/C/man3/malloc_trim.3:26 build/C/man3/malloc_usable_size.3:25 +#: build/C/man3/malloc_trim.3:26 build/C/man2/remap_file_pages.2:28 #, no-wrap -msgid "2012-03-29" -msgstr "2012-03-29" +msgid "2014-05-28" +msgstr "2014-05-28" #. type: Plain text #: build/C/man3/malloc_trim.3:29 @@ -3430,8 +3534,8 @@ msgstr "" #. type: Plain text #: build/C/man3/malloc_trim.3:33 -msgid "BIB<);>" -msgstr "BIB<);>" +msgid "BIB<);>" +msgstr "BIB<);>" #. type: Plain text #: build/C/man3/malloc_trim.3:40 @@ -3502,6 +3606,7 @@ msgstr "MALLOC_USABLE_SIZE" #: build/C/man3/malloc_usable_size.3:28 msgid "malloc_usable_size - obtain size of block of memory allocated from heap" msgstr "" +"malloc_usable_size - ヒープから確保したメモリブロックのサイズを取得する" #. type: Plain text #: build/C/man3/malloc_usable_size.3:32 @@ -3515,6 +3620,9 @@ msgid "" "the block pointed to by I, a pointer to a block of memory allocated by " "B(3) or a related function." msgstr "" +"B() 関数は、 I が指すブロックで使用可能なバイト数を" +"返す。 I は、B(3) や同様の関数で割り当てられたメモリブロックへの" +"ポインターである。" #. type: Plain text #: build/C/man3/malloc_usable_size.3:48 @@ -3522,9 +3630,16 @@ msgid "" "B() returns the number of usable bytes in the block of " "allocated memory pointed to by I. If I is NULL, 0 is returned." msgstr "" +"B() は I が指す割り当て済みメモリブロックで使用可能" +"なバイト数を返す。 I が NULL の場合、 0 が返される。" + +#. type: Plain text +#: build/C/man3/malloc_usable_size.3:53 +msgid "The B() function is thread-safe." +msgstr "B() 関数はスレッドセーフである。" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:60 +#: build/C/man3/malloc_usable_size.3:65 msgid "" "The value returned by B() may be greater than the " "requested size of the allocation because of alignment and minimum size " @@ -3533,14 +3648,19 @@ msgid "" "number of excess bytes in an allocation depends on the underlying " "implementation." msgstr "" +"B() が返す値は、 要求された割り当てサイズよりも大きい場合" +"がある。 これは、メモリアラインメントと最小サイズの制約のためである。 この超" +"過バイトをアプリケーションは悪影響なしで上書きすることができるが、 これを行う" +"のはプログラミングマナーとしてはよいこととは言えない。 アプリケーションの超過" +"バイトの量は、内部の実装に依存する。" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:62 +#: build/C/man3/malloc_usable_size.3:67 msgid "The main use of this function is for debugging and introspection." -msgstr "" +msgstr "この関数の主な使用目的はデバッグと内部調査である。" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:64 +#: build/C/man3/malloc_usable_size.3:69 msgid "B(3)" msgstr "B(3)" @@ -3550,12 +3670,6 @@ msgstr "B(3)" msgid "MALLOPT" msgstr "MALLOPT" -#. type: TH -#: build/C/man3/mallopt.3:26 -#, no-wrap -msgid "2012-04-30" -msgstr "2012-04-30" - #. type: Plain text #: build/C/man3/mallopt.3:29 msgid "mallopt - set memory allocation parameters" @@ -3835,10 +3949,10 @@ msgid "" "without merging adjacent free blocks. Subsequent reallocation of blocks of " "the same size can be handled very quickly by allocating from the fastbin, " "although memory fragmentation and the overall memory footprint of the " -"program can increase. The default value for this parameter is I<64*sizeof" -"(size_t)/4> (i.e., 64 on 32-bit architectures). The range for this " -"parameter is 0 to I<80*sizeof(size_t)/4>. Setting B to 0 disables " -"the use of fastbins." +"program can increase. The default value for this parameter is " +"I<64*sizeof(size_t)/4> (i.e., 64 on 32-bit architectures). The range for " +"this parameter is 0 to I<80*sizeof(size_t)/4>. Setting B to 0 " +"disables the use of fastbins." msgstr "" #. type: TP @@ -3868,9 +3982,10 @@ msgstr "B" #. type: Plain text #: build/C/man3/mallopt.3:234 msgid "" -"This parameter defines the amount of padding to employ when calling B" -"(2) to modify the program break. (The measurement unit for this parameter " -"is bytes.) This parameter has an effect in the following circumstances:" +"This parameter defines the amount of padding to employ when calling " +"B(2) to modify the program break. (The measurement unit for this " +"parameter is bytes.) This parameter has an effect in the following " +"circumstances:" msgstr "" #. type: Plain text @@ -4101,7 +4216,7 @@ msgstr "" msgid "Specifying an invalid value for I does not generate an error." msgstr "" -#. FIXME This looks buggy: +#. FIXME . This looks buggy: #. setting the M_MXFAST limit rounds up: (s + SIZE_SZ) & ~MALLOC_ALIGN_MASK) #. malloc requests are rounded up: #. (req) + SIZE_SZ + MALLOC_ALIGN_MASK) & ~MALLOC_ALIGN_MASK @@ -4129,20 +4244,9 @@ msgid "" "integer." msgstr "" -#. FIXME MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ -#. do have an effect for set-user-ID programs (but not -#. set-group-ID programs). -#. http://sources.redhat.com/bugzilla/show_bug.cgi?id=12155 +#. FIXME . http://sources.redhat.com/bugzilla/show_bug.cgi?id=12140 #. type: Plain text -#: build/C/man3/mallopt.3:445 -msgid "" -"The B and B variables are I " -"ignored in set-group-ID programs." -msgstr "" - -#. FIXME http://sources.redhat.com/bugzilla/show_bug.cgi?id=12140 -#. type: Plain text -#: build/C/man3/mallopt.3:466 +#: build/C/man3/mallopt.3:454 msgid "" "If B() is used to set B, then, as expected, the bytes " "of allocated memory are initialized to the complement of the byte in " @@ -4154,7 +4258,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:475 +#: build/C/man3/mallopt.3:463 msgid "" "The program below demonstrates the use of B. If the program " "is supplied with an (integer) command-line argument, then that argument is " @@ -4163,14 +4267,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:479 +#: build/C/man3/mallopt.3:467 msgid "" "The following shell session shows what happens when we run this program " "under glibc, with the default value for B:" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:499 +#: build/C/man3/mallopt.3:487 #, no-wrap msgid "" "$ B<./a.out>\n" @@ -4210,14 +4314,14 @@ msgstr "" "Aborted (core dumped)\n" #. type: Plain text -#: build/C/man3/mallopt.3:504 +#: build/C/man3/mallopt.3:492 msgid "" "The following runs show the results when employing other values for " "B:" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:517 +#: build/C/man3/mallopt.3:505 #, no-wrap msgid "" "$ B<./a.out 1> # Diagnose error and continue\n" @@ -4243,14 +4347,14 @@ msgstr "" "main(): returned from second free() call\n" #. type: Plain text -#: build/C/man3/mallopt.3:523 +#: build/C/man3/mallopt.3:511 msgid "" "The next run shows how to set the same parameter using the B " "environment variable:" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:530 +#: build/C/man3/mallopt.3:518 #, no-wrap msgid "" "$ B\n" @@ -4264,7 +4368,7 @@ msgstr "" "main(): returned from second free() call\n" #. type: Plain text -#: build/C/man3/mallopt.3:538 +#: build/C/man3/mallopt.3:526 #, no-wrap msgid "" "#include Emalloc.hE\n" @@ -4276,7 +4380,7 @@ msgstr "" "#include Estdlib.hE\n" #. type: Plain text -#: build/C/man3/mallopt.3:543 build/C/man3/mcheck.3:187 +#: build/C/man3/mallopt.3:531 build/C/man3/mcheck.3:187 #, no-wrap msgid "" "int\n" @@ -4290,7 +4394,7 @@ msgstr "" " char *p;\n" #. type: Plain text -#: build/C/man3/mallopt.3:550 +#: build/C/man3/mallopt.3:538 #, no-wrap msgid "" " if (argc E 1) {\n" @@ -4308,7 +4412,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/mallopt.3:556 +#: build/C/man3/mallopt.3:544 #, no-wrap msgid "" " p = malloc(1000);\n" @@ -4324,7 +4428,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/mallopt.3:559 +#: build/C/man3/mallopt.3:547 #, no-wrap msgid "" " free(p);\n" @@ -4334,7 +4438,7 @@ msgstr "" " printf(\"main(): returned from first free() call\\en\");\n" #. type: Plain text -#: build/C/man3/mallopt.3:562 +#: build/C/man3/mallopt.3:550 #, no-wrap msgid "" " free(p);\n" @@ -4344,7 +4448,7 @@ msgstr "" " printf(\"main(): returned from second free() call\\en\");\n" #. type: Plain text -#: build/C/man3/mallopt.3:580 +#: build/C/man3/mallopt.3:568 msgid "" "B(2), B(2), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), " @@ -4405,12 +4509,12 @@ msgstr "BIB<);>\n" #. type: Plain text #: build/C/man3/mcheck.3:51 msgid "" -"The B() function installs a set of debugging hooks for the B" -"(3) family of memory-allocation functions. These hooks cause certain " -"consistency checks to be performed on the state of the heap. The checks can " -"detect application errors such as freeing a block of memory more than once " -"or corrupting the bookkeeping data structures that immediately precede a " -"block of allocated memory." +"The B() function installs a set of debugging hooks for the " +"B(3) family of memory-allocation functions. These hooks cause " +"certain consistency checks to be performed on the state of the heap. The " +"checks can detect application errors such as freeing a block of memory more " +"than once or corrupting the bookkeeping data structures that immediately " +"precede a block of allocated memory." msgstr "" #. type: Plain text @@ -4629,10 +4733,9 @@ msgstr "MLOCK" #. type: TH #: build/C/man2/mlock.2:26 -#, fuzzy, no-wrap -#| msgid "2014-04-06" +#, no-wrap msgid "2014-04-14" -msgstr "2014-04-06" +msgstr "2014-04-14" #. type: Plain text #: build/C/man2/mlock.2:29 @@ -4641,7 +4744,7 @@ msgstr "mlock - メモリのロックとロック解除を行う" #. type: Plain text #: build/C/man2/mlock.2:32 build/C/man2/mmap.2:46 build/C/man2/mmap2.2:35 -#: build/C/man2/mprotect.2:44 build/C/man2/mremap.2:38 +#: build/C/man2/mprotect.2:45 build/C/man2/mremap.2:38 #, no-wrap msgid "B<#include Esys/mman.hE>\n" msgstr "B<#include Esys/mman.hE>\n" @@ -4782,9 +4885,9 @@ msgstr "" #. type: Plain text #: build/C/man2/mlock.2:112 msgid "" -"If B has been specified, then a later system call (e.g., B" -"(2), B(2), B(3)), may fail if it would cause the number of " -"locked bytes to exceed the permitted maximum (see below). In the same " +"If B has been specified, then a later system call (e.g., " +"B(2), B(2), B(3)), may fail if it would cause the number " +"of locked bytes to exceed the permitted maximum (see below). In the same " "circumstances, stack growth may likewise fail: the kernel will deny stack " "expansion and deliver a B signal to the process." msgstr "" @@ -4999,20 +5102,16 @@ msgstr "" #. type: Plain text #: build/C/man2/mlock.2:257 -#, fuzzy -#| msgid "" -#| "Memory locks are not inherited by a child created via B(2) and are " -#| "automatically removed (unlocked) during an B(2) or when the " -#| "process terminates." msgid "" "Memory locks are not inherited by a child created via B(2) and are " "automatically removed (unlocked) during an B(2) or when the process " "terminates. The B() B setting is not inherited by a " "child created via B(2) and is cleared during an B(2)." msgstr "" -"メモリロックは B(2) で作成された子プロセスには継承されず、 B" -"(2) が呼ばれたり、プロセスが終了した場合は 自動的に削除される (ロック解除さ" -"れる)。" +"メモリロックは B(2) で作成された子プロセスには継承されず、 " +"B(2) が呼ばれたり、プロセスが終了した場合は 自動的に削除される (ロッ" +"ク解除される)。 B() の B 設定は B(2) で作成された" +"子プロセスには継承されず、 B(2) の中でクリアされる。" #. type: Plain text #: build/C/man2/mlock.2:261 @@ -5056,8 +5155,8 @@ msgstr "" #: build/C/man2/mlock.2:298 msgid "" "The I field of the Linux-specific I file shows how " -"many kilobytes of memory the process with ID I has locked using B" -"(), B(), and B(2) B." +"many kilobytes of memory the process with ID I has locked using " +"B(), B(), and B(2) B." msgstr "" "Linux 固有の I ファイルの I フィールドには、\n" "B(), B() および B(2) B を使って、\n" @@ -5138,10 +5237,10 @@ msgid "MMAP" msgstr "MMAP" #. type: TH -#: build/C/man2/mmap.2:40 +#: build/C/man2/mmap.2:40 build/C/man2/sync_file_range.2:30 #, no-wrap -msgid "2014-04-06" -msgstr "2014-04-06" +msgid "2014-08-19" +msgstr "2014-08-19" #. type: Plain text #: build/C/man2/mmap.2:43 @@ -5206,8 +5305,8 @@ msgstr "" "ファイルマッピングの内容は、 ファイルディスクリプタ I で参照されるファイ" "ル (もしくは他のオブジェクト) のオフセット I から開始される " "I バイトのデータで初期化される (ファイルマッピングは無名マッピングの" -"反対語である。 B を参照)。 I は I が返すページサイズの倍数でなければならない。" +"反対語である。 B を参照)。 I は " +"I が返すページサイズの倍数でなければならない。" #. type: Plain text #: build/C/man2/mmap.2:97 @@ -5221,7 +5320,7 @@ msgstr "" "か、以下のフラグをひとつ以上ビット毎の論理和 (OR) をとったものを 指定できる。" #. type: TP -#: build/C/man2/mmap.2:97 build/C/man2/mprotect.2:73 +#: build/C/man2/mmap.2:97 build/C/man2/mprotect.2:74 #, no-wrap msgid "B" msgstr "B" @@ -5232,7 +5331,7 @@ msgid "Pages may be executed." msgstr "ページは実行可能である。" #. type: TP -#: build/C/man2/mmap.2:100 build/C/man2/mprotect.2:67 +#: build/C/man2/mmap.2:100 build/C/man2/mprotect.2:68 #, no-wrap msgid "B" msgstr "B" @@ -5243,7 +5342,7 @@ msgid "Pages may be read." msgstr "ページは読み込み可能である。" #. type: TP -#: build/C/man2/mmap.2:103 build/C/man2/mprotect.2:70 +#: build/C/man2/mmap.2:103 build/C/man2/mprotect.2:71 #, no-wrap msgid "B" msgstr "B" @@ -5254,7 +5353,7 @@ msgid "Pages may be written." msgstr "ページに書き込み可能である。" #. type: TP -#: build/C/man2/mmap.2:106 build/C/man2/mprotect.2:64 +#: build/C/man2/mmap.2:106 build/C/man2/mprotect.2:65 #, no-wrap msgid "B" msgstr "B" @@ -5503,8 +5602,8 @@ msgstr "B (Linux 2.5.37 以降)" #. type: Plain text #: build/C/man2/mmap.2:242 msgid "" -"Lock the pages of the mapped region into memory in the manner of B" -"(2). This flag is ignored in older kernels." +"Lock the pages of the mapped region into memory in the manner of " +"B(2). This flag is ignored in older kernels." msgstr "" "マップされた領域のページを B(2) の方法でメモリ内にロックする。 それ以" "前のカーネルでは、このフラグは無視される。" @@ -5743,10 +5842,10 @@ msgstr "" "返し、 I がセットされる (多くの場合 B になるだろう)。" #. type: TP -#: build/C/man2/mmap.2:393 build/C/man2/mprotect.2:86 +#: build/C/man2/mmap.2:393 build/C/man2/mprotect.2:85 #: build/C/man3/shm_open.3:187 build/C/man3/shm_open.3:192 -#: build/C/man2/shmctl.2:306 build/C/man2/shmget.2:189 -#: build/C/man2/shmop.2:191 +#: build/C/man2/shmctl.2:306 build/C/man2/shmget.2:192 +#: build/C/man2/shmop.2:188 #, no-wrap msgid "B" msgstr "B" @@ -5807,14 +5906,14 @@ msgstr "" #. type: TP #: build/C/man2/mmap.2:442 build/C/man3/shm_open.3:229 -#: build/C/man2/shmget.2:205 +#: build/C/man2/shmget.2:221 #, no-wrap msgid "B" msgstr "B" #. [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp() #. type: Plain text -#: build/C/man2/mmap.2:450 build/C/man2/shmget.2:209 +#: build/C/man2/mmap.2:450 build/C/man2/shmget.2:225 msgid "The system limit on the total number of open files has been reached." msgstr "システム全体でオープンされているファイルの総数が上限に達した。" @@ -5918,7 +6017,7 @@ msgstr "SVr4, 4.4BSD, POSIX.1-2001." #. type: Plain text #: build/C/man2/mmap.2:513 msgid "" -"On POSIX systems on which B(), B(2) and B() are " +"On POSIX systems on which B(), B(2), and B() are " "available, B<_POSIX_MAPPED_FILES> is defined in Iunistd.hE> to a " "value greater than 0. (See also B(3).)" msgstr "" @@ -5926,26 +6025,8 @@ msgstr "" "B<_POSIX_MAPPED_FILES> は Eunistd.hE で 0 より大きな値に定義される " "(B(3) も参照のこと)。" -#. Since around glibc 2.1/2.2, depending on the platform. -#. type: Plain text -#: build/C/man2/mmap.2:528 -msgid "" -"This page describes the interface provided by the glibc B() wrapper " -"function. Originally, this function invoked a system call of the same " -"name. Since kernel 2.4, that system call has been superseded by B" -"(2), and nowadays the glibc B() wrapper function invokes B(2) " -"with a suitably adjusted value for I." -msgstr "" -"このページでは glibc の B() のラッパー関数が提供するインターフェース" -"に\n" -"ついて説明している。元々は、この関数は同じ名前のシステムコールを起動してい" -"た。\n" -"カーネル 2.4 以降、このシステムコールは B(2) に取って代わられ、現在\n" -"では、 glibc の B() のラッパー関数は I を適切に調整してから\n" -"B(2) を起動する。" - #. type: Plain text -#: build/C/man2/mmap.2:541 +#: build/C/man2/mmap.2:526 msgid "" "On some hardware architectures (e.g., i386), B implies " "B. It is architecture dependent whether B implies " @@ -5959,7 +6040,7 @@ msgstr "" "常に B をセットすべきである。" #. type: Plain text -#: build/C/man2/mmap.2:556 +#: build/C/man2/mmap.2:541 msgid "" "The portable way to create a mapping is to specify I as 0 (NULL), and " "omit B from I. In this case, the system chooses the " @@ -5974,7 +6055,7 @@ msgstr "" "I が 0 (NULL) の場合には、マップされるアドレスが 0 (NULL) になる。" #. type: Plain text -#: build/C/man2/mmap.2:585 +#: build/C/man2/mmap.2:571 msgid "" "Certain I constants are defined only if either B<_BSD_SOURCE> or " "B<_SVID_SOURCE> is defined. (Requiring B<_GNU_SOURCE> also suffices, and " @@ -5994,8 +6075,32 @@ msgstr "" "B, B, B, B, " "B である。" +#. type: SS +#: build/C/man2/mmap.2:571 +#, no-wrap +msgid "C library/kernel ABI differences" +msgstr "C ライブラリとカーネル ABI の違い" + +#. Since around glibc 2.1/2.2, depending on the platform. #. type: Plain text -#: build/C/man2/mmap.2:590 +#: build/C/man2/mmap.2:586 +msgid "" +"This page describes the interface provided by the glibc B() wrapper " +"function. Originally, this function invoked a system call of the same " +"name. Since kernel 2.4, that system call has been superseded by " +"B(2), and nowadays the glibc B() wrapper function invokes " +"B(2) with a suitably adjusted value for I." +msgstr "" +"このページでは glibc の B() のラッパー関数が提供するインターフェース" +"に\n" +"ついて説明している。元々は、この関数は同じ名前のシステムコールを起動してい" +"た。\n" +"カーネル 2.4 以降、このシステムコールは B(2) に取って代わられ、現在\n" +"では、 glibc の B() のラッパー関数は I を適切に調整してから\n" +"B(2) を起動する。" + +#. type: Plain text +#: build/C/man2/mmap.2:591 msgid "" "On Linux there are no guarantees like those suggested above under " "B. By default, any process can be killed at any moment when " @@ -6006,7 +6111,7 @@ msgstr "" "終了されるか分からないからである。" #. type: Plain text -#: build/C/man2/mmap.2:597 +#: build/C/man2/mmap.2:598 msgid "" "In kernels before 2.6.7, the B flag has effect only if I " "is specified as B." @@ -6015,7 +6120,7 @@ msgstr "" "み、 B フラグが効力を持つ。" #. type: Plain text -#: build/C/man2/mmap.2:612 +#: build/C/man2/mmap.2:613 msgid "" "SUSv3 specifies that B() should fail if I is 0. However, in " "kernels before 2.6.12, B() succeeded in this case: no mapping was " @@ -6028,7 +6133,7 @@ msgstr "" "では、 B() はエラー B で失敗する。" #. type: Plain text -#: build/C/man2/mmap.2:628 +#: build/C/man2/mmap.2:629 msgid "" "POSIX specifies that the system shall always zero fill any partial page at " "the end of the object and that system will never write any modification of " @@ -6051,7 +6156,7 @@ msgstr "" "共有メモリインターフェースを使った場合)。" #. type: Plain text -#: build/C/man2/mmap.2:640 +#: build/C/man2/mmap.2:641 msgid "" "The following program prints part of the file specified in its first command-" "line argument to standard output. The range of bytes to be printed is " @@ -6066,7 +6171,7 @@ msgstr "" "を出力する。" #. type: Plain text -#: build/C/man2/mmap.2:648 +#: build/C/man2/mmap.2:649 #, no-wrap msgid "" "#include Esys/mman.hE\n" @@ -6084,7 +6189,7 @@ msgstr "" "#include Eunistd.hE\n" #. type: Plain text -#: build/C/man2/mmap.2:651 build/C/man2/mprotect.2:178 +#: build/C/man2/mmap.2:652 build/C/man2/mprotect.2:177 #, no-wrap msgid "" "#define handle_error(msg) \\e\n" @@ -6094,7 +6199,7 @@ msgstr "" " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" #. type: Plain text -#: build/C/man2/mmap.2:661 +#: build/C/man2/mmap.2:662 #, no-wrap msgid "" "int\n" @@ -6118,7 +6223,7 @@ msgstr "" " ssize_t s;\n" #. type: Plain text -#: build/C/man2/mmap.2:666 +#: build/C/man2/mmap.2:667 #, no-wrap msgid "" " if (argc E 3 || argc E 4) {\n" @@ -6132,7 +6237,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:670 +#: build/C/man2/mmap.2:671 #, no-wrap msgid "" " fd = open(argv[1], O_RDONLY);\n" @@ -6144,7 +6249,7 @@ msgstr "" " handle_error(\"open\");\n" #. type: Plain text -#: build/C/man2/mmap.2:673 +#: build/C/man2/mmap.2:674 #, no-wrap msgid "" " if (fstat(fd, &sb) == -1) /* To obtain file size */\n" @@ -6154,7 +6259,7 @@ msgstr "" " handle_error(\"fstat\");\n" #. type: Plain text -#: build/C/man2/mmap.2:677 +#: build/C/man2/mmap.2:678 #, no-wrap msgid "" " offset = atoi(argv[2]);\n" @@ -6166,7 +6271,7 @@ msgstr "" " /* offset for mmap() must be page aligned */\n" #. type: Plain text -#: build/C/man2/mmap.2:682 +#: build/C/man2/mmap.2:683 #, no-wrap msgid "" " if (offset E= sb.st_size) {\n" @@ -6180,7 +6285,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:688 +#: build/C/man2/mmap.2:689 #, no-wrap msgid "" " if (argc == 4) {\n" @@ -6196,7 +6301,7 @@ msgstr "" " /* Can\\(aqt display bytes past end of file */\n" #. type: Plain text -#: build/C/man2/mmap.2:692 +#: build/C/man2/mmap.2:693 #, no-wrap msgid "" " } else { /* No length arg ==E display to end of file */\n" @@ -6208,7 +6313,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:697 +#: build/C/man2/mmap.2:698 #, no-wrap msgid "" " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" @@ -6222,7 +6327,7 @@ msgstr "" " handle_error(\"mmap\");\n" #. type: Plain text -#: build/C/man2/mmap.2:702 +#: build/C/man2/mmap.2:703 #, no-wrap msgid "" " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" @@ -6236,7 +6341,7 @@ msgstr "" " handle_error(\"write\");\n" #. type: Plain text -#: build/C/man2/mmap.2:706 +#: build/C/man2/mmap.2:707 #, no-wrap msgid "" " fprintf(stderr, \"partial write\");\n" @@ -6248,18 +6353,18 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:723 +#: build/C/man2/mmap.2:724 msgid "" "B(2), B(2), B(2), B(2), B(2), " -"B(2), B(2), B(2), B(2), B" -"(2), B(3), B(7)" +"B(2), B(2), B(2), B(2), " +"B(2), B(3), B(7)" msgstr "" "B(2), B(2), B(2), B(2), B(2), " -"B(2), B(2), B(2), B(2), B" -"(2), B(3), B(7)" +"B(2), B(2), B(2), B(2), " +"B(2), B(3), B(7)" #. type: Plain text -#: build/C/man2/mmap.2:730 +#: build/C/man2/mmap.2:731 msgid "" "The descriptions of the following files in B(5): I, " "I, and I." @@ -6268,7 +6373,7 @@ msgstr "" "smaps> の説明。" #. type: Plain text -#: build/C/man2/mmap.2:735 build/C/man2/msync.2:151 +#: build/C/man2/mmap.2:736 build/C/man2/msync.2:151 msgid "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391." msgstr "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391." @@ -6375,8 +6480,8 @@ msgid "" "call." msgstr "" "このシステムコールが存在するアーキテクチャーでは、glibc の B() のラッ" -"パー関数は、 B(2) システムコールではなく、このシステムコール (B" -"(2)) を起動する。" +"パー関数は、 B(2) システムコールではなく、このシステムコール " +"(B(2)) を起動する。" #. type: Plain text #: build/C/man2/mmap2.2:88 @@ -6403,30 +6508,30 @@ msgstr "" "B(2), B(2), B(2), B(2), B(3)" #. type: TH -#: build/C/man2/mprotect.2:38 +#: build/C/man2/mprotect.2:39 #, no-wrap msgid "MPROTECT" msgstr "MPROTECT" #. type: TH -#: build/C/man2/mprotect.2:38 +#: build/C/man2/mprotect.2:39 #, no-wrap msgid "2014-01-05" msgstr "2014-01-05" #. type: Plain text -#: build/C/man2/mprotect.2:41 +#: build/C/man2/mprotect.2:42 msgid "mprotect - set protection on a region of memory" msgstr "mprotect - メモリ領域の保護を設定する" #. type: Plain text -#: build/C/man2/mprotect.2:46 +#: build/C/man2/mprotect.2:47 #, no-wrap msgid "BIB<, size_t >IB<, int >IB<);>\n" msgstr "BIB<, size_t >IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man2/mprotect.2:54 +#: build/C/man2/mprotect.2:55 msgid "" "B() changes protection for the calling process's memory page(s) " "containing any part of the address range in the interval [I,\\ I" @@ -6437,7 +6542,7 @@ msgstr "" "界に一致していなければならない。" #. type: Plain text -#: build/C/man2/mprotect.2:59 +#: build/C/man2/mprotect.2:60 msgid "" "If the calling process tries to access memory in a manner that violates the " "protection, then the kernel generates a B signal for the process." @@ -6446,7 +6551,7 @@ msgstr "" "ると、カーネルはシグナル B をそのプロセスに対して生成する。" #. type: Plain text -#: build/C/man2/mprotect.2:64 +#: build/C/man2/mprotect.2:65 msgid "" "I is either B or a bitwise-or of the other values in the " "following list:" @@ -6455,29 +6560,27 @@ msgstr "" "毎の論理和 (bitwize-or) で指定する:" #. type: Plain text -#: build/C/man2/mprotect.2:67 +#: build/C/man2/mprotect.2:68 msgid "The memory cannot be accessed at all." msgstr "そのメモリには全くアクセスできない。" #. type: Plain text -#: build/C/man2/mprotect.2:70 +#: build/C/man2/mprotect.2:71 msgid "The memory can be read." msgstr "そのメモリを読み取ることができる。" #. type: Plain text -#: build/C/man2/mprotect.2:73 +#: build/C/man2/mprotect.2:74 msgid "The memory can be modified." msgstr "そのメモリを変更できる。" -#. FIXME -#. Document PROT_GROWSUP and PROT_GROWSDOWN #. type: Plain text -#: build/C/man2/mprotect.2:78 +#: build/C/man2/mprotect.2:77 msgid "The memory can be executed." msgstr "そのメモリは実行可能である。" #. type: Plain text -#: build/C/man2/mprotect.2:85 +#: build/C/man2/mprotect.2:84 msgid "" "On success, B() returns zero. On error, -1 is returned, and " "I is set appropriately." @@ -6486,7 +6589,7 @@ msgstr "" "I が適切に設定される。" #. type: Plain text -#: build/C/man2/mprotect.2:95 +#: build/C/man2/mprotect.2:94 msgid "" "The memory cannot be given the specified access. This can happen, for " "example, if you B(2) a file to which you have read-only access, then " @@ -6498,19 +6601,19 @@ msgstr "" #. Or: both PROT_GROWSUP and PROT_GROWSDOWN were specified in 'prot'. #. type: Plain text -#: build/C/man2/mprotect.2:100 +#: build/C/man2/mprotect.2:99 msgid "" "I is not a valid pointer, or not a multiple of the system page size." msgstr "" "I が有効なポインタでないか、 システムのページサイズの倍数でない。" #. type: Plain text -#: build/C/man2/mprotect.2:103 +#: build/C/man2/mprotect.2:102 msgid "Internal kernel structures could not be allocated." msgstr "カーネル内部の構造体を割り当てることができなかった。" #. type: Plain text -#: build/C/man2/mprotect.2:113 +#: build/C/man2/mprotect.2:112 msgid "" "Addresses in the range [I, I+I-1] are invalid for the " "address space of the process, or specify one or more pages that are not " @@ -6525,7 +6628,7 @@ msgstr "" #. SVr4 defines an additional error #. code EAGAIN. The SVr4 error conditions don't map neatly onto Linux's. #. type: Plain text -#: build/C/man2/mprotect.2:122 +#: build/C/man2/mprotect.2:121 msgid "" "SVr4, POSIX.1-2001. POSIX says that the behavior of B() is " "unspecified if it is applied to a region of memory that was not obtained via " @@ -6536,7 +6639,7 @@ msgstr "" "されている。" #. type: Plain text -#: build/C/man2/mprotect.2:129 +#: build/C/man2/mprotect.2:128 msgid "" "On Linux it is always permissible to call B() on any address in a " "process's address space (except for the kernel vsyscall area). In " @@ -6547,7 +6650,7 @@ msgstr "" "マッピングを書き込み可能にするために使われる。" #. type: Plain text -#: build/C/man2/mprotect.2:139 +#: build/C/man2/mprotect.2:138 msgid "" "Whether B has any effect different from B is " "architecture- and kernel version-dependent. On some hardware architectures " @@ -6558,7 +6661,7 @@ msgstr "" "B をセットすると、暗黙のうちに B がセットされる。" #. type: Plain text -#: build/C/man2/mprotect.2:148 +#: build/C/man2/mprotect.2:147 msgid "" "POSIX.1-2001 says that an implementation may permit access other than that " "specified in I, but at a minimum can allow write access only if " @@ -6571,7 +6674,7 @@ msgstr "" "ない点だけは 満たす必要がある。" #. type: Plain text -#: build/C/man2/mprotect.2:154 +#: build/C/man2/mprotect.2:153 msgid "" "The program below allocates four pages of memory, makes the third of these " "pages read-only, and then executes a loop that walks upward through the " @@ -6582,13 +6685,13 @@ msgstr "" "かって順番にバイト値を変更するループを実行する。" #. type: Plain text -#: build/C/man2/mprotect.2:157 +#: build/C/man2/mprotect.2:156 msgid "" "An example of what we might see when running the program is the following:" msgstr "プログラムを実行した場合の一例を以下に示す。" #. type: Plain text -#: build/C/man2/mprotect.2:163 +#: build/C/man2/mprotect.2:162 #, no-wrap msgid "" "$B< ./a.out>\n" @@ -6600,7 +6703,7 @@ msgstr "" "Got SIGSEGV at address: 0x804e000\n" #. type: Plain text -#: build/C/man2/mprotect.2:175 +#: build/C/man2/mprotect.2:174 #, no-wrap msgid "" "#include Eunistd.hE\n" @@ -6620,13 +6723,13 @@ msgstr "" "#include Esys/mman.hE\n" #. type: Plain text -#: build/C/man2/mprotect.2:180 +#: build/C/man2/mprotect.2:179 #, no-wrap msgid "static char *buffer;\n" msgstr "static char *buffer;\n" #. type: Plain text -#: build/C/man2/mprotect.2:188 +#: build/C/man2/mprotect.2:187 #, no-wrap msgid "" "static void\n" @@ -6646,7 +6749,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man2/mprotect.2:195 +#: build/C/man2/mprotect.2:194 #, no-wrap msgid "" "int\n" @@ -6664,7 +6767,7 @@ msgstr "" " struct sigaction sa;\n" #. type: Plain text -#: build/C/man2/mprotect.2:201 +#: build/C/man2/mprotect.2:200 #, no-wrap msgid "" " sa.sa_flags = SA_SIGINFO;\n" @@ -6680,7 +6783,7 @@ msgstr "" " handle_error(\"sigaction\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:205 +#: build/C/man2/mprotect.2:204 #, no-wrap msgid "" " pagesize = sysconf(_SC_PAGE_SIZE);\n" @@ -6692,7 +6795,7 @@ msgstr "" " handle_error(\"sysconf\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:208 +#: build/C/man2/mprotect.2:207 #, no-wrap msgid "" " /* Allocate a buffer aligned on a page boundary;\n" @@ -6702,7 +6805,7 @@ msgstr "" " initial protection is PROT_READ | PROT_WRITE */\n" #. type: Plain text -#: build/C/man2/mprotect.2:212 +#: build/C/man2/mprotect.2:211 #, no-wrap msgid "" " buffer = memalign(pagesize, 4 * pagesize);\n" @@ -6714,13 +6817,13 @@ msgstr "" " handle_error(\"memalign\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:214 +#: build/C/man2/mprotect.2:213 #, no-wrap msgid " printf(\"Start of region: 0x%lx\\en\", (long) buffer);\n" msgstr " printf(\"Start of region: 0x%lx\\en\", (long) buffer);\n" #. type: Plain text -#: build/C/man2/mprotect.2:218 +#: build/C/man2/mprotect.2:217 #, no-wrap msgid "" " if (mprotect(buffer + pagesize * 2, pagesize,\n" @@ -6732,7 +6835,7 @@ msgstr "" " handle_error(\"mprotect\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:221 +#: build/C/man2/mprotect.2:220 #, no-wrap msgid "" " for (p = buffer ; ; )\n" @@ -6742,7 +6845,7 @@ msgstr "" " *(p++) = \\(aqa\\(aq;\n" #. type: Plain text -#: build/C/man2/mprotect.2:225 +#: build/C/man2/mprotect.2:224 #, no-wrap msgid "" " printf(\"Loop completed\\en\"); /* Should never happen */\n" @@ -6754,7 +6857,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man2/mprotect.2:229 +#: build/C/man2/mprotect.2:228 msgid "B(2), B(3)" msgstr "B(2), B(3)" @@ -7027,6 +7130,12 @@ msgstr "" msgid "MSYNC" msgstr "MSYNC" +#. type: TH +#: build/C/man2/msync.2:25 +#, no-wrap +msgid "2014-04-20" +msgstr "2014-04-20" + #. type: Plain text #: build/C/man2/msync.2:28 msgid "msync - synchronize a file with a memory map" @@ -7041,16 +7150,17 @@ msgstr "BIB<, size_t >IB<, int >IB<);>" #: build/C/man2/msync.2:48 msgid "" "B() flushes changes made to the in-core copy of a file that was " -"mapped into memory using B(2) back to disk. Without use of this call " -"there is no guarantee that changes are written back before B(2) is " -"called. To be more precise, the part of the file that corresponds to the " -"memory area starting at I and having length I is updated." +"mapped into memory using B(2) back to the filesystem. Without use of " +"this call there is no guarantee that changes are written back before " +"B(2) is called. To be more precise, the part of the file that " +"corresponds to the memory area starting at I and having length " +"I is updated." msgstr "" "B() は B(2) を使ってメモリにマップされたファイルの、 メモリ上" -"のコピーになされた変更をディスクに反映させる。 この関数を使用しないと、 " -"B(2) が呼び出されるまで変更が書き戻される保証はない。 より正確には、" -"ファイルのうち I から始まり長さ I のメモリ領域に対応する部分が" -"更新される。" +"のコピーになされた変更をファイルシステムに反映させる。 この関数を使用しない" +"と、 B(2) が呼び出されるまで変更が書き戻される保証はない。 より正確" +"には、ファイルのうち I から始まり長さ I のメモリ領域に対応する" +"部分が更新される。" #. type: Plain text #: build/C/man2/msync.2:68 @@ -7110,7 +7220,7 @@ msgid "The indicated memory (or part of it) was not mapped." msgstr "指定されたメモリ (またはその一部) がマップされていない。" #. type: Plain text -#: build/C/man2/msync.2:98 build/C/man3/posix_fallocate.3:105 +#: build/C/man2/msync.2:98 build/C/man3/posix_fallocate.3:110 #: build/C/man3/shm_open.3:253 build/C/man7/shm_overview.7:103 msgid "POSIX.1-2001." msgstr "POSIX.1-2001." @@ -7119,7 +7229,7 @@ msgstr "POSIX.1-2001." #: build/C/man2/msync.2:105 msgid "" "This call was introduced in Linux 1.3.21, and then used B instead of " -"B. In Linux 2.4.19 this was changed to the POSIX value B." +"B. In Linux 2.4.19, this was changed to the POSIX value B." msgstr "" "この関数は Linux 1.3.21 で導入されたが、 B ではなく B が使わ" "れていた。 これは Linux 2.4.19 で POSIX における値 B に変更された。" @@ -7152,6 +7262,16 @@ msgid "" "behavior, portable, future-proof applications should ensure that they " "specify either B or B in I." msgstr "" +"POSIX では B と B のいずれかは必ず I に指定しなけれ" +"ばならないとされており、 実際にこれらのフラグのいずれかを指定しなかった場合 " +"B() が失敗するシステムもある。 しかし、 Linux ではこれらのフラグのいず" +"れも指定せずに B() を呼び出すことができ、 その場合の動作は (現在のとこ" +"ろ) B を指定した場合と等価である。 (Linux 2.6.19 以降では " +"B は実際には no-op (何もしない命令) である。 これはカーネルが正し" +"く dirty ページを追跡し、必要に応じてストレージにそれらをフラッシュするからで" +"ある。) Linux の動作に関係なく、アプリケーションの移植性を考慮し、将来も確実" +"に動くようにするには、 B か B のいずれかを必ず I に" +"指定するようにすべきである。" #. type: TP #: build/C/man2/msync.2:149 build/C/man7/shm_overview.7:46 @@ -7361,9 +7481,9 @@ msgstr "" #. type: Plain text #: build/C/man3/mtrace.3:167 msgid "" -"The first two messages about unfreed memory correspond to the two B" -"(3) calls inside the I loop. The final message corresponds to the " -"call to B(3) (which in turn calls B(3))." +"The first two messages about unfreed memory correspond to the two " +"B(3) calls inside the I loop. The final message corresponds " +"to the call to B(3) (which in turn calls B(3))." msgstr "" #. type: Plain text @@ -7377,12 +7497,6 @@ msgstr "B(1), B(3), B(3), B(3)" msgid "POSIX_FADVISE" msgstr "POSIX_FADVISE" -#. type: TH -#: build/C/man2/posix_fadvise.2:28 build/C/man2/sync_file_range.2:30 -#, no-wrap -msgid "2013-04-01" -msgstr "2013-04-01" - #. type: Plain text #: build/C/man2/posix_fadvise.2:31 msgid "posix_fadvise - predeclare an access pattern for file data" @@ -7532,18 +7646,24 @@ msgstr "I 引き数が有効なファイルディスクリプタでない。 msgid "An invalid value was specified for I." msgstr "無効な値が I に指定された。" +#. commit 87ba81dba431232548ce29d5d224115d0c2355ac #. type: Plain text -#: build/C/man2/posix_fadvise.2:104 +#: build/C/man2/posix_fadvise.2:107 +#, fuzzy +#| msgid "" +#| "The specified file descriptor refers to a pipe or FIFO. (Linux actually " +#| "returns B in this case.)" msgid "" -"The specified file descriptor refers to a pipe or FIFO. (Linux actually " -"returns B in this case.)" +"The specified file descriptor refers to a pipe or FIFO. (B is the " +"error specified by POSIX, but before kernel version 2.16, Linux returned " +"B in this case.)" msgstr "" "指定されたファイルディスクリプタがパイプまたは FIFO を参照している (この場" "合、Linux は実際には B を返す)。" #. of fadvise64_64() #. type: Plain text -#: build/C/man2/posix_fadvise.2:112 +#: build/C/man2/posix_fadvise.2:115 msgid "" "Kernel support first appeared in Linux 2.5.60; the underlying system call is " "called B(). Library support has been provided since glibc " @@ -7554,8 +7674,17 @@ msgstr "" "ライブラリによるサポートは glibc バージョン 2.2 以降で提供されており、\n" "ラッパー関数は B() という名前である。" +#. commit d3ac21cacc24790eb45d735769f35753f5b56ceb #. type: Plain text -#: build/C/man2/posix_fadvise.2:121 +#: build/C/man2/posix_fadvise.2:122 +msgid "" +"Since Linux 3.18, support for the underlying system call is optional, " +"depending on the setting of the B configuration " +"option." +msgstr "" + +#. type: Plain text +#: build/C/man2/posix_fadvise.2:131 msgid "" "POSIX.1-2001. Note that the type of the I argument was changed from " "I to I in POSIX.1-2003 TC1." @@ -7564,7 +7693,7 @@ msgstr "" "I に変更された点に注意すること。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:127 +#: build/C/man2/posix_fadvise.2:137 msgid "" "Under Linux, B sets the readahead window to the default " "size for the backing device; B doubles this size, and " @@ -7579,7 +7708,7 @@ msgstr "" "ファイルに対する他のオープンファイルハンドルは影響を受けない)。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:134 +#: build/C/man2/posix_fadvise.2:144 msgid "" "B initiates a nonblocking read of the specified region " "into the page cache. The amount of data read may be decreased by the kernel " @@ -7592,7 +7721,7 @@ msgstr "" "くてもめったに役に立たない)。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:138 +#: build/C/man2/posix_fadvise.2:148 msgid "" "In kernels before 2.6.18, B had the same semantics as " "B. This was probably a bug; since kernel 2.6.18, this " @@ -7603,7 +7732,7 @@ msgstr "" "フラグは何も行わない。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:146 +#: build/C/man2/posix_fadvise.2:156 msgid "" "B attempts to free cached pages associated with the " "specified region. This is useful, for example, while streaming large " @@ -7618,7 +7747,16 @@ msgstr "" "されたページが、 代わりに破棄されることはない。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:154 +#: build/C/man2/posix_fadvise.2:164 +msgid "" +"Requests to discard partial pages are ignored. It is preferable to preserve " +"needed data than discard unneeded data. If the application requires that " +"data be considered for discarding then I and I must be page-" +"aligned." +msgstr "" + +#. type: Plain text +#: build/C/man2/posix_fadvise.2:172 msgid "" "Pages that have not yet been written out will be unaffected, so if the " "application wishes to guarantee that pages will be released, it should call " @@ -7629,19 +7767,19 @@ msgstr "" "B(2) を呼ぶべきである。" #. type: SS -#: build/C/man2/posix_fadvise.2:154 +#: build/C/man2/posix_fadvise.2:172 #, no-wrap msgid "Architecture-specific variants" msgstr "アーキテクチャ固有の派生バージョン" #. type: Plain text -#: build/C/man2/posix_fadvise.2:171 +#: build/C/man2/posix_fadvise.2:189 msgid "" "Some architectures require 64-bit arguments to be aligned in a suitable pair " "of registers (see B(2) for further detail). On such " "architectures, the call signature of B() shown in the " "SYNOPSIS would force a register to be wasted as padding between the I " -"and I arguments. Therefore, these architectures define a version of " +"and I arguments. Therefore, these architectures define a version of " "the system call that orders the arguments suitably, but otherwise is " "otherwise exactly the same as B()." msgstr "" @@ -7653,13 +7791,13 @@ msgstr "" "コールが定義されているが、 それ以外は B() と全く同じである。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:173 +#: build/C/man2/posix_fadvise.2:191 msgid "For example, since Linux 2.6.14, ARM has the following system call:" msgstr "" "例えば、 Linux 2.6.14 以降では、 ARM には以下のシステムコールが存在する。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:178 +#: build/C/man2/posix_fadvise.2:196 #, no-wrap msgid "" "BIB<, int >IB<,>\n" @@ -7669,7 +7807,7 @@ msgstr "" "B< loff_t >IB<, loff_t >IB<);>\n" #. type: Plain text -#: build/C/man2/posix_fadvise.2:186 +#: build/C/man2/posix_fadvise.2:204 msgid "" "These architecture-specific details are generally hidden from applications " "by the glibc B() wrapper function, which invokes the " @@ -7680,7 +7818,7 @@ msgstr "" "なアーキテクチャ固有のシステムコールが呼び出される。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:191 +#: build/C/man2/posix_fadvise.2:209 msgid "" "In kernels before 2.6.6, if I was specified as 0, then this was " "interpreted literally as \"zero bytes\", rather than as meaning \"all bytes " @@ -7692,7 +7830,7 @@ msgstr "" #. FIXME . Write a posix_fadvise(3) page. #. type: Plain text -#: build/C/man2/posix_fadvise.2:197 +#: build/C/man2/posix_fadvise.2:215 msgid "" "B(2), B(2), B(3), " "B(3)" @@ -7707,10 +7845,10 @@ msgid "POSIX_FALLOCATE" msgstr "POSIX_FALLOCATE" #. type: TH -#: build/C/man3/posix_fallocate.3:25 build/C/man2/shmop.2:41 +#: build/C/man3/posix_fallocate.3:25 #, no-wrap -msgid "2013-02-12" -msgstr "2013-02-12" +msgid "2014-06-03" +msgstr "2014-06-03" #. type: Plain text #: build/C/man3/posix_fallocate.3:28 @@ -7782,7 +7920,12 @@ msgid "B() is available since glibc 2.1.94." msgstr "B() は glibc 2.1.94 以降で利用可能である。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:128 +#: build/C/man3/posix_fallocate.3:108 +msgid "The B() function is thread-safe." +msgstr "B() 関数はスレッドセーフである。" + +#. type: Plain text +#: build/C/man3/posix_fallocate.3:133 msgid "" "POSIX.1-2008 says that an implementation I give the B error " "if I was 0, or I was less than 0. POSIX.1-2001 says that an " @@ -7797,7 +7940,7 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:133 +#: build/C/man3/posix_fallocate.3:138 msgid "B(1), B(2), B(2), B(2)" msgstr "B(1), B(2), B(2), B(2)" @@ -7823,6 +7966,12 @@ msgstr "" "されたメモリの割り当てを行う" #. type: Plain text +#: build/C/man3/posix_memalign.3:35 +#, no-wrap +msgid "B<#include Estdlib.hE>\n" +msgstr "B<#include Estdlib.hE>\n" + +#. type: Plain text #: build/C/man3/posix_memalign.3:39 #, no-wrap msgid "" @@ -8133,10 +8282,10 @@ msgid "" "POSIX requires that memory obtained from B() can be freed " "using B(3). Some systems provide no way to reclaim memory allocated " "with B() or B() (because one can pass to B(3) " -"only a pointer obtained from B(3), while, for example, B" -"() would call B(3) and then align the obtained value). The glibc " -"implementation allows memory obtained from any of these functions to be " -"reclaimed with B(3)." +"only a pointer obtained from B(3), while, for example, " +"B() would call B(3) and then align the obtained value). " +"The glibc implementation allows memory obtained from any of these functions " +"to be reclaimed with B(3)." msgstr "" "POSIX では B() によって獲得したメモリは B(3) を\n" "使って解放することができる必要がある。 いくつかのシステムでは\n" @@ -8194,6 +8343,10 @@ msgid "" "(assuming the readahead was initiated early enough and that other activity " "on the system did not in the meantime flush pages from the cache)." msgstr "" +"B() はファイルの先読みを行い、そのファイルに対する後の読み込みが" +"キャッシュから行われ、ディスク I/O で停止しないようにする (この条件を満たせる" +"のは、先読みは十分早く行われ、システムの他の動作によりその後にキャッシュから" +"ページがフラッシュされない場合である)。" #. type: Plain text #: build/C/man2/readahead.2:66 @@ -8275,6 +8428,12 @@ msgid "" "on large files using indirect blocks instead of extents, giving the " "appearance that the call blocks until the requested data has been read." msgstr "" +"B() は読み込みをバックグラウンドで行うようにスケジューリングを行" +"い、すぐに返る。 しかしながら、要求されたブロックの位置を知るために必要なファ" +"イルシステムのメタデータを読み込む間は B() は停止することがある。 " +"これは ext[234] で大きなファイルをエクステントではなく間接ブロックを使う場合" +"にしばしば発生し、 要求したデータが読み込まれるまで呼び出しが停止しているよう" +"に見える。" #. type: Plain text #: build/C/man2/readahead.2:113 @@ -8288,12 +8447,6 @@ msgstr "" msgid "REMAP_FILE_PAGES" msgstr "REMAP_FILE_PAGES" -#. type: TH -#: build/C/man2/remap_file_pages.2:28 -#, no-wrap -msgid "2008-04-22" -msgstr "2008-04-22" - #. type: Plain text #: build/C/man2/remap_file_pages.2:31 msgid "remap_file_pages - create a nonlinear file mapping" @@ -8314,20 +8467,31 @@ msgstr "" #, no-wrap msgid "" "BIB<, size_t >IB<, int >IB<,>\n" -"B< ssize_t >IB<, int >IB<);>\n" +"B< size_t >IB<, int >IB<);>\n" msgstr "" "BIB<, size_t >IB<, int >IB<,>\n" -"B< ssize_t >IB<, int >IB<);>\n" +"B< size_t >IB<, int >IB<);>\n" + +#. commit 33041a0d76d3c3e0aff28ac95a2ffdedf1282dbc +#. http://lwn.net/Articles/597632/ +#. type: Plain text +#: build/C/man2/remap_file_pages.2:47 +msgid "" +"B: this system call is (since Linux 3.16) deprecated and will " +"eventually be replaced by a slower in-kernel emulation. Those few " +"applications that use this system call should consider migrating to " +"alternatives." +msgstr "" #. type: Plain text -#: build/C/man2/remap_file_pages.2:51 +#: build/C/man2/remap_file_pages.2:59 msgid "" "The B() system call is used to create a nonlinear " "mapping, that is, a mapping in which the pages of the file are mapped into a " -"nonsequential order in memory. The advantage of using B" -"() over using repeated calls to B(2) is that the former approach " -"does not require the kernel to create additional VMA (Virtual Memory Area) " -"data structures." +"nonsequential order in memory. The advantage of using " +"B() over using repeated calls to B(2) is that the " +"former approach does not require the kernel to create additional VMA " +"(Virtual Memory Area) data structures." msgstr "" "B() システムコールは非線形なマッピング、 つまりファイルの" "ページがメモリ上で連続しない順番でマップされる マッピングを作成するために使わ" @@ -8336,18 +8500,18 @@ msgstr "" "域) データ構造体を追加で作成する必要がないことである。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:53 +#: build/C/man2/remap_file_pages.2:61 msgid "To create a nonlinear mapping we perform the following steps:" msgstr "非線形マッピングを作成するためには、 以下のようなステップを実行する:" #. type: TP -#: build/C/man2/remap_file_pages.2:53 +#: build/C/man2/remap_file_pages.2:61 #, no-wrap msgid "1." msgstr "1." #. type: Plain text -#: build/C/man2/remap_file_pages.2:61 +#: build/C/man2/remap_file_pages.2:69 msgid "" "Use B(2) to create a mapping (which is initially linear). This " "mapping must be created with the B flag." @@ -8357,13 +8521,13 @@ msgstr "" "い。" #. type: TP -#: build/C/man2/remap_file_pages.2:61 +#: build/C/man2/remap_file_pages.2:69 #, no-wrap msgid "2." msgstr "2." #. type: Plain text -#: build/C/man2/remap_file_pages.2:69 +#: build/C/man2/remap_file_pages.2:77 msgid "" "Use one or more calls to B() to rearrange the " "correspondence between the pages of the mapping and the pages of the file. " @@ -8375,7 +8539,7 @@ msgstr "" "所に マップすることが可能である。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:80 +#: build/C/man2/remap_file_pages.2:88 msgid "" "The I and I arguments specify the region of the file that is to " "be relocated within the mapping: I is a file offset in units of the " @@ -8386,7 +8550,7 @@ msgstr "" "る。 I は領域の長さであり、単位はバイトである。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:98 +#: build/C/man2/remap_file_pages.2:106 msgid "" "The I argument serves two purposes. First, it identifies the mapping " "whose pages we want to rearrange. Thus, I must be an address that " @@ -8395,16 +8559,16 @@ msgid "" "and I will be placed." msgstr "" "I 引き数は 2 つの目的で使われる。 第 1 の目的は、この引き数によって再編" -"成したいページの マッピングを識別することである。 よって I は B" -"(2) の呼び出しで過去にマップされた領域内のアドレスでなければならない。 第 2 " -"の目的は、 I と I で識別されるファイルページが置かれる予定のアド" -"レスを、 I によって指定することである。" +"成したいページの マッピングを識別することである。 よって I は " +"B(2) の呼び出しで過去にマップされた領域内のアドレスでなければならな" +"い。 第 2 の目的は、 I と I で識別されるファイルページが置かれる" +"予定のアドレスを、 I によって指定することである。" #. This rounding is weird, and not consistent with the treatment of #. the analogous arguments for munmap()/mprotect() and for mlock(). #. MTK, 14 Sep 2005 #. type: Plain text -#: build/C/man2/remap_file_pages.2:112 +#: build/C/man2/remap_file_pages.2:120 msgid "" "The values specified in I and I should be multiples of the " "system page size. If they are not, then the kernel rounds I values " @@ -8415,12 +8579,12 @@ msgstr "" "「切り下げる」。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:116 +#: build/C/man2/remap_file_pages.2:124 msgid "The I argument must be specified as 0." msgstr "I 引き数は 0 に指定されなければならない。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:124 +#: build/C/man2/remap_file_pages.2:132 msgid "" "The I argument has the same meaning as for B(2), but all flags " "other than B are ignored." @@ -8429,7 +8593,7 @@ msgstr "" "の全てのフラグは無視される。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:131 +#: build/C/man2/remap_file_pages.2:139 msgid "" "On success, B() returns 0. On error, -1 is returned, and " "I is set appropriately." @@ -8438,7 +8602,7 @@ msgstr "" "れ、 I が適切に設定される。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:139 +#: build/C/man2/remap_file_pages.2:147 msgid "" "I does not refer to a valid mapping created with the B " "flag." @@ -8448,12 +8612,12 @@ msgstr "" #. And possibly others from vma->vm_ops->populate() #. type: Plain text -#: build/C/man2/remap_file_pages.2:148 +#: build/C/man2/remap_file_pages.2:156 msgid "I, I, I, or I is invalid." msgstr "I, I, I, I のいずれかが不正である。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:153 +#: build/C/man2/remap_file_pages.2:161 msgid "" "The B() system call appeared in Linux 2.5.46; glibc " "support was added in version 2.3.3." @@ -8462,12 +8626,23 @@ msgstr "" "サポートは glibc バージョン 2.3.3 で追加された。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:157 +#: build/C/man2/remap_file_pages.2:165 msgid "The B() system call is Linux-specific." msgstr "B() システムコールは Linux 固有のものである。" +#. commit 3ee6dafc677a68e461a7ddafc94a580ebab80735 #. type: Plain text -#: build/C/man2/remap_file_pages.2:164 +#: build/C/man2/remap_file_pages.2:176 +msgid "" +"Since Linux 2.6.23, B() creates non-linear mappings only " +"on in-memory file systems such as tmpfs, hugetlbfs or ramfs. On filesystems " +"with a backing store, B() is not much more efficient than " +"using B(2) to adjust which parts of the file are mapped to which " +"addresses." +msgstr "" + +#. type: Plain text +#: build/C/man2/remap_file_pages.2:183 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2)" @@ -8533,9 +8708,9 @@ msgid "" msgstr "" "B() は、POSIX 共有メモリ・オブジェクトを新規に作成/オープンした" "り、 すでに存在するオブジェクトをオープンしたりする。 POSIX 共有メモリ・オブ" -"ジェクトは、実際には、関係のないプロセスが 共有メモリの同じ領域を B" -"(2) するために使用することができる手段である。 B() は、逆の操" -"作、つまり以前に B() で作成されたオブジェクトの削除を行う。" +"ジェクトは、実際には、関係のないプロセスが 共有メモリの同じ領域を " +"B(2) するために使用することができる手段である。 B() は、" +"逆の操作、つまり以前に B() で作成されたオブジェクトの削除を行う。" #. glibc allows the initial slash to be omitted, and makes #. multiple initial slashes equivalent to a single slash. @@ -8557,7 +8732,7 @@ msgstr "" "B() の動作は B(2) とよく似ている。 I で作成したりオー" "プンしたりする共有メモリ・オブジェクトを指定する。 移植性を持たせるためには、" "共有メモリ・オブジェクトは I という形式の名前で識別し、 その名前" -"は、最大で B (すなわち 255) 文字の NULL 終端された文字列で、 スラッ" +"は、最大で B (すなわち 255) 文字のヌル終端された文字列で、 スラッ" "シュで始まり、スラッシュ以外の文字が 1 文字以上続く形式 にすべきである。" #. type: Plain text @@ -8696,10 +8871,11 @@ msgid "" "(for a newly created object) and B(2). After a call to B(2) " "the file descriptor may be closed without affecting the memory mapping." msgstr "" -"通常、これらのファイル・ディスクリプタは、この後続けて実行される B" -"(2) (新規に作成されたオブジェクトの場合のみ) と B(2) の呼び出しに使用" -"される。 B(2) を呼び出した後は、ファイル・ディスクリプタをクローズして" -"もよく、 クローズしてもメモリ・マッピングに影響を与えることはない。" +"通常、これらのファイル・ディスクリプタは、この後続けて実行される " +"B(2) (新規に作成されたオブジェクトの場合のみ) と B(2) の呼" +"び出しに使用される。 B(2) を呼び出した後は、ファイル・ディスクリプタを" +"クローズしてもよく、 クローズしてもメモリ・マッピングに影響を与えることはな" +"い。" #. type: Plain text #: build/C/man3/shm_open.3:171 @@ -8755,7 +8931,7 @@ msgstr "" "み権限が なかった。" #. type: TP -#: build/C/man3/shm_open.3:202 build/C/man2/shmget.2:195 +#: build/C/man3/shm_open.3:202 build/C/man2/shmget.2:198 #, no-wrap msgid "B" msgstr "B" @@ -8804,7 +8980,7 @@ msgstr "ファイルシステムでオープンできるファイル数の上限 #. type: TP #: build/C/man3/shm_open.3:233 build/C/man3/shm_open.3:242 -#: build/C/man2/shmget.2:209 +#: build/C/man2/shmget.2:225 #, no-wrap msgid "B" msgstr "B" @@ -9150,10 +9326,10 @@ msgstr "" #. type: Plain text #: build/C/man2/shmctl.2:62 msgid "" -"B() performs the control operation specified by I on the " -"System V shared memory segment whose identifier is given in I." +"B() performs the control operation specified by I on the System" +"\\ V shared memory segment whose identifier is given in I." msgstr "" -"B() は、識別子が I の System V 共有メモリ・セグメントに対し" +"B() は、識別子が I の System\\ V 共有メモリ・セグメントに対し" "て I で指示した制御命令を実行する。" #. type: Plain text @@ -9318,8 +9494,8 @@ msgstr "" #. type: Plain text #: build/C/man2/shmctl.2:165 msgid "" -"See also the description of I in B" -"(5)." +"See also the description of I in " +"B(5)." msgstr "B(5) の I の説明も参照のこと。" #. type: TP @@ -9331,7 +9507,7 @@ msgstr "B (Linux 固有)" #. type: Plain text #: build/C/man2/shmctl.2:178 msgid "" -"Returns information about system-wide shared memory limits and parameters in " +"Return information about system-wide shared memory limits and parameters in " "the structure pointed to by I. This structure is of type I " "(thus, a cast is required), defined in Isys/shm.hE> if the " "B<_GNU_SOURCE> feature test macro is defined:" @@ -9345,7 +9521,7 @@ msgstr "" #: build/C/man2/shmctl.2:192 #, no-wrap msgid "" -"struct shminfo {\n" +"struct shminfo {\n" " unsigned long shmmax; /* Maximum segment size */\n" " unsigned long shmmin; /* Minimum segment size;\n" " always 1 */\n" @@ -9387,8 +9563,8 @@ msgstr "B (Linux 固有)" #. type: Plain text #: build/C/man2/shmctl.2:216 msgid "" -"Returns a I structure whose fields contain information about " -"system resources consumed by shared memory. This structure is defined in " +"Return a I structure whose fields contain information about system " +"resources consumed by shared memory. This structure is defined in " "Isys/shm.hE> if the B<_GNU_SOURCE> feature test macro is defined:" msgstr "" "共有メモリが消費しているシステム資源に関する情報を 格納した I 構造" @@ -9436,7 +9612,7 @@ msgstr "B (Linux 固有)" #. type: Plain text #: build/C/man2/shmctl.2:246 msgid "" -"Returns a I structure as for B. However, the I " +"Return a I structure as for B. However, the I " "argument is not a segment identifier, but instead an index into the kernel's " "internal array that maintains information about all shared memory segments " "on the system." @@ -9550,13 +9726,13 @@ msgstr "" "るアドレスにアクセスできない。" #. type: TP -#: build/C/man2/shmctl.2:325 build/C/man2/shmop.2:197 +#: build/C/man2/shmctl.2:325 build/C/man2/shmop.2:194 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmctl.2:328 build/C/man2/shmop.2:200 +#: build/C/man2/shmctl.2:328 build/C/man2/shmop.2:197 msgid "I points to a removed identifier." msgstr "I が削除 (remove) された識別子 (identifier) を指している。" @@ -9621,15 +9797,15 @@ msgstr "" #. SVr4 documents an additional error condition EMFILE. #. type: Plain text -#: build/C/man2/shmctl.2:382 build/C/man2/shmget.2:235 -#: build/C/man2/shmop.2:234 +#: build/C/man2/shmctl.2:382 build/C/man2/shmget.2:251 +#: build/C/man2/shmop.2:231 msgid "SVr4, POSIX.1-2001." msgstr "SVr4, POSIX.1-2001." #. Like Linux, the FreeBSD man pages still document #. the inclusion of these header files. #. type: Plain text -#: build/C/man2/shmctl.2:395 build/C/man2/shmget.2:251 +#: build/C/man2/shmctl.2:395 build/C/man2/shmget.2:269 msgid "" "The inclusion of Isys/types.hE> and Isys/ipc.hE> isn't " "required on Linux or by any version of POSIX. However, some old " @@ -9649,7 +9825,7 @@ msgstr "" msgid "" "The B, B and B operations are used by the " "B(1) program to provide information on allocated resources. In the " -"future these may modified or moved to a I filesystem interface." +"future, these may modified or moved to a I filesystem interface." msgstr "" "B, B, B 操作は、 B(1) プログラムで割り当" "て済の資源に関する情報を提供するために 使用されている。将来、これらの操作は変" @@ -9697,6 +9873,12 @@ msgstr "" msgid "SHMGET" msgstr "SHMGET" +#. type: TH +#: build/C/man2/shmget.2:38 +#, no-wrap +msgid "2014-10-02" +msgstr "2014-10-02" + #. type: Plain text #: build/C/man2/shmget.2:41 msgid "shmget - allocates a System V shared memory segment" @@ -9710,19 +9892,19 @@ msgstr "BIB<, size_t >IB<, int >IB<);>" #. type: Plain text #: build/C/man2/shmget.2:72 msgid "" -"B() returns the identifier of the System V shared memory segment " +"B() returns the identifier of the System\\ V shared memory segment " "associated with the value of the argument I. A new shared memory " "segment, with size equal to the value of I rounded up to a multiple of " "B, is created if I has the value B or I " "isn't B, no shared memory segment corresponding to I " "exists, and B is specified in I." msgstr "" -"B() は I 引き数に対応する System V 共有メモリ・セグメントの識別" -"子を返す。 I の値が B の場合、もしくは I に対応する共" -"有メモリ・セグメントが存在せず、 I に B が指定されていた場" -"合、 新しい共有メモリ・セグメントを作成する。 作成される共有メモリ・セグメン" -"トは、 I 引き数の値を B の倍数へと切り上げた (round up) 大き" -"さとなる。" +"B() は I 引き数に対応する System\\ V 共有メモリ・セグメントの識" +"別子を返す。 I の値が B の場合、もしくは I に対応する" +"共有メモリ・セグメントが存在せず、 I に B が指定されていた" +"場合、 新しい共有メモリ・セグメントを作成する。 作成される共有メモリ・セグメ" +"ントは、 I 引き数の値を B の倍数へと切り上げた (round up) 大" +"きさとなる。" #. type: Plain text #: build/C/man2/shmget.2:91 @@ -9751,8 +9933,8 @@ msgstr "B" #. type: Plain text #: build/C/man2/shmget.2:102 msgid "" -"to create a new segment. If this flag is not used, then B() will " -"find the segment associated with I and check to see if the user has " +"Create a new segment. If this flag is not used, then B() will find " +"the segment associated with I and check to see if the user has " "permission to access the segment." msgstr "" "新しいセグメントを作成する。このフラグが指定されなかった場合、 B() " @@ -9766,38 +9948,22 @@ msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:105 -msgid "used with B to ensure failure if the segment already exists." -msgstr "" -"B と共に使用し、セグメントが既に存在した場合には 失敗することを保" -"証する。" - -#. type: TP -#: build/C/man2/shmget.2:105 -#, no-wrap -msgid "I" -msgstr "I" - -#. type: Plain text -#: build/C/man2/shmget.2:115 +#: build/C/man2/shmget.2:108 msgid "" -"(least significant 9 bits) specifying the permissions granted to the owner, " -"group, and world. These bits have the same format, and the same meaning, as " -"the I argument of B(2). Presently, the execute permissions are " -"not used by the system." +"This flag is used with B to ensure that this call creates the " +"segment. If the segment already exists, the call fails." msgstr "" -"(下位 9 ビット) 所有者、グループ、他人 (world) への許可を指定する。 これらの" -"ビットは B(2) の I 引き数と同じ形式で同じ意味を持つ。 今のとこ" -"ろ、システムは実行 (execute) 許可を参照しない。" +"このフラグは B とともに使用し、 この呼び出しで確実にセグメントが作" +"成されるようにする。 セグメントが既に存在した場合には、 呼び出しは失敗する。" #. type: TP -#: build/C/man2/shmget.2:115 +#: build/C/man2/shmget.2:108 #, no-wrap msgid "B (since Linux 2.6)" msgstr "B (Linux 2.6 以降)" #. type: Plain text -#: build/C/man2/shmget.2:121 +#: build/C/man2/shmget.2:114 msgid "" "Allocate the segment using \"huge pages.\" See the Linux kernel source file " "I for further information." @@ -9806,7 +9972,7 @@ msgstr "" "Linux カーネルソースのファイル I を参照。" #. type: TP -#: build/C/man2/shmget.2:121 +#: build/C/man2/shmget.2:114 #, no-wrap msgid "B (since Linux 2.6.15)" msgstr "B (Linux 2.6.15 以降)" @@ -9814,7 +9980,7 @@ msgstr "B (Linux 2.6.15 以降)" #. As at 2.6.17-rc2, this flag has no effect if SHM_HUGETLB was also #. specified. #. type: Plain text -#: build/C/man2/shmget.2:140 +#: build/C/man2/shmget.2:133 msgid "" "This flag serves the same purpose as the B(2) B flag. " "Do not reserve swap space for this segment. When swap space is reserved, " @@ -9831,18 +9997,30 @@ msgstr "" "ルに関する議論も参照のこと。" #. type: Plain text -#: build/C/man2/shmget.2:148 +#: build/C/man2/shmget.2:143 +msgid "" +"In addition to the above flags, the least significant 9 bits of I " +"specify the permissions granted to the owner, group, and others. These bits " +"have the same format, and the same meaning, as the I argument of " +"B(2). Presently, execute permissions are not used by the system." +msgstr "" +"上記のフラグに加えて、 I の下位 9 ビットは、所有者、グループ、その他" +"への許可を指定する。 これらのビットは B(2) の I 引き数と同じ形式" +"で同じ意味を持つ。 今のところ、システムは実行 (execute) 許可を参照しない。" + +#. type: Plain text +#: build/C/man2/shmget.2:151 msgid "" "When a new shared memory segment is created, its contents are initialized to " -"zero values, and its associated data structure, I (see B" -"(2)), is initialized as follows:" +"zero values, and its associated data structure, I (see " +"B(2)), is initialized as follows:" msgstr "" "共有メモリ・セグメントが新たに作成される際、 共有メモリ・セグメントの内容は " "0 で初期化され、 関連情報を保持するデータ構造体 I は以下のように初" "期化される。" #. type: Plain text -#: build/C/man2/shmget.2:153 +#: build/C/man2/shmget.2:156 msgid "" "I and I are set to the effective user ID of the " "calling process." @@ -9851,7 +10029,7 @@ msgstr "" "ユーザーID を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:158 +#: build/C/man2/shmget.2:161 msgid "" "I and I are set to the effective group ID of " "the calling process." @@ -9860,7 +10038,7 @@ msgstr "" "定する。" #. type: Plain text -#: build/C/man2/shmget.2:163 +#: build/C/man2/shmget.2:166 msgid "" "The least significant 9 bits of I are set to the least " "significant 9 bit of I." @@ -9868,24 +10046,24 @@ msgstr "" "I の下位 9 ビットに I の下位 9 ビットを設定する。" #. type: Plain text -#: build/C/man2/shmget.2:167 +#: build/C/man2/shmget.2:170 msgid "I is set to the value of I." msgstr "I に I の値を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:174 +#: build/C/man2/shmget.2:177 msgid "" "I, I, I, and I are set to 0." msgstr "" "I, I, I, I に 0 を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:177 +#: build/C/man2/shmget.2:180 msgid "I is set to the current time." msgstr "I に現在の時刻を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:180 +#: build/C/man2/shmget.2:183 msgid "" "If the shared memory segment already exists, the permissions are verified, " "and a check is made to see if it is marked for destruction." @@ -9894,21 +10072,19 @@ msgstr "" "(destruction) マークがつけられていないかのチェックが行われる。" #. type: Plain text -#: build/C/man2/shmget.2:185 +#: build/C/man2/shmget.2:188 msgid "" "On success, a valid shared memory identifier is returned. On error, -1 is " "returned, and I is set to indicate the error." -msgstr "" -"成功の場合、有効な共有メモリ・セグメントの識別子が返される。 エラーの場合、 " -"-1 が返り、 I にエラーを示す値が設定される。" +msgstr "成功の場合、有効な共有メモリ・セグメントの識別子が返される。 エラーの場合、 -1 が返り、 I にエラーを示す値が設定される。" #. type: Plain text -#: build/C/man2/shmget.2:189 +#: build/C/man2/shmget.2:192 msgid "On failure, I is set to one of the following:" msgstr "失敗した場合は I が以下のどれかに設定される:" #. type: Plain text -#: build/C/man2/shmget.2:195 +#: build/C/man2/shmget.2:198 msgid "" "The user does not have permission to access the shared memory segment, and " "does not have the B capability." @@ -9917,25 +10093,34 @@ msgstr "" "B ケーパビリティも持っていない。" #. type: Plain text -#: build/C/man2/shmget.2:199 -msgid "B was specified and the segment exists." +#: build/C/man2/shmget.2:207 +msgid "" +"B and B were specified in I, but a shared " +"memory segment already exists for I." +msgstr "" +"B と B が I に指定されたが、 I に対応する共" +"有メモリセグメントはすでに存在する。" + +#. type: Plain text +#: build/C/man2/shmget.2:215 +msgid "" +"A new segment was to be created and I is less than B or " +"greater than B." msgstr "" -"B が指定されていたが、そのセグメントが既に存在する。" +"新しいセグメントを作成しようとしたが、 I が B より小さいか " +"B よりも大きかった。" #. type: Plain text -#: build/C/man2/shmget.2:205 +#: build/C/man2/shmget.2:221 msgid "" -"A new segment was to be created and I E B or I E " -"B, or no new segment was to be created, a segment with given key " -"existed, but I is greater than the size of that segment." +"A segment for the given I exists, but I is greater than the size " +"of that segment." msgstr "" -"新しいセグメントを作成しようとした際に I E B または " -"I E B であった。 もしくは、指定されたキーに対応するセグメン" -"トが既に存在して、新しい セグメントを作成しようとはしなかったが、I が存" -"在するセグメントの サイズよりも大きかった。" +"指定された I に対応するセグメントが既に存在するが、 I がそのセグメ" +"ントのサイズよりも大きかった。" #. type: Plain text -#: build/C/man2/shmget.2:214 +#: build/C/man2/shmget.2:230 msgid "" "No segment exists for the given I, and B was not specified." msgstr "" @@ -9943,12 +10128,12 @@ msgstr "" "いなかった。" #. type: Plain text -#: build/C/man2/shmget.2:217 +#: build/C/man2/shmget.2:233 msgid "No memory could be allocated for segment overhead." msgstr "セグメントの管理情報 (overhead) に割り当てるメモリがなかった。" #. type: Plain text -#: build/C/man2/shmget.2:225 +#: build/C/man2/shmget.2:241 msgid "" "All possible shared memory IDs have been taken (B), or allocating a " "segment of the requested I would cause the system to exceed the system-" @@ -9959,7 +10144,7 @@ msgstr "" "限 (B) を超過した。" #. type: Plain text -#: build/C/man2/shmget.2:232 +#: build/C/man2/shmget.2:248 msgid "" "The B flag was specified, but the caller was not privileged " "(did not have the B capability)." @@ -9968,108 +10153,151 @@ msgstr "" "(B ケーパビリティを持っていなかった)。" #. type: Plain text -#: build/C/man2/shmget.2:238 -msgid "B is a nonportable Linux extension." -msgstr "B は Linux での拡張であり、移植性はない。" +#: build/C/man2/shmget.2:256 +msgid "B and B are Linux extensions." +msgstr "B と B は Linux での拡張である。" #. type: Plain text -#: build/C/man2/shmget.2:261 +#: build/C/man2/shmget.2:280 msgid "" "B isn't a flag field but a I type. If this special " -"value is used for I, the system call ignores everything but the least " -"significant 9 bits of I and creates a new shared memory segment (on " -"success)." +"value is used for I, the system call ignores all but the least " +"significant 9 bits of I and creates a new shared memory segment." msgstr "" "B はフラグではなく I 型である。 この特別な値が I に" "使用された場合は、 B() は I の下位 9 ビットを除いた全てを無" -"視し、 (成功すれば) 新しい共有メモリ・セグメントを作成する。" +"視し、 新しい共有メモリ・セグメントを作成する。" + +#. type: SS +#: build/C/man2/shmget.2:280 +#, no-wrap +msgid "Shared memory limits" +msgstr "共有メモリの上限" #. type: Plain text -#: build/C/man2/shmget.2:265 +#: build/C/man2/shmget.2:284 msgid "" -"The following limits on shared memory segment resources affect the B" -"() call:" +"The following limits on shared memory segment resources affect the " +"B() call:" msgstr "" "B() コールに影響する共有メモリ・セグメント資源の制限は以下の通りであ" "る:" #. type: TP -#: build/C/man2/shmget.2:265 +#: build/C/man2/shmget.2:284 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:269 -#, fuzzy -#| msgid "" -#| "System wide maximum of shared memory pages (on Linux, this limit can be " -#| "read and modified via I)." +#: build/C/man2/shmget.2:287 +msgid "System-wide limit on the number of pages of shared memory." +msgstr "共有メモリのページ数のシステム全体での上限値。" + +#. commit 060028bac94bf60a65415d1d55a359c3a17d5c31 +#. type: Plain text +#: build/C/man2/shmget.2:293 msgid "" -"System wide maximum of shared memory pages. Since Linux 2.2, the default " -"value for this limit is" +"On Linux, this limit can be read and modified via I. Since Linux 3.16, the default value for this limit is:" msgstr "" -"システム全体の共有メモリ・ページの最大数 (Linux では、この上限値は I 経由で参照したり、変更したりできる)。" +"Linux では、この上限値は I 経由で参照したり、変更し" +"たりできる。 Linux 3.16 以降では、 この上限値のデフォルト値は以下のとおりであ" +"る。" #. type: Plain text -#: build/C/man2/shmget.2:271 +#: build/C/man2/shmget.2:295 build/C/man2/shmget.2:330 #, no-wrap -msgid " SHMMAX / PAGE_SIZE * (SHMMNI / 16)\n" -msgstr "" +msgid " ULONG_MAX - 2^24\n" +msgstr " ULONG_MAX - 2^24\n" #. type: Plain text -#: build/C/man2/shmget.2:274 +#: build/C/man2/shmget.2:306 msgid "" -"Assuming a 4kB page size, this formula yields (since Linux 2.4) the value " -"2^20 (2,097,152)." -msgstr "" +"The effect of this value (which is suitable for both 32-bit and 64-bit " +"systems) is to impose no limitation on allocations. This value, rather " +"than B, was chosen as the default to prevent some cases where " +"historical applications simply raised the existing limit without first " +"checking its current value. Such applications would cause the value to " +"overflow if the limit was set at B." +msgstr "この値は割り当てに関する上限としては適用されない (なお、この値は 32 ビットシステムにも 64 ビットシステムにも適したものになっている)。 B ではなく、この値が選ばれたのは、 古いアプリケーションが最初に現在の値を確認せずに既存の上限をそのまま増やしてしまっても問題が起こらないようなデフォルト値を選んだからである。 このようなアプリケーションでは、 上限を B に設定すると値がオーバーフローしてしまうことになる。" #. type: Plain text -#: build/C/man2/shmget.2:277 -#, fuzzy -#| msgid "" -#| "System wide maximum of shared memory pages (on Linux, this limit can be " -#| "read and modified via I)." +#: build/C/man2/shmget.2:309 +msgid "From Linux 2.4 up to Linux 3.15, the default value for this limit was:" +msgstr "Linux 2.4 から Linux 3.15 では、この上限のデフォルト値は以下であった。" + +#. type: Plain text +#: build/C/man2/shmget.2:311 +#, no-wrap +msgid " SHMMAX / PAGE_SIZE * (SHMMNI / 16)\n" +msgstr " SHMMAX / PAGE_SIZE * (SHMMNI / 16)\n" + +#. type: Plain text +#: build/C/man2/shmget.2:319 msgid "" -"On Linux, this limit can be read and modified via I." -msgstr "" -"システム全体の共有メモリ・ページの最大数 (Linux では、この上限値は I 経由で参照したり、変更したりできる)。" +"If B and B were not modified, then multiplying the result of " +"this formula by the page size (to get a value in bytes) yielded a value of 8 " +"GB as the limit on the total memory used by all shared memory segments." +msgstr "B と B が変更されないとすると、 この式の結果に (バイト単位の値を得るために) ページサイズを掛け算すると、 全ての共有メモリセグメントで使用される全メモリの上限として、 8 GB という値が得られる。" #. type: TP -#: build/C/man2/shmget.2:277 +#: build/C/man2/shmget.2:319 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:281 +#: build/C/man2/shmget.2:322 +msgid "Maximum size in bytes for a shared memory segment." +msgstr "1 つの共有メモリセグメントの最大サイズ (バイト数)。" + +#. commit 060028bac94bf60a65415d1d55a359c3a17d5c31 +#. type: Plain text +#: build/C/man2/shmget.2:328 msgid "" -"Maximum size in bytes for a shared memory segment. Since Linux 2.2, the " -"default value of this limit is 0x2000000 (32MB)." +"On Linux, this limit can be read and modified via I. Since Linux 3.16, the default value for this limit is:" msgstr "" +"Linux では、この上限値は I 経由で参照したり、変更し" +"たりできる。 Linux 3.16 以降では、 この上限値のデフォルト値は以下のとおりであ" +"る。" #. type: Plain text -#: build/C/man2/shmget.2:284 -#, fuzzy -#| msgid "" -#| "System wide maximum of shared memory pages (on Linux, this limit can be " -#| "read and modified via I)." +#: build/C/man2/shmget.2:339 msgid "" -"On Linux, this limit can be read and modified via I." +"The effect of this value (which is suitable for both 32-bit and 64-bit " +"systems) is to impose no limitation on allocations. See the description of " +"B for a discussion of why this default value (rather than " +"B) is used." +msgstr "この値は割り当てに関する上限としては適用されない (なお、この値は 32 ビットシステムにも 64 ビットシステムにも適したものになっている)。 (B ではなく) このデフォルト値が使われている理由については B の説明を参照。" + +#. type: Plain text +#: build/C/man2/shmget.2:342 +msgid "" +"From Linux 2.2 up to Linux 3.15, the default value of this limit was " +"0x2000000 (32MB)." msgstr "" -"システム全体の共有メモリ・ページの最大数 (Linux では、この上限値は I 経由で参照したり、変更したりできる)。" +"Linux 2.2 から Linux 3.15 までは、この上限値のデフォルト値は 0x2000000 " +"(32MB) であった。" + +#. type: Plain text +#: build/C/man2/shmget.2:348 +msgid "" +"Because it is not possible to map just part of a shared memory segment, the " +"amount of virtual memory places another limit on the maximum size of a " +"usable segment: for example, on i386 the largest segments that can be mapped " +"have a size of around 2.8 GB, and on x86_64 the limit is around 127 TB." +msgstr "共有メモリセグメントの一部分だけをマッピングすることはできないので、 使用可能なセグメントの最大サイズには仮想メモリの総量という別の上限が適用される。 例えば、i386 ではマッピング可能な最大セグメントの大きさはおおよそ 2.8GB で、 x86_64 では上限はおおよそ 127TB である。" #. type: TP -#: build/C/man2/shmget.2:284 +#: build/C/man2/shmget.2:348 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:290 +#: build/C/man2/shmget.2:354 msgid "" "Minimum size in bytes for a shared memory segment: implementation dependent " "(currently 1 byte, though B is the effective minimum size)." @@ -10078,36 +10306,34 @@ msgstr "" "が、実質的な最小サイズは B である)。" #. type: TP -#: build/C/man2/shmget.2:290 +#: build/C/man2/shmget.2:354 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:295 +#: build/C/man2/shmget.2:359 msgid "" -"System wide maximum number of shared memory segments. In Linux 2.2, the " -"default value for this limit was 128; since Linux 2.4, the default value is " -"4096." +"System-wide limit on the number of shared memory segments. In Linux 2.2, " +"the default value for this limit was 128; since Linux 2.4, the default value " +"is 4096." msgstr "" +"システム全体の共有メモリ・セグメント数の上限値。 この上限値のデフォルトは、 " +"Linux 2.2 以降では 128、 Linux 2.4 以降で 4096 である。" #. Kernels between 2.4.x and 2.6.8 had an off-by-one error that meant #. that we could create one more segment than SHMMNI -- MTK #. This /proc file is not available in Linux 2.2 and earlier -- MTK #. type: Plain text -#: build/C/man2/shmget.2:301 -#, fuzzy -#| msgid "" -#| "System wide maximum of shared memory pages (on Linux, this limit can be " -#| "read and modified via I)." +#: build/C/man2/shmget.2:365 msgid "" "On Linux, this limit can be read and modified via I." msgstr "" -"システム全体の共有メモリ・ページの最大数 (Linux では、この上限値は I 経由で参照したり、変更したりできる)。" +"Linux では、この上限値は I 経由で参照したり、変更し" +"たりできる。" #. type: Plain text -#: build/C/man2/shmget.2:305 +#: build/C/man2/shmget.2:369 msgid "" "The implementation has no specific limits for the per-process maximum number " "of shared memory segments (B)." @@ -10116,16 +10342,16 @@ msgstr "" "上の制限はない。" #. type: Plain text -#: build/C/man2/shmget.2:311 +#: build/C/man2/shmget.2:375 msgid "" -"Until version 2.3.30 Linux would return B for a B() on a " +"Until version 2.3.30, Linux would return B for a B() on a " "shared memory segment scheduled for deletion." msgstr "" "バージョン 2.3.30 までは、Linux は 削除が予定されている共有メモリ・セグメント" "に対して B() が行われると B を返していた。" #. type: Plain text -#: build/C/man2/shmget.2:317 +#: build/C/man2/shmget.2:381 msgid "" "The name choice B was perhaps unfortunate, B would " "more clearly show its function." @@ -10134,7 +10360,7 @@ msgstr "" "より明確にその機能を表しているだろう。" #. type: Plain text -#: build/C/man2/shmget.2:325 +#: build/C/man2/shmget.2:389 msgid "" "B(2), B(2), B(2), B(3), B(7), " "B(7), B(7)" @@ -10175,19 +10401,25 @@ msgstr "BIB<, const void *>IB<, int >I msgid "BIB<);>\n" msgstr "BIB<);>\n" +#. type: SS +#: build/C/man2/shmop.2:54 +#, no-wrap +msgid "shmat()" +msgstr "shmat()" + #. type: Plain text -#: build/C/man2/shmop.2:61 +#: build/C/man2/shmop.2:62 msgid "" -"B() attaches the System V shared memory segment identified by " +"B() attaches the System\\ V shared memory segment identified by " "I to the address space of the calling process. The attaching address " "is specified by I with one of the following criteria:" msgstr "" -"B() は I で指定された System V 共有メモリ・セグメント (shared " -"memory segment) を コールしたプロセスのアドレス空間に付加 (attach) する。 付" -"加するアドレスは I に以下のどれかの形式で指定する:" +"B() は I で指定された System\\ V 共有メモリ・セグメント " +"(shared memory segment) を コールしたプロセスのアドレス空間に付加 (attach) す" +"る。 付加するアドレスは I に以下のどれかの形式で指定する:" #. type: Plain text -#: build/C/man2/shmop.2:67 +#: build/C/man2/shmop.2:68 msgid "" "If I is NULL, the system chooses a suitable (unused) address at " "which to attach the segment." @@ -10196,50 +10428,88 @@ msgstr "" "されていない) アドレスを選択する。" #. type: Plain text -#: build/C/man2/shmop.2:82 +#: build/C/man2/shmop.2:80 msgid "" "If I isn't NULL and B is specified in I, the " "attach occurs at the address equal to I rounded down to the nearest " -"multiple of B. Otherwise I must be a page-aligned address " -"at which the attach occurs." +"multiple of B." msgstr "" "I が NULL でなく B が I に指定されている場合は、 " "I を B の倍数へと切り捨てた (rounding down) のと等しいアドレ" -"スへ付加する。 その他の場合は I は付加を行なうアドレスで、ページ境界" -"を指している必要がある。" +"スへ付加する。" #. type: Plain text -#: build/C/man2/shmop.2:92 +#: build/C/man2/shmop.2:84 msgid "" -"If B is specified in I, the segment is attached for " -"reading and the process must have read permission for the segment. " -"Otherwise the segment is attached for read and write and the process must " -"have read and write permission for the segment. There is no notion of a " -"write-only shared memory segment." +"Otherwise, I must be a page-aligned address at which the attach " +"occurs." msgstr "" -"B が I に指定されていた場合は、 セグメントは読み込み専用" -"に付加され、プロセスはそのセグメントへの 読み込み許可を持たなければならな" -"い。 そうでなければそのセグメントは読み込みと書き込みのために付加され、 プロ" -"セスはそのセグメントに読み込みと書き込みの許可を持つ必要がある。 書き込み専用" -"の共有メモリ・セグメントという概念は存在しない。" +"その他の場合は I は付加を行なうアドレスで、ページ境界を指している必" +"要がある。" + +#. type: Plain text +#: build/C/man2/shmop.2:90 +msgid "" +"In addition to B, the following flags may be specified in the " +"I bit-mask argument:" +msgstr "B に加えて、以下のフラグを I ビットマスク引き数に指定できる。" + +#. type: TP +#: build/C/man2/shmop.2:90 +#, no-wrap +msgid "B (Linux-specific; since Linux 2.6.9)" +msgstr "B (Linux 固有; Linux 2.6.9 以降)" #. type: Plain text -#: build/C/man2/shmop.2:107 +#: build/C/man2/shmop.2:94 msgid "" -"The (Linux-specific) B flag may be specified in I to " -"indicate that the mapping of the segment should replace any existing mapping " -"in the range starting at I and continuing for the size of the " -"segment. (Normally an B error would result if a mapping already " -"exists in this address range.) In this case, I must not be NULL." +"Allow the contents of the segment to be executed. The caller must have " +"execute permission on the segment." +msgstr "セグメントの内容を実行できる。 呼び出し元はセグメントに対する実行許可を持っていなければならない。" + +#. type: TP +#: build/C/man2/shmop.2:94 +#, no-wrap +msgid "B" +msgstr "B" + +#. type: Plain text +#: build/C/man2/shmop.2:102 +msgid "" +"Attach the segment for read-only access. The process must have read " +"permission for the segment. If this flag is not specified, the segment is " +"attached for read and write access, and the process must have read and write " +"permission for the segment. There is no notion of a write-only shared " +"memory segment." msgstr "" -"(Linux 特有の) B フラグが I に指定された場合は、 セグメン" -"トのマッピングを既存のマッピングに置き換える。 マッピングの範囲は、 " -"I から始まりセグメントのサイズ分だけある (通常 B エラーは、" -"このアドレス範囲にマッピングが既に存在するために起る)。 このフラグを指定する" -"場合は、 I が NULL であってはならない。" +"セグメントを読み込み専用に付加する。 プロセスはそのセグメントへの読み込み許可" +"を持っていなければならない。 このフラグが指定されなかった場合、そのセグメント" +"は読み込みと書き込みアクセスのために付加され、 プロセスはそのセグメントに読み" +"込みと書き込みの許可を持っていなければならない。 書き込み専用の共有メモリ・セ" +"グメントという概念は存在しない。" + +#. type: TP +#: build/C/man2/shmop.2:102 +#, no-wrap +msgid "B (Linux-specific)" +msgstr "B (Linux 固有)" #. type: Plain text -#: build/C/man2/shmop.2:114 +#: build/C/man2/shmop.2:115 +msgid "" +"This flag specifies that the mapping of the segment should replace any " +"existing mapping in the range starting at I and continuing for the " +"size of the segment. (Normally, an B error would result if a " +"mapping already exists in this address range.) In this case, I " +"must not be NULL." +msgstr "" +"このフラグは、 セグメントのマッピングを既存のマッピングに置き換えることを指示" +"する。 マッピングの範囲は、 I から始まりセグメントのサイズ分だけあ" +"る (通常 B エラーは、このアドレス範囲にマッピングが既に存在するために" +"起る)。 このフラグを指定する場合は、 I が NULL であってはならない。" + +#. type: Plain text +#: build/C/man2/shmop.2:122 msgid "" "The B(2) value of the calling process is not altered by the attach. " "The segment will automatically be detached at process exit. The same " @@ -10252,7 +10522,7 @@ msgstr "" "複数回付加することもできる。" #. type: Plain text -#: build/C/man2/shmop.2:122 +#: build/C/man2/shmop.2:130 msgid "" "A successful B() call updates the members of the I " "structure (see B(2)) associated with the shared memory segment as " @@ -10262,22 +10532,28 @@ msgstr "" "造体 (B(2) を参照) のメンバーを以下のように更新する:" #. type: Plain text -#: build/C/man2/shmop.2:125 +#: build/C/man2/shmop.2:133 msgid "I is set to the current time." msgstr "I には現在の時刻を設定する。" #. type: Plain text -#: build/C/man2/shmop.2:128 build/C/man2/shmop.2:154 +#: build/C/man2/shmop.2:136 build/C/man2/shmop.2:163 msgid "I is set to the process-ID of the calling process." msgstr "I には呼び出したプロセスのプロセス ID が設定される。" #. type: Plain text -#: build/C/man2/shmop.2:131 +#: build/C/man2/shmop.2:140 msgid "I is incremented by one." msgstr "I を 1 増加させる。" +#. type: SS +#: build/C/man2/shmop.2:140 +#, no-wrap +msgid "shmdt()" +msgstr "shmdt()" + #. type: Plain text -#: build/C/man2/shmop.2:142 +#: build/C/man2/shmop.2:151 msgid "" "B() detaches the shared memory segment located at the address " "specified by I from the address space of the calling process. The " @@ -10291,21 +10567,21 @@ msgstr "" "ない。" #. type: Plain text -#: build/C/man2/shmop.2:148 +#: build/C/man2/shmop.2:157 msgid "" -"On a successful B() call the system updates the members of the " +"On a successful B() call, the system updates the members of the " "I structure associated with the shared memory segment as follows:" msgstr "" "成功した B() コールはその共有メモリ・セグメントに関連する " "I 構造体のメンバーを以下のように更新する:" #. type: Plain text -#: build/C/man2/shmop.2:151 +#: build/C/man2/shmop.2:160 msgid "I is set to the current time." msgstr "I には現在の時刻が設定される。" #. type: Plain text -#: build/C/man2/shmop.2:159 +#: build/C/man2/shmop.2:168 msgid "" "I is decremented by one. If it becomes 0 and the segment is " "marked for deletion, the segment is deleted." @@ -10314,35 +10590,10 @@ msgstr "" "セグメントは削除される。" #. type: Plain text -#: build/C/man2/shmop.2:163 -msgid "" -"After a B(2) the child inherits the attached shared memory segments." -msgstr "" -"B(2) した後、子プロセスは付加された共有メモリ・セグメントを継承する。" - -#. type: Plain text -#: build/C/man2/shmop.2:167 -msgid "" -"After an B(2) all attached shared memory segments are detached from " -"the process." -msgstr "" -"B(2) した後、全ての付加された共有メモリ・セグメントはプロセスから分離" -"される。" - -#. type: Plain text -#: build/C/man2/shmop.2:171 -msgid "" -"Upon B<_exit>(2) all attached shared memory segments are detached from the " -"process." -msgstr "" -"B(2) において、全ての付加された共有メモリ・セグメントはプロセスから分" -"離される。" - -#. type: Plain text -#: build/C/man2/shmop.2:179 +#: build/C/man2/shmop.2:176 msgid "" -"On success B() returns the address of the attached shared memory " -"segment; on error I<(void\\ *)\\ -1> is returned, and I is set to " +"On success, B() returns the address of the attached shared memory " +"segment; on error, I<(void\\ *)\\ -1> is returned, and I is set to " "indicate the cause of the error." msgstr "" "B() は、成功した場合、 付加された共有メモリ・セグメントのアドレスを返" @@ -10350,22 +10601,22 @@ msgstr "" "値を設定する。" #. type: Plain text -#: build/C/man2/shmop.2:185 +#: build/C/man2/shmop.2:182 msgid "" -"On success B() returns 0; on error -1 is returned, and I is " +"On success, B() returns 0; on error -1 is returned, and I is " "set to indicate the cause of the error." msgstr "" "B() は、成功すると 0 を返す。 エラーの場合、-1 を返し、 I にエ" "ラーの原因を示す値を設定する。" #. type: Plain text -#: build/C/man2/shmop.2:191 +#: build/C/man2/shmop.2:188 msgid "When B() fails, I is set to one of the following:" msgstr "" "B() が失敗した場合、 I に以下の値のどれかを設定して返す:" #. type: Plain text -#: build/C/man2/shmop.2:197 +#: build/C/man2/shmop.2:194 msgid "" "The calling process does not have the required permissions for the requested " "attach type, and does not have the B capability." @@ -10374,7 +10625,7 @@ msgstr "" "B ケーパビリティ (capability) がない。" #. type: Plain text -#: build/C/man2/shmop.2:214 +#: build/C/man2/shmop.2:211 msgid "" "Invalid I value, unaligned (i.e., not page-aligned and B was " "not specified) or invalid I value, or can't attach segment at " @@ -10386,20 +10637,20 @@ msgstr "" "れているが、 I が NULL であった。" #. type: Plain text -#: build/C/man2/shmop.2:217 +#: build/C/man2/shmop.2:214 msgid "Could not allocate memory for the descriptor or for the page tables." msgstr "" "ディスクリプター (descriptor) やページ・テーブルのためのメモリを 割り当てるこ" "とができない。" #. type: Plain text -#: build/C/man2/shmop.2:223 +#: build/C/man2/shmop.2:220 msgid "When B() fails, I is set as follows:" msgstr "B() が失敗した場合、 B は以下のようにセットされる:" #. The following since 2.6.17-rc1: #. type: Plain text -#: build/C/man2/shmop.2:231 +#: build/C/man2/shmop.2:228 msgid "" "There is no shared memory segment attached at I; or, I is " "not aligned on a page boundary." @@ -10408,20 +10659,43 @@ msgstr "" "I がページ境界に合っていない。" #. type: Plain text -#: build/C/man2/shmop.2:250 +#: build/C/man2/shmop.2:243 msgid "" -"In SVID 3 (or perhaps earlier) the type of the I argument was " +"In SVID 3 (or perhaps earlier), the type of the I argument was " "changed from I into I, and the returned type of " -"B() from I into I. (Linux libc4 and libc5 have " -"the I prototypes; glibc2 has I.)" +"B() from I into I." msgstr "" "SVID 3 で (たぶんそれより前だと思うが) I 引き数の型は I " "から I に、I() の返り値の型は I から I に変更された (Linux では libc4 と libc5 のプロトタイプは I で" -"あり、glibc2 のプロトタイプは I である)。" +"\\ *> に変更された。" #. type: Plain text -#: build/C/man2/shmop.2:262 +#: build/C/man2/shmop.2:248 +msgid "" +"After a B(2), the child inherits the attached shared memory segments." +msgstr "" +"B(2) した後、子プロセスは付加された共有メモリ・セグメントを継承する。" + +#. type: Plain text +#: build/C/man2/shmop.2:252 +msgid "" +"After an B(2), all attached shared memory segments are detached from " +"the process." +msgstr "" +"B(2) した後、全ての付加された共有メモリ・セグメントはプロセスから分離" +"される。" + +#. type: Plain text +#: build/C/man2/shmop.2:256 +msgid "" +"Upon B<_exit>(2), all attached shared memory segments are detached from the " +"process." +msgstr "" +"B(2) において、全ての付加された共有メモリ・セグメントはプロセスから分" +"離される。" + +#. type: Plain text +#: build/C/man2/shmop.2:268 msgid "" "Using B() with I equal to NULL is the preferred, portable " "way of attaching a shared memory segment. Be aware that the shared memory " @@ -10438,7 +10712,7 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man2/shmop.2:267 +#: build/C/man2/shmop.2:273 msgid "" "On Linux, it is possible to attach a shared memory segment even if it is " "already marked to be deleted. However, POSIX.1-2001 does not specify this " @@ -10449,41 +10723,39 @@ msgstr "" "を指定しておらず、 他の多くの実装もこれをサポートしていない。" #. type: Plain text -#: build/C/man2/shmop.2:270 +#: build/C/man2/shmop.2:276 msgid "The following system parameter affects B():" msgstr "以下のシステム・パラメーターは、 B() に影響する:" -#. FIXME A good explanation of the rationale for the existence -#. of SHMLBA would be useful here #. type: TP -#: build/C/man2/shmop.2:270 +#: build/C/man2/shmop.2:276 #, no-wrap msgid "B" msgstr "B" -#. FIXME That last sentence isn't true for all Linux -#. architectures (i.e., SHMLBA != PAGE_SIZE for some architectures) -#. -- MTK, Nov 04 #. type: Plain text -#: build/C/man2/shmop.2:283 +#: build/C/man2/shmop.2:289 msgid "" -"Segment low boundary address multiple. Must be page aligned. For the " -"current implementation the B value is B." -msgstr "" -"セグメントの境界アドレスの最小倍数。ページ境界に合ってなければならない。 現在" -"の実装では B の値は B である。" +"Segment low boundary address multiple. When explicitly specifying an attach " +"address in a call to B(), the caller should ensure that the address " +"is a multiple of this value. This is necessary on some architectures, in " +"order either to ensure good CPU cache performance or to ensure that " +"different attaches of the same segment have consistent views within the CPU " +"cache. B is normally some multiple of the system page size (on many " +"Linux architectures, it is the same as the system page size)." +msgstr "セグメントの下限アドレス倍数 (Segment low boundary address multiple)。 B() の呼び出しにおいて付加するアドレスを明示的に指定する際、 呼び出し元は指定するアドレスがこの値の倍数になるように保証しなければならない。 これはいくつかのアーキテクチャーでは必要なことで、 CPU キャッシュの性能を保証するためであったり、 同じセグメントの別の付与を CPU キャッシュ内部で一貫して扱えるようにするためだったりする。 B は通常はシステムページサイズの倍数である (Linux の多くのアーキテクチャーではシステムページサイズと同じである)。" #. type: Plain text -#: build/C/man2/shmop.2:287 +#: build/C/man2/shmop.2:293 msgid "" -"The implementation places no intrinsic limit on the per-process maximum " -"number of shared memory segments (B)." +"The implementation places no intrinsic per-process limit on the number of " +"shared memory segments (B)." msgstr "" "現在の実装では、プロセスごとの 共有メモリ・セグメントの最大数 (B) に" "関する実装依存の制限はない。" #. type: Plain text -#: build/C/man2/shmop.2:295 +#: build/C/man2/shmop.2:301 msgid "" "B(2), B(2), B(2), B(2), B(7), " "B(7), B(7)" @@ -10879,9 +11151,7 @@ msgstr "" msgid "" "On success, B() returns 0; on failure -1 is returned and " "I is set to indicate the error." -msgstr "" -"成功の場合、 B() は 0 を返す。失敗の場合、-1 を返し、 " -"I にエラーを示す値を設定する。" +msgstr "成功の場合、 B() は 0 を返す。失敗の場合、-1 を返し、 I にエラーを示す値を設定する。" #. type: Plain text #: build/C/man2/sync_file_range.2:152 @@ -10932,16 +11202,22 @@ msgstr "" "このシステムコールは Linux 独自であり、 移植性が必要なプログラムでは使用を避" "けるべきである。" +#. type: SS +#: build/C/man2/sync_file_range.2:184 +#, no-wrap +msgid "sync_file_range2()" +msgstr "sync_file_range2()" + #. See kernel commit edd5cd4a9424f22b0fa08bef5e299d41befd5622 #. type: Plain text -#: build/C/man2/sync_file_range.2:200 +#: build/C/man2/sync_file_range.2:201 msgid "" "Some architectures (e.g., PowerPC, ARM) need 64-bit arguments to be aligned " "in a suitable pair of registers. On such architectures, the call signature " "of B() shown in the SYNOPSIS would force a register to be " -"wasted as padding between the I and I arguments. (See B" -"(2) for details.) Therefore, these architectures define a different system " -"call that orders the arguments suitably:" +"wasted as padding between the I and I arguments. (See " +"B(2) for details.) Therefore, these architectures define a " +"different system call that orders the arguments suitably:" msgstr "" "いくつかのアーキテクチャ (例えば、 PowerPC や ARM) では、 64 ビットの引き数は" "適切なレジスタの組に割り当てる必要がある。 このようなアーキテクチャでは、 " @@ -10951,7 +11227,7 @@ msgstr "" "き数が適切な順序になった別のシステムコールが定義されている。" #. type: Plain text -#: build/C/man2/sync_file_range.2:205 +#: build/C/man2/sync_file_range.2:206 #, no-wrap msgid "" "BIB<, unsigned int >IB<,>\n" @@ -10961,7 +11237,7 @@ msgstr "" "B< off64_t >IB<, off64_t >IB<);>\n" #. type: Plain text -#: build/C/man2/sync_file_range.2:210 +#: build/C/man2/sync_file_range.2:211 msgid "" "The behavior of this system call is otherwise exactly the same as " "B()." @@ -10971,7 +11247,7 @@ msgstr "" "glibc では提供されていない。" #. type: Plain text -#: build/C/man2/sync_file_range.2:221 +#: build/C/man2/sync_file_range.2:222 msgid "" "A system call with this signature first appeared on the ARM architecture in " "Linux 2.6.20, with the name B(). It was renamed in " @@ -10988,18 +11264,70 @@ msgstr "" "B() を適切に使用するようになっている。" #. type: Plain text -#: build/C/man2/sync_file_range.2:226 +#: build/C/man2/sync_file_range.2:227 msgid "B(2), B(2), B(2), B(2)" msgstr "B(2), B(2), B(2), B(2)" -#~ msgid "2014-01-24" -#~ msgstr "2014-01-24" +#~ msgid "2014-05-03" +#~ msgstr "2014-05-03" + +#~ msgid "2012-05-04" +#~ msgstr "2012-05-04" + +#~ msgid "2012-03-29" +#~ msgstr "2012-03-29" + +#~ msgid "2012-04-30" +#~ msgstr "2012-04-30" -#~ msgid "2012-04-28" -#~ msgstr "2012-04-28" +#~ msgid "2014-04-06" +#~ msgstr "2014-04-06" -#~ msgid "2011-09-14" -#~ msgstr "2011-09-14" +#~ msgid "2013-02-12" +#~ msgstr "2013-02-12" + +#~ msgid "2014-05-21" +#~ msgstr "2014-05-21" + +#~ msgid "" +#~ "System-wide limit on the number of shared memory pages. Since Linux 2.4, " +#~ "the default value for this limit is" +#~ msgstr "" +#~ "システム全体の共有メモリ・ページ数の上限値。 Linux 2.2 以降では、この上限" +#~ "値のデフォルトは以下である。" + +#~ msgid "2014-04-28" +#~ msgstr "2014-04-28" + +#~ msgid "" +#~ "Segment low boundary address multiple. Must be page aligned. For the " +#~ "current implementation, the B value is B." +#~ msgstr "" +#~ "セグメントの境界アドレスの最小倍数。ページ境界に合ってなければならない。 " +#~ "現在の実装では B の値は B である。" + +#~ msgid "2013-04-01" +#~ msgstr "2013-04-01" + +#~ msgid "2014-05-10" +#~ msgstr "2014-05-10" + +#~ msgid "2008-04-22" +#~ msgstr "2008-04-22" + +#~ msgid "I" +#~ msgstr "I" + +#~ msgid "B was specified and the segment exists." +#~ msgstr "" +#~ "B が指定されていたが、そのセグメントが既に存在する。" + +#~ msgid "" +#~ "Assuming a 4kB page size, this formula yields (since Linux 2.4) the value " +#~ "2^20 (2,097,152)." +#~ msgstr "" +#~ "4kB ページサイズと仮定すると、 (Linux 2.4 以降では) この式の結果は 2^20 " +#~ "(2,097,152) になる。" #~ msgid "" #~ "Maximum size in bytes for a shared memory segment: policy dependent (on " @@ -11019,27 +11347,6 @@ msgstr "B(2), B(2), B(2), B(2)" #~ "より前では 128。 Linux では、この上限値は I 経由" #~ "で参照したり、変更したりできる)。" -#~ msgid "2013-05-12" -#~ msgstr "2013-05-12" - -#~ msgid "2012-04-16" -#~ msgstr "2012-04-16" - -#~ msgid "2012-08-14" -#~ msgstr "2012-08-14" - -#~ msgid "2012-03-23" -#~ msgstr "2012-03-23" - -#~ msgid "B() returns zero on success, and -1 on failure." -#~ msgstr "B() は成功すると 0 を返し、エラーの場合は -1 を返す。" - -#~ msgid "On success, B() returns 0; on error, it returns -1." -#~ msgstr "B() は成功すると 0 を返す。エラーの場合は -1 を返す。" - -#~ msgid "2012-05-31" -#~ msgstr "2012-05-31" - #~ msgid "" #~ "A valid segment identifier, I, is returned on success, -1 on error." #~ msgstr "" @@ -11078,16 +11385,17 @@ msgstr "B(2), B(2), B(2), B(2)" #~ "ない。" #~ msgid "" -#~ "The function B() installs handlers for B(3), B" -#~ "(3) and B(3). The function B() disables these handlers." +#~ "The function B() installs handlers for B(3), " +#~ "B(3) and B(3). The function B() disables " +#~ "these handlers." #~ msgstr "" #~ "関数 B() は、 B(3), B(3), B(3) のハンドラ" #~ "を組み込む。 関数 B() はこれらのハンドラを解除する。" #~ msgid "" -#~ "The environment variable B defines a file where B" -#~ "() writes its output. This file must be writable to the user or " -#~ "B() will do nothing. If the file is not empty it will be " +#~ "The environment variable B defines a file where " +#~ "B() writes its output. This file must be writable to the user " +#~ "or B() will do nothing. If the file is not empty it will be " #~ "truncated." #~ msgstr "" #~ "環境変数 B は B() が出力を書き出すファイルを指定す" @@ -11120,26 +11428,3 @@ msgstr "B(2), B(2), B(2), B(2)" #~ "有用である。 ファイルサイズが I+I よりも小さい場合であって" #~ "も、ブロックの前もっての割り当てにより (B(2) が返す) ファイルサイズ" #~ "は変更されることはない。" - -#~ msgid "" -#~ "(Linux 2.6.9 and later) the caller was not privileged (B) " -#~ "and its B soft resource limit was 0." -#~ msgstr "" -#~ "(Linux 2.6.9 以降) 呼び出し元は特権 (B) を持たず、ソフト資" -#~ "源制限 B が 0 である。" - -#~ msgid "" -#~ "(Linux 2.6.8 and earlier) The calling process has insufficient privilege " -#~ "to call B(). Under Linux the B capability is " -#~ "required." -#~ msgstr "" -#~ "(Linux 2.6.8 以前) 呼び出し元プロセスが B() を呼び出すのに必" -#~ "要な特権を所有していなかった。 Linux では、 B ケーパビリティ" -#~ "が必要である。" - -#~ msgid "" -#~ "B() appeared in kernel 2.5.60. Glibc support has been " -#~ "provided since version 2.2." -#~ msgstr "" -#~ "B() はカーネル 2.5.60 で登場した。 glibc でのサポートは " -#~ "glibc バージョン 2.2 以降で行われている。"