X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=po4a%2Fmemory%2Fpo%2Fja.po;h=4ba2205b2a59a070f729ce0b9ece2fe45a900e7d;hb=fdb5e87785c9c32c75aa572ca433ac821f8c1f33;hp=02d45fd463cbaf5b003240b7b1bf7673cc35f9ba;hpb=75fabc03b87ade605498944290f8ecd1ecc6c5cd;p=linuxjm%2FLDP_man-pages.git diff --git a/po4a/memory/po/ja.po b/po4a/memory/po/ja.po index 02d45fd4..4ba2205b 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: 2012-05-28 07:16+0900\n" -"PO-Revision-Date: 2012-05-08 01:33+0900\n" +"POT-Creation-Date: 2014-04-13 10:27+0900\n" +"PO-Revision-Date: 2014-04-13 10:37+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -28,57 +28,57 @@ msgid "2007-05-31" msgstr "2007-05-31" #. type: TH -#: build/C/man2/alloc_hugepages.2:25 build/C/man2/cacheflush.2:24 -#: build/C/man2/fallocate.2:8 build/C/man2/madvise.2:35 -#: build/C/man3/mallinfo.3:24 build/C/man3/malloc_stats.3:24 -#: build/C/man3/malloc_trim.3:24 build/C/man3/mallopt.3:24 -#: build/C/man2/mlock.2:27 build/C/man2/mmap.2:40 build/C/man2/mmap2.2:29 -#: build/C/man2/mprotect.2:32 build/C/man2/mremap.2:31 build/C/man2/msync.2:25 -#: build/C/man2/posix_fadvise.2:27 build/C/man2/readahead.2:28 -#: build/C/man2/remap_file_pages.2:26 build/C/man3/shm_open.3:26 -#: build/C/man7/shm_overview.7:27 build/C/man2/shmctl.2:43 -#: build/C/man2/shmget.2:36 build/C/man2/shmop.2:39 -#: build/C/man2/subpage_prot.2:28 build/C/man2/sync_file_range.2:30 +#: build/C/man2/alloc_hugepages.2:25 build/C/man2/cacheflush.2:25 +#: build/C/man2/fallocate.2:11 build/C/man2/madvise.2:35 +#: 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/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 +#: build/C/man2/shmget.2:38 build/C/man2/shmop.2:41 +#: build/C/man2/subpage_prot.2:30 build/C/man2/sync_file_range.2:30 #, no-wrap msgid "Linux" msgstr "Linux" #. type: TH -#: build/C/man2/alloc_hugepages.2:25 build/C/man3/alloca.3:41 -#: build/C/man2/cacheflush.2:24 build/C/man2/fallocate.2:8 -#: build/C/man2/madvise.2:35 build/C/man3/mallinfo.3:24 -#: build/C/man3/malloc_get_state.3:23 build/C/man3/malloc_hook.3:6 -#: build/C/man3/malloc_info.3:23 build/C/man3/malloc_stats.3:24 -#: build/C/man3/malloc_trim.3:24 build/C/man3/malloc_usable_size.3:23 -#: build/C/man3/mallopt.3:24 build/C/man3/mcheck.3:23 build/C/man2/mlock.2:27 -#: build/C/man2/mmap.2:40 build/C/man2/mmap2.2:29 build/C/man2/mprotect.2:32 -#: build/C/man2/mremap.2:31 build/C/man2/msync.2:25 build/C/man3/mtrace.3:23 -#: build/C/man2/posix_fadvise.2:27 build/C/man3/posix_fallocate.3:23 -#: build/C/man3/posix_memalign.3:28 build/C/man2/readahead.2:28 -#: build/C/man2/remap_file_pages.2:26 build/C/man3/shm_open.3:26 -#: build/C/man7/shm_overview.7:27 build/C/man2/shmctl.2:43 -#: build/C/man2/shmget.2:36 build/C/man2/shmop.2:39 -#: build/C/man2/subpage_prot.2:28 build/C/man2/sync_file_range.2:30 +#: build/C/man2/alloc_hugepages.2:25 build/C/man3/alloca.3:43 +#: build/C/man2/cacheflush.2:25 build/C/man2/fallocate.2:11 +#: build/C/man2/madvise.2:35 build/C/man3/mallinfo.3:26 +#: build/C/man3/malloc_get_state.3:25 build/C/man3/malloc_hook.3:10 +#: 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/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 +#: 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 +#: build/C/man2/shmget.2:38 build/C/man2/shmop.2:41 +#: build/C/man2/subpage_prot.2:30 build/C/man2/sync_file_range.2:30 #, no-wrap msgid "Linux Programmer's Manual" msgstr "Linux Programmer's Manual" #. type: SH -#: build/C/man2/alloc_hugepages.2:26 build/C/man3/alloca.3:42 -#: build/C/man2/cacheflush.2:25 build/C/man2/fallocate.2:9 -#: build/C/man2/madvise.2:36 build/C/man3/mallinfo.3:25 -#: build/C/man3/malloc_get_state.3:24 build/C/man3/malloc_hook.3:7 -#: build/C/man3/malloc_info.3:24 build/C/man3/malloc_stats.3:25 -#: build/C/man3/malloc_trim.3:25 build/C/man3/malloc_usable_size.3:24 -#: build/C/man3/mallopt.3:25 build/C/man3/mcheck.3:24 build/C/man2/mlock.2:28 -#: build/C/man2/mmap.2:41 build/C/man2/mmap2.2:30 build/C/man2/mprotect.2:33 -#: build/C/man2/mremap.2:32 build/C/man2/msync.2:26 build/C/man3/mtrace.3:24 -#: build/C/man2/posix_fadvise.2:28 build/C/man3/posix_fallocate.3:24 -#: build/C/man3/posix_memalign.3:29 build/C/man2/readahead.2:29 -#: build/C/man2/remap_file_pages.2:27 build/C/man3/shm_open.3:27 -#: build/C/man7/shm_overview.7:28 build/C/man2/shmctl.2:44 -#: build/C/man2/shmget.2:37 build/C/man2/shmop.2:40 -#: build/C/man2/subpage_prot.2:29 build/C/man2/sync_file_range.2:31 +#: build/C/man2/alloc_hugepages.2:26 build/C/man3/alloca.3:44 +#: build/C/man2/cacheflush.2:26 build/C/man2/fallocate.2:12 +#: build/C/man2/madvise.2:36 build/C/man3/mallinfo.3:27 +#: build/C/man3/malloc_get_state.3:26 build/C/man3/malloc_hook.3:11 +#: 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/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 +#: build/C/man2/remap_file_pages.2:29 build/C/man3/shm_open.3:27 +#: build/C/man7/shm_overview.7:28 build/C/man2/shmctl.2:46 +#: build/C/man2/shmget.2:39 build/C/man2/shmop.2:42 +#: build/C/man2/subpage_prot.2:31 build/C/man2/sync_file_range.2:31 #, no-wrap msgid "NAME" msgstr "名前" @@ -90,20 +90,20 @@ msgstr "" "alloc_hugepages, free_hugepages - 大きなサイズのページの割り当てと解放を行う" #. type: SH -#: build/C/man2/alloc_hugepages.2:28 build/C/man3/alloca.3:44 -#: build/C/man2/cacheflush.2:27 build/C/man2/fallocate.2:11 -#: build/C/man2/madvise.2:38 build/C/man3/mallinfo.3:27 -#: build/C/man3/malloc_get_state.3:26 build/C/man3/malloc_hook.3:11 -#: 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:30 -#: build/C/man2/mmap.2:43 build/C/man2/mmap2.2:32 build/C/man2/mprotect.2:35 -#: build/C/man2/mremap.2:34 build/C/man2/msync.2:28 build/C/man3/mtrace.3:26 -#: build/C/man2/posix_fadvise.2:30 build/C/man3/posix_fallocate.3:26 -#: build/C/man3/posix_memalign.3:31 build/C/man2/readahead.2:31 -#: build/C/man2/remap_file_pages.2:29 build/C/man3/shm_open.3:29 -#: build/C/man2/shmctl.2:46 build/C/man2/shmget.2:39 build/C/man2/shmop.2:42 -#: build/C/man2/subpage_prot.2:31 build/C/man2/sync_file_range.2:33 +#: build/C/man2/alloc_hugepages.2:28 build/C/man3/alloca.3:46 +#: build/C/man2/cacheflush.2:28 build/C/man2/fallocate.2:14 +#: build/C/man2/madvise.2:38 build/C/man3/mallinfo.3:29 +#: build/C/man3/malloc_get_state.3:28 build/C/man3/malloc_hook.3:15 +#: 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/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 +#: build/C/man2/remap_file_pages.2:31 build/C/man3/shm_open.3:29 +#: build/C/man2/shmctl.2:48 build/C/man2/shmget.2:41 build/C/man2/shmop.2:44 +#: build/C/man2/subpage_prot.2:33 build/C/man2/sync_file_range.2:33 #, no-wrap msgid "SYNOPSIS" msgstr "書式" @@ -128,21 +128,21 @@ msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: SH -#: build/C/man2/alloc_hugepages.2:38 build/C/man3/alloca.3:48 -#: build/C/man2/cacheflush.2:33 build/C/man2/fallocate.2:19 -#: build/C/man2/madvise.2:50 build/C/man3/mallinfo.3:31 -#: build/C/man3/malloc_get_state.3:34 build/C/man3/malloc_hook.3:29 -#: build/C/man3/malloc_info.3:32 build/C/man3/malloc_stats.3:31 -#: build/C/man3/malloc_trim.3:31 build/C/man3/malloc_usable_size.3:30 -#: build/C/man3/mallopt.3:31 build/C/man3/mcheck.3:39 build/C/man2/mlock.2:40 -#: build/C/man2/mmap.2:52 build/C/man2/mmap2.2:39 build/C/man2/mprotect.2:41 -#: build/C/man2/mremap.2:43 build/C/man2/msync.2:32 build/C/man3/mtrace.3:32 -#: build/C/man2/posix_fadvise.2:49 build/C/man3/posix_fallocate.3:44 -#: build/C/man3/posix_memalign.3:83 build/C/man2/readahead.2:38 -#: build/C/man2/remap_file_pages.2:37 build/C/man3/shm_open.3:41 -#: build/C/man7/shm_overview.7:30 build/C/man2/shmctl.2:54 -#: build/C/man2/shmget.2:47 build/C/man2/shmop.2:51 -#: build/C/man2/subpage_prot.2:36 build/C/man2/sync_file_range.2:41 +#: build/C/man2/alloc_hugepages.2:38 build/C/man3/alloca.3:50 +#: build/C/man2/cacheflush.2:34 build/C/man2/fallocate.2:22 +#: build/C/man2/madvise.2:50 build/C/man3/mallinfo.3:33 +#: build/C/man3/malloc_get_state.3:36 build/C/man3/malloc_hook.3:33 +#: 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/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 +#: build/C/man2/remap_file_pages.2:39 build/C/man3/shm_open.3:41 +#: build/C/man7/shm_overview.7:30 build/C/man2/shmctl.2:56 +#: build/C/man2/shmget.2:49 build/C/man2/shmop.2:53 +#: build/C/man2/subpage_prot.2:41 build/C/man2/sync_file_range.2:41 #, no-wrap msgid "DESCRIPTION" msgstr "説明" @@ -235,19 +235,19 @@ msgstr "" "が返される。" #. type: SH -#: build/C/man2/alloc_hugepages.2:109 build/C/man3/alloca.3:58 -#: build/C/man2/cacheflush.2:52 build/C/man2/fallocate.2:109 -#: build/C/man2/madvise.2:268 build/C/man3/malloc_get_state.3:59 -#: build/C/man3/malloc_info.3:46 build/C/man3/malloc_trim.3:49 -#: build/C/man3/malloc_usable_size.3:38 build/C/man3/mallopt.3:377 -#: build/C/man3/mcheck.3:128 build/C/man2/mlock.2:117 build/C/man2/mmap.2:373 -#: build/C/man2/mmap2.2:54 build/C/man2/mprotect.2:72 -#: build/C/man2/mremap.2:128 build/C/man2/msync.2:68 -#: build/C/man2/posix_fadvise.2:86 build/C/man3/posix_fallocate.3:64 -#: build/C/man3/posix_memalign.3:141 build/C/man2/readahead.2:65 -#: build/C/man2/remap_file_pages.2:122 build/C/man3/shm_open.3:169 -#: build/C/man2/shmctl.2:272 build/C/man2/shmget.2:178 -#: build/C/man2/shmop.2:169 build/C/man2/subpage_prot.2:61 +#: build/C/man2/alloc_hugepages.2:109 build/C/man3/alloca.3:60 +#: build/C/man2/cacheflush.2:53 build/C/man2/fallocate.2:127 +#: 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/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/sync_file_range.2:141 #, no-wrap msgid "RETURN VALUE" @@ -265,24 +265,24 @@ msgstr "" "に設定される。" #. type: SH -#: build/C/man2/alloc_hugepages.2:118 build/C/man2/cacheflush.2:58 -#: build/C/man2/fallocate.2:112 build/C/man2/madvise.2:275 -#: build/C/man3/malloc_info.3:51 build/C/man3/malloc_trim.3:54 -#: build/C/man3/mallopt.3:382 build/C/man2/mlock.2:123 build/C/man2/mmap.2:390 -#: build/C/man2/mmap2.2:61 build/C/man2/mprotect.2:79 -#: build/C/man2/mremap.2:136 build/C/man2/msync.2:73 -#: build/C/man2/posix_fadvise.2:89 build/C/man3/posix_fallocate.3:70 -#: build/C/man3/posix_memalign.3:155 build/C/man2/readahead.2:71 -#: build/C/man2/remap_file_pages.2:129 build/C/man3/shm_open.3:178 -#: build/C/man2/shmctl.2:294 build/C/man2/shmget.2:182 -#: build/C/man2/shmop.2:183 build/C/man2/subpage_prot.2:66 +#: build/C/man2/alloc_hugepages.2:118 build/C/man2/cacheflush.2:59 +#: build/C/man2/fallocate.2:134 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/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/sync_file_range.2:147 #, no-wrap msgid "ERRORS" msgstr "エラー" #. type: TP -#: build/C/man2/alloc_hugepages.2:119 build/C/man2/fallocate.2:151 +#: build/C/man2/alloc_hugepages.2:119 build/C/man2/fallocate.2:173 #, no-wrap msgid "B" msgstr "B" @@ -319,22 +319,22 @@ msgstr "" "る。" #. type: SH -#: build/C/man2/alloc_hugepages.2:130 build/C/man3/alloca.3:63 -#: build/C/man2/cacheflush.2:74 build/C/man2/fallocate.2:188 -#: build/C/man2/madvise.2:325 build/C/man3/mallinfo.3:109 -#: build/C/man3/malloc_get_state.3:84 build/C/man3/malloc_hook.3:76 -#: build/C/man3/malloc_info.3:59 build/C/man3/malloc_stats.3:53 -#: build/C/man3/malloc_trim.3:58 build/C/man3/malloc_usable_size.3:46 -#: build/C/man3/mallopt.3:390 build/C/man3/mcheck.3:144 -#: build/C/man2/mlock.2:187 build/C/man2/mmap.2:483 build/C/man2/mmap2.2:77 -#: build/C/man2/mprotect.2:107 build/C/man2/mremap.2:186 -#: build/C/man2/msync.2:96 build/C/man3/mtrace.3:76 -#: build/C/man2/posix_fadvise.2:111 build/C/man3/posix_fallocate.3:101 -#: build/C/man3/posix_memalign.3:180 build/C/man2/readahead.2:87 -#: build/C/man2/remap_file_pages.2:151 build/C/man3/shm_open.3:249 -#: build/C/man7/shm_overview.7:101 build/C/man2/shmctl.2:366 -#: build/C/man2/shmget.2:229 build/C/man2/shmop.2:226 -#: build/C/man2/subpage_prot.2:91 build/C/man2/sync_file_range.2:180 +#: build/C/man2/alloc_hugepages.2:130 build/C/man3/alloca.3:70 +#: build/C/man2/cacheflush.2:75 build/C/man2/fallocate.2:214 +#: build/C/man2/madvise.2:325 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/mallopt.3:392 build/C/man3/mcheck.3:145 +#: build/C/man2/mlock.2:186 build/C/man2/mmap.2:497 build/C/man2/mmap2.2:77 +#: build/C/man2/mprotect.2:113 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/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/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/subpage_prot.2:96 build/C/man2/sync_file_range.2:180 #, no-wrap msgid "CONFORMING TO" msgstr "準拠" @@ -349,18 +349,18 @@ msgstr "" "必要なプログラムで使うべきでない。" #. type: SH -#: build/C/man2/alloc_hugepages.2:133 build/C/man3/alloca.3:71 -#: build/C/man2/madvise.2:346 build/C/man3/malloc_get_state.3:86 -#: build/C/man3/malloc_hook.3:78 build/C/man3/malloc_info.3:61 -#: build/C/man3/malloc_stats.3:55 build/C/man3/malloc_trim.3:60 -#: build/C/man3/malloc_trim.3:72 build/C/man3/malloc_usable_size.3:48 -#: build/C/man3/mcheck.3:146 build/C/man2/mlock.2:214 build/C/man2/mmap.2:501 -#: build/C/man2/mmap2.2:79 build/C/man2/mprotect.2:116 -#: build/C/man2/mremap.2:192 build/C/man3/mtrace.3:78 -#: build/C/man2/posix_fadvise.2:120 build/C/man3/posix_memalign.3:219 -#: build/C/man3/shm_open.3:255 build/C/man7/shm_overview.7:103 -#: build/C/man2/shmctl.2:371 build/C/man2/shmget.2:235 -#: build/C/man2/shmop.2:245 build/C/man2/subpage_prot.2:93 +#: 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/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/man2/mlock.2:213 build/C/man2/mmap.2:515 build/C/man2/mmap2.2:79 +#: build/C/man2/mprotect.2:122 build/C/man2/mremap.2:191 +#: 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 #, no-wrap msgid "NOTES" @@ -370,9 +370,9 @@ msgstr "注意" #: build/C/man2/alloc_hugepages.2:141 msgid "" "These system calls are gone; they existed only in Linux 2.5.36 through to " -"2.5.54. Now the hugetlbfs file system can be used instead. Memory backed " -"by huge pages (if the CPU supports them) is obtained by using B(2) to " -"map files in this virtual file system." +"2.5.54. Now the hugetlbfs filesystem can be used instead. Memory backed by " +"huge pages (if the CPU supports them) is obtained by using B(2) to " +"map files in this virtual filesystem." msgstr "" "これらのシステムコールはなくなった。 これらは Linux 2.5.36 から 2.5.54 にのみ" "存在する。 代わりに今は hugetlbfs ファイルシステムを使うことができる。 (CPU " @@ -388,96 +388,92 @@ msgstr "" "ヒュージページの最大数は、 B 起動パラメータを使って指定できる。" #. type: SH -#: build/C/man2/alloc_hugepages.2:150 build/C/man3/alloca.3:153 -#: build/C/man2/cacheflush.2:88 build/C/man2/fallocate.2:195 -#: build/C/man2/madvise.2:379 build/C/man3/mallinfo.3:278 -#: build/C/man3/malloc_get_state.3:112 build/C/man3/malloc_hook.3:138 -#: build/C/man3/malloc_info.3:258 build/C/man3/malloc_stats.3:65 -#: build/C/man3/malloc_trim.3:80 build/C/man3/malloc_usable_size.3:62 -#: build/C/man3/mallopt.3:578 build/C/man3/mcheck.3:211 -#: build/C/man2/mlock.2:337 build/C/man2/mmap.2:671 build/C/man2/mmap2.2:98 -#: build/C/man2/mprotect.2:223 build/C/man2/mremap.2:214 -#: build/C/man2/msync.2:122 build/C/man3/mtrace.3:170 -#: build/C/man2/posix_fadvise.2:188 build/C/man3/posix_fallocate.3:130 -#: build/C/man3/posix_memalign.3:275 build/C/man2/readahead.2:98 -#: build/C/man2/remap_file_pages.2:162 build/C/man3/shm_open.3:280 -#: build/C/man7/shm_overview.7:127 build/C/man2/shmctl.2:410 -#: build/C/man2/shmget.2:298 build/C/man2/shmop.2:290 -#: build/C/man2/subpage_prot.2:126 build/C/man2/sync_file_range.2:222 +#: build/C/man2/alloc_hugepages.2:150 build/C/man3/alloca.3:162 +#: build/C/man2/cacheflush.2:89 build/C/man2/fallocate.2:222 +#: build/C/man2/madvise.2:380 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:336 build/C/man2/mmap.2:737 build/C/man2/mmap2.2:101 +#: build/C/man2/mprotect.2:229 build/C/man2/mremap.2:214 +#: build/C/man2/msync.2:124 build/C/man3/mtrace.3:172 +#: build/C/man2/posix_fadvise.2:197 build/C/man3/posix_fallocate.3:133 +#: 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/man7/shm_overview.7:127 build/C/man2/shmctl.2:435 +#: build/C/man2/shmget.2:314 build/C/man2/shmop.2:295 +#: build/C/man2/subpage_prot.2:134 build/C/man2/sync_file_range.2:226 #, no-wrap msgid "COLOPHON" msgstr "この文書について" #. type: Plain text -#: build/C/man2/alloc_hugepages.2:157 build/C/man3/alloca.3:160 -#: build/C/man2/cacheflush.2:95 build/C/man2/fallocate.2:202 -#: build/C/man2/madvise.2:386 build/C/man3/mallinfo.3:285 -#: build/C/man3/malloc_get_state.3:119 build/C/man3/malloc_hook.3:145 -#: build/C/man3/malloc_info.3:265 build/C/man3/malloc_stats.3:72 -#: build/C/man3/malloc_trim.3:87 build/C/man3/malloc_usable_size.3:69 -#: build/C/man3/mallopt.3:585 build/C/man3/mcheck.3:218 -#: build/C/man2/mlock.2:344 build/C/man2/mmap.2:678 build/C/man2/mmap2.2:105 -#: build/C/man2/mprotect.2:230 build/C/man2/mremap.2:221 -#: build/C/man2/msync.2:129 build/C/man3/mtrace.3:177 -#: build/C/man2/posix_fadvise.2:195 build/C/man3/posix_fallocate.3:137 -#: build/C/man3/posix_memalign.3:282 build/C/man2/readahead.2:105 -#: build/C/man2/remap_file_pages.2:169 build/C/man3/shm_open.3:287 -#: build/C/man7/shm_overview.7:134 build/C/man2/shmctl.2:417 -#: build/C/man2/shmget.2:305 build/C/man2/shmop.2:297 -#: build/C/man2/subpage_prot.2:133 build/C/man2/sync_file_range.2:229 -#, fuzzy -#| msgid "" -#| "This page is part of release 3.40 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.41 of the Linux I project. A " +#: build/C/man2/alloc_hugepages.2:157 build/C/man3/alloca.3:169 +#: build/C/man2/cacheflush.2:96 build/C/man2/fallocate.2:229 +#: build/C/man2/madvise.2:387 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:343 build/C/man2/mmap.2:744 build/C/man2/mmap2.2:108 +#: build/C/man2/mprotect.2:236 build/C/man2/mremap.2:221 +#: build/C/man2/msync.2:131 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:321 build/C/man2/shmop.2:302 +#: build/C/man2/subpage_prot.2:141 build/C/man2/sync_file_range.2:233 +msgid "" +"This page is part of release 3.63 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/." +"found at \\%http://www.kernel.org/doc/man-pages/." msgstr "" -"この man ページは Linux I プロジェクトのリリース 3.40 の一部\n" +"この man ページは Linux I プロジェクトのリリース 3.63 の一部\n" "である。プロジェクトの説明とバグ報告に関する情報は\n" "http://www.kernel.org/doc/man-pages/ に書かれている。" #. type: TH -#: build/C/man3/alloca.3:41 +#: build/C/man3/alloca.3:43 #, no-wrap msgid "ALLOCA" msgstr "ALLOCA" #. type: TH -#: build/C/man3/alloca.3:41 -#, no-wrap -msgid "2008-01-24" -msgstr "2008-01-24" +#: build/C/man3/alloca.3:43 +#, fuzzy, no-wrap +#| msgid "2013-06-10" +msgid "2013-10-07" +msgstr "2013-06-10" #. type: TH -#: build/C/man3/alloca.3:41 build/C/man3/malloc_get_state.3:23 -#: build/C/man3/malloc_hook.3:6 build/C/man3/malloc_info.3:23 -#: build/C/man3/malloc_usable_size.3:23 build/C/man3/mcheck.3:23 -#: build/C/man3/mtrace.3:23 build/C/man3/posix_fallocate.3:23 -#: build/C/man3/posix_memalign.3:28 +#: build/C/man3/alloca.3:43 build/C/man3/malloc_get_state.3:25 +#: build/C/man3/malloc_hook.3:10 build/C/man3/malloc_info.3:25 +#: build/C/man3/malloc_usable_size.3:25 build/C/man3/mcheck.3:25 +#: build/C/man3/mtrace.3:25 build/C/man3/posix_fallocate.3:25 +#: build/C/man3/posix_memalign.3:29 #, no-wrap msgid "GNU" msgstr "GNU" #. type: Plain text -#: build/C/man3/alloca.3:44 +#: build/C/man3/alloca.3:46 msgid "alloca - allocate memory that is automatically freed" msgstr "alloca - 自動的に解放されるメモリを割り当てる" #. type: Plain text -#: build/C/man3/alloca.3:46 +#: build/C/man3/alloca.3:48 msgid "B<#include Ealloca.hE>" msgstr "B<#include Ealloca.hE>" #. type: Plain text -#: build/C/man3/alloca.3:48 +#: build/C/man3/alloca.3:50 msgid "BIB<);>" msgstr "BIB<);>" #. type: Plain text -#: build/C/man3/alloca.3:58 +#: build/C/man3/alloca.3:60 msgid "" "The B() function allocates I bytes of space in the stack " "frame of the caller. This temporary space is automatically freed when the " @@ -488,7 +484,7 @@ msgstr "" "に自動的に解放される。" #. type: Plain text -#: build/C/man3/alloca.3:63 +#: build/C/man3/alloca.3:65 msgid "" "The B() function returns a pointer to the beginning of the " "allocated space. If the allocation causes stack overflow, program behavior " @@ -498,13 +494,30 @@ msgstr "" "よってスタックオーバーフローが起った場合の プログラムの動作は定義されていな" "い。" -#. type: Plain text +#. type: SH #: build/C/man3/alloca.3:65 +#, no-wrap +msgid "ATTRIBUTES" +msgstr "" + +#. type: SS +#: build/C/man3/alloca.3:66 +#, no-wrap +msgid "Multithreading (see pthreads(7))" +msgstr "" + +#. type: Plain text +#: build/C/man3/alloca.3:70 +msgid "The B() function is thread-safe." +msgstr "" + +#. type: Plain text +#: build/C/man3/alloca.3:72 msgid "This function is not in POSIX.1-2001." msgstr "この関数は POSIX.1-2001 にはない。" #. type: Plain text -#: build/C/man3/alloca.3:71 +#: build/C/man3/alloca.3:78 msgid "" "There is evidence that the B() function appeared in 32V, PWB, " "PWB.2, 3BSD, and 4BSD. There is a man page for it in 4.3BSD. Linux uses " @@ -515,7 +528,7 @@ msgstr "" "は POSIX.1-2001 にはない。" #. type: Plain text -#: build/C/man3/alloca.3:86 +#: 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" @@ -530,7 +543,7 @@ msgstr "" "簡単にすることができる。 それ以外の場合では、この関数の使用は推奨されない。" #. type: Plain text -#: build/C/man3/alloca.3:95 +#: build/C/man3/alloca.3:102 msgid "" "Because the space allocated by B() is allocated within the stack " "frame, that space is automatically freed if the function return is jumped " @@ -541,47 +554,54 @@ msgstr "" "ンプした場合には、 割り当てられた空間は自動的に解放される。" #. type: Plain text -#: build/C/man3/alloca.3:100 +#: build/C/man3/alloca.3:107 msgid "Do not attempt to B(3) space allocated by B()!" msgstr "" "B() で割り当てられた空間を B(3) しようとすることのないよう" "に!" #. type: SS -#: build/C/man3/alloca.3:100 +#: build/C/man3/alloca.3:107 #, no-wrap -msgid "Notes on the GNU Version" +msgid "Notes on the GNU version" msgstr "GNU 版についての注意" #. type: Plain text -#: build/C/man3/alloca.3:122 +#: build/C/man3/alloca.3:129 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<-fno-builtin> option is given (and the header Ialloca.hE> is not " -"included). But beware! By default the glibc version of Istdlib." -"hE> includes Ialloca.hE> and that contains the line:" +"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 " +"of Istdlib.hE> includes Ialloca.hE> and that contains " +"the lines:" msgstr "" -"通常 B(1) は B() の呼び出しをインラインコードに変換する。 I<-" -"ansi>, I<-std=c89>, I<-std=c99>, I<-fno-builtin> のいずれかのオプションが指定" -"された場合、この変換は行われない (また Ialloca.hE> のインクルードも" -"行われない)。 だだし、デフォルトでは glibc 版の Istdlib.hE> は " -"Ialloca.hE> をインクルードしており、これには以下の行が含まれている" -"ので注意すること。" +"通常 B(1) は B() の呼び出しをインラインコードに変換する。 I<-" +"ansi>, I<-std=c89>, I<-std=c99>, I<-std=c11> のいずれかのオプションが指定さ" +"れ、B<かつ> Ialloca.hE> がインクルードされていない場合、 この変換は" +"行われない。 それ以外の場合 (-ansi オプションも -std=c* オプションも指定され" +"ない場合) には、 glibc 版の Istdlib.hE> は Ialloca.hE> を" +"インクルードするが、このファイルには以下の行が含まれており、" #. type: Plain text -#: build/C/man3/alloca.3:125 +#: build/C/man3/alloca.3:134 #, no-wrap -msgid " #define alloca(size) __builtin_alloca (size)\n" -msgstr " #define alloca(size) __builtin_alloca (size)\n" +msgid "" +" #ifdef __GNUC__\n" +" #define alloca(size) __builtin_alloca (size)\n" +" #endif\n" +msgstr "" +" #ifdef __GNUC__\n" +" #define alloca(size) __builtin_alloca (size)\n" +" #endif\n" #. type: Plain text -#: build/C/man3/alloca.3:128 +#: build/C/man3/alloca.3:137 msgid "with messy consequences if one has a private version of this function." -msgstr "独自版の __builtin_alloca (size) 関数があると厄介な結果になる。" +msgstr "独自版の __builtin_alloca (size) 関数がある場合、厄介な結果になる。" #. type: Plain text -#: build/C/man3/alloca.3:132 +#: build/C/man3/alloca.3:141 msgid "" "The fact that the code is inlined means that it is impossible to take the " "address of this function, or to change its behavior by linking with a " @@ -591,7 +611,7 @@ msgstr "" "のライブラリをリンクして動作を変更することはできない。" #. type: Plain text -#: build/C/man3/alloca.3:136 +#: build/C/man3/alloca.3:145 msgid "" "The inlined code often consists of a single instruction adjusting the stack " "pointer, and does not check for stack overflow. Thus, there is no NULL " @@ -602,16 +622,17 @@ msgstr "" "よって NULL エラーが返されることはない。" #. type: SH -#: build/C/man3/alloca.3:136 build/C/man2/cacheflush.2:81 -#: build/C/man3/mallinfo.3:113 build/C/man3/mallopt.3:404 -#: build/C/man2/mlock.2:305 build/C/man2/mmap.2:544 build/C/man3/mtrace.3:100 -#: build/C/man2/posix_fadvise.2:177 build/C/man2/shmget.2:284 +#: 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:304 build/C/man2/mmap.2:587 build/C/man3/mtrace.3:102 +#: build/C/man2/posix_fadvise.2:186 build/C/man2/readahead.2:98 +#: build/C/man2/shmget.2:300 #, no-wrap msgid "BUGS" msgstr "バグ" #. type: Plain text -#: build/C/man3/alloca.3:141 +#: build/C/man3/alloca.3:150 msgid "" "There is no error indication if the stack frame cannot be extended. " "(However, after a failed allocation, the program is likely to receive a " @@ -622,7 +643,7 @@ msgstr "" "ようとした場合に B シグナルを受信することだろう。)" #. type: Plain text -#: build/C/man3/alloca.3:149 +#: build/C/man3/alloca.3:158 msgid "" "On many systems B() cannot be used inside the list of arguments of " "a function call, because the stack space reserved by B() would " @@ -633,61 +654,61 @@ msgstr "" "使われるスタック領域の中に現れてしまうためである。" #. type: SH -#: build/C/man3/alloca.3:149 build/C/man2/fallocate.2:191 -#: build/C/man2/madvise.2:371 build/C/man3/mallinfo.3:269 -#: build/C/man3/malloc_get_state.3:109 build/C/man3/malloc_hook.3:133 -#: build/C/man3/malloc_info.3:252 build/C/man3/malloc_stats.3:59 -#: build/C/man3/malloc_trim.3:76 build/C/man3/malloc_usable_size.3:60 -#: build/C/man3/mallopt.3:564 build/C/man3/mcheck.3:204 -#: build/C/man2/mlock.2:330 build/C/man2/mmap.2:653 build/C/man2/mmap2.2:92 -#: build/C/man2/mprotect.2:220 build/C/man2/mremap.2:200 -#: build/C/man2/msync.2:118 build/C/man3/mtrace.3:165 -#: build/C/man2/posix_fadvise.2:182 build/C/man3/posix_fallocate.3:126 -#: build/C/man3/posix_memalign.3:270 build/C/man2/readahead.2:92 -#: build/C/man2/remap_file_pages.2:155 build/C/man3/shm_open.3:269 -#: build/C/man7/shm_overview.7:114 build/C/man2/shmctl.2:403 -#: build/C/man2/shmget.2:290 build/C/man2/shmop.2:282 -#: build/C/man2/subpage_prot.2:120 build/C/man2/sync_file_range.2:217 +#: build/C/man3/alloca.3:158 build/C/man2/fallocate.2:217 +#: build/C/man2/madvise.2:372 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:329 build/C/man2/mmap.2:712 build/C/man2/mmap2.2:95 +#: build/C/man2/mprotect.2:226 build/C/man2/mremap.2:199 +#: build/C/man2/msync.2:120 build/C/man3/mtrace.3:167 +#: build/C/man2/posix_fadvise.2:191 build/C/man3/posix_fallocate.3:128 +#: 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/man7/shm_overview.7:114 build/C/man2/shmctl.2:428 +#: build/C/man2/shmget.2:306 build/C/man2/shmop.2:287 +#: build/C/man2/subpage_prot.2:128 build/C/man2/sync_file_range.2:221 #, no-wrap msgid "SEE ALSO" msgstr "関連項目" #. type: Plain text -#: build/C/man3/alloca.3:153 +#: build/C/man3/alloca.3:162 msgid "B(2), B(3), B(3)" msgstr "B(2), B(3), B(3)" #. type: TH -#: build/C/man2/cacheflush.2:24 +#: build/C/man2/cacheflush.2:25 #, no-wrap msgid "CACHEFLUSH" msgstr "CACHEFLUSH" #. type: TH -#: build/C/man2/cacheflush.2:24 +#: build/C/man2/cacheflush.2:25 #, no-wrap msgid "2007-05-26" msgstr "2007-05-26" #. type: Plain text -#: build/C/man2/cacheflush.2:27 +#: build/C/man2/cacheflush.2:28 msgid "cacheflush - flush contents of instruction and/or data cache" msgstr "cacheflush - 命令キャッシュやデータキャッシュの内容をフラッシュする" #. type: Plain text -#: build/C/man2/cacheflush.2:30 +#: build/C/man2/cacheflush.2:31 #, no-wrap msgid "B<#include Easm/cachectl.hE>\n" msgstr "B<#include Easm/cachectl.hE>\n" #. type: Plain text -#: build/C/man2/cacheflush.2:32 +#: build/C/man2/cacheflush.2:33 #, no-wrap msgid "BIB<, int >IB<, int >IB<);>\n" msgstr "BIB<, int >IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man2/cacheflush.2:42 +#: build/C/man2/cacheflush.2:43 msgid "" "B() flushes the contents of the indicated cache(s) for the user " "addresses in the range I to I<(addr+nbytes-1)>. I may be one " @@ -698,40 +719,40 @@ msgstr "" "指定する:" #. type: TP -#: build/C/man2/cacheflush.2:42 +#: build/C/man2/cacheflush.2:43 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/cacheflush.2:45 +#: build/C/man2/cacheflush.2:46 msgid "Flush the instruction cache." msgstr "命令 (instruction) キャッシュをフラッシュする。" #. type: TP -#: build/C/man2/cacheflush.2:45 +#: build/C/man2/cacheflush.2:46 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/cacheflush.2:48 +#: build/C/man2/cacheflush.2:49 msgid "Write back to memory and invalidate the affected valid cache lines." msgstr "変更があったキャッシュラインをメモリに書き戻し、無効にする。" #. type: TP -#: build/C/man2/cacheflush.2:48 +#: build/C/man2/cacheflush.2:49 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/cacheflush.2:52 +#: build/C/man2/cacheflush.2:53 msgid "Same as B<(ICACHE|DCACHE)>." msgstr "B<(ICACHE|DCACHE)> と同じ。" #. type: Plain text -#: build/C/man2/cacheflush.2:58 +#: build/C/man2/cacheflush.2:59 msgid "" "B() returns 0 on success or -1 on error. If errors are " "detected, I will indicate the error." @@ -740,15 +761,15 @@ msgstr "" "出された場合は I にエラーが指示される。" #. type: TP -#: build/C/man2/cacheflush.2:59 build/C/man2/mmap2.2:62 -#: build/C/man2/mremap.2:143 build/C/man2/shmctl.2:303 -#: build/C/man2/subpage_prot.2:67 +#: build/C/man2/cacheflush.2:60 build/C/man2/mmap2.2:62 +#: build/C/man2/mremap.2:142 build/C/man2/shmctl.2:314 +#: build/C/man2/subpage_prot.2:72 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/cacheflush.2:66 +#: build/C/man2/cacheflush.2:67 msgid "" "Some or all of the address range I to I<(addr+nbytes-1)> is not " "accessible." @@ -757,24 +778,24 @@ msgstr "" "能ではない。" #. type: TP -#: build/C/man2/cacheflush.2:66 build/C/man2/fallocate.2:124 -#: build/C/man2/madvise.2:282 build/C/man3/malloc_info.3:52 -#: build/C/man2/mlock.2:158 build/C/man2/mlock.2:165 build/C/man2/mlock.2:177 -#: 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:89 -#: build/C/man2/mremap.2:152 build/C/man2/msync.2:80 -#: build/C/man2/posix_fadvise.2:93 build/C/man3/posix_fallocate.3:79 -#: build/C/man3/posix_memalign.3:156 build/C/man2/readahead.2:76 -#: build/C/man2/remap_file_pages.2:130 build/C/man2/remap_file_pages.2:137 -#: build/C/man3/shm_open.3:211 build/C/man2/shmctl.2:317 -#: build/C/man2/shmget.2:196 build/C/man2/shmop.2:195 build/C/man2/shmop.2:218 -#: build/C/man2/subpage_prot.2:72 build/C/man2/sync_file_range.2:152 +#: build/C/man2/cacheflush.2:67 build/C/man2/fallocate.2:146 +#: 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:423 build/C/man2/mmap.2:431 build/C/man2/mmap.2:436 +#: 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/subpage_prot.2:77 build/C/man2/sync_file_range.2:152 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/cacheflush.2:74 +#: build/C/man2/cacheflush.2:75 msgid "I is not one of B, B, or B." msgstr "I パラメータが B, B, B のどれでもない。" @@ -783,16 +804,16 @@ msgstr "I パラメータが B, B, B のどれで #. Investigate the details and update this page. #. Irix 6.5 appears to have a cacheflush() syscall -- mtk #. type: Plain text -#: build/C/man2/cacheflush.2:81 +#: build/C/man2/cacheflush.2:82 msgid "" -"This Linux-specific system call is only available on MIPS-based systems. It " +"This Linux-specific system call is available only on MIPS-based systems. It " "should not be used in programs intended to be portable." msgstr "" "この Linux 特有のシステムコールは MIPS ベースのシステムでのみ有効である。 移" "植を意図したプログラムで使用すべきではない。" #. type: Plain text -#: build/C/man2/cacheflush.2:88 +#: build/C/man2/cacheflush.2:89 msgid "" "The current implementation ignores the I and I arguments. " "Therefore, the whole cache is always flushed." @@ -801,24 +822,25 @@ msgstr "" "のキャッシュがフラッシュされる。" #. type: TH -#: build/C/man2/fallocate.2:8 +#: build/C/man2/fallocate.2:11 #, no-wrap msgid "FALLOCATE" msgstr "FALLOCATE" #. type: TH -#: build/C/man2/fallocate.2:8 -#, no-wrap -msgid "2012-04-23" -msgstr "2012-04-23" +#: build/C/man2/fallocate.2:11 +#, fuzzy, no-wrap +#| msgid "2008-01-24" +msgid "2014-01-24" +msgstr "2008-01-24" #. type: Plain text -#: build/C/man2/fallocate.2:11 +#: build/C/man2/fallocate.2:14 msgid "fallocate - manipulate file space" msgstr "fallocate - ファイル空間の操作" #. type: Plain text -#: build/C/man2/fallocate.2:15 build/C/man2/readahead.2:35 +#: build/C/man2/fallocate.2:18 build/C/man2/readahead.2:35 #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" @@ -828,13 +850,13 @@ msgstr "" "B<#include Efcntl.hE>\n" #. type: Plain text -#: build/C/man2/fallocate.2:18 +#: build/C/man2/fallocate.2:21 #, no-wrap msgid "BIB<, int >IB<, off_t >IB<, off_t >IB<);>\n" msgstr "BIB<, int >IB<, off_t >IB<, off_t >IB<);>\n" #. type: Plain text -#: build/C/man2/fallocate.2:24 +#: build/C/man2/fallocate.2:27 msgid "" "This is a nonportable, Linux-specific system call. For the portable, " "POSIX.1-specified method of ensuring that space is allocated for a file, see " @@ -845,7 +867,7 @@ msgstr "" "で規定された方法である B(3) を使うこと。" #. type: Plain text -#: build/C/man2/fallocate.2:34 +#: build/C/man2/fallocate.2:37 msgid "" "B() allows the caller to directly manipulate the allocated disk " "space for the file referred to by I for the byte range starting at " @@ -856,7 +878,7 @@ msgstr "" "域である。" #. type: Plain text -#: build/C/man2/fallocate.2:39 +#: build/C/man2/fallocate.2:42 msgid "" "The I argument determines the operation to be performed on the given " "range. Details of the supported operations are given in the subsections " @@ -866,21 +888,31 @@ msgstr "" "サポートされている操作の詳細は以下のサブセクションで説明する。" #. type: SS -#: build/C/man2/fallocate.2:39 +#: build/C/man2/fallocate.2:42 #, no-wrap msgid "Allocating disk space" msgstr "ディスク領域の割り当て" #. type: Plain text -#: build/C/man2/fallocate.2:58 +#: build/C/man2/fallocate.2:65 +#, fuzzy +#| msgid "" +#| "The default operation (i.e., I is zero) of B() " +#| "allocates and initializes to zero the disk space within the range " +#| "specified by I and I. The file size (as reported by B" +#| "(2)) will be changed if I+I is greater than the file size. " +#| "This default behavior closely resembles the behavior of the " +#| "B(3) library function, and is intended as a method of " +#| "optimally implementing that function." msgid "" "The default operation (i.e., I is zero) of B() allocates " -"and initializes to zero the disk space within the range specified by " -"I and I. The file size (as reported by B(2)) will be " -"changed if I+I is greater than the file size. This default " -"behavior closely resembles the behavior of the B(3) " -"library function, and is intended as a method of optimally implementing that " -"function." +"the disk space within the range specified by I and I. The file " +"size (as reported by B(2)) will be changed if I+I is " +"greater than the file size. Any subregion within the range specified by " +"I and I that did not contain data before the call will be " +"initialized to zero. This default behavior closely resembles the behavior " +"of the B(3) library function, and is intended as a method " +"of optimally implementing that function." msgstr "" "B() のデフォルトの動作 (つまり I が 0 の場合) は、\n" "I と I で指定された範囲のディスク領域の割り当てと初期化を行" @@ -893,7 +925,7 @@ msgstr "" "ことを目的としているからである。" #. type: Plain text -#: build/C/man2/fallocate.2:64 +#: build/C/man2/fallocate.2:71 msgid "" "After a successful call, subsequent writes into the range specified by " "I and I are guaranteed not to fail because of lack of disk " @@ -904,7 +936,7 @@ msgstr "" "ディスクの領域不足での書き込み失敗が起こらないことが保証される。" #. type: Plain text -#: build/C/man2/fallocate.2:75 +#: build/C/man2/fallocate.2:82 msgid "" "If the B flag is specified in I, the behavior of " "the call is similar, but the file size will not be changed even if I" @@ -919,7 +951,7 @@ msgstr "" "追記を最適化したい場合に役に立つ。" #. type: Plain text -#: build/C/man2/fallocate.2:79 +#: build/C/man2/fallocate.2:86 msgid "" "Because allocation is done in block size chunks, B() may " "allocate a larger range of disk space than was specified." @@ -929,106 +961,168 @@ msgstr "" "も大きなディスク領域を割り当てることがある。" #. type: SS -#: build/C/man2/fallocate.2:79 +#: build/C/man2/fallocate.2:86 #, no-wrap msgid "Deallocating file space" msgstr "ファイル空間の割り当て解除" #. type: Plain text -#: build/C/man2/fallocate.2:94 +#: build/C/man2/fallocate.2:101 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 file system blocks are zeroed, and whole file system blocks " -"are removed from the file. After a successful call, subsequent reads from " -"this range will return zeroes." +"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." msgstr "" +"B フラグ (Linux 2.6.38 以降で利用可能) を I に指" +"定すると、 I で始まる I バイトの領域の空間を解放する (ホールを作" +"成する)。 指定された範囲のうち、 部分的に使用しているファイルシステムブロック" +"は 0 で埋められ、 全体を使用しているファイルシステムブロックはそのファイルか" +"ら削除される。 呼び出しが成功すると、 これ以降のこの範囲からの読み出しでは 0 " +"を返す。" #. type: Plain text -#: build/C/man2/fallocate.2:105 +#: build/C/man2/fallocate.2:112 msgid "" "The B flag must be ORed with B in " "I; in other words, even when punching off the end of the file, the " "file size (as reported by B(2)) does not change." msgstr "" +"B フラグは B と論理和 (OR) をとっ" +"て I に指定しなければならない。 つまり、 ファイル末尾の punch off を" +"行った場合でも、 (B(2) で報告される) ファイルサイズが変化しない。" #. type: Plain text -#: build/C/man2/fallocate.2:109 +#: build/C/man2/fallocate.2:117 +#, fuzzy +#| msgid "" +#| "Not all filesystems support B; if a filesystem " +#| "doesn't support the operation, an error is returned." msgid "" -"Not all file systems support B; if a file system " -"doesn't support the operation, an error is returned." +"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 がサポートされているわけで" +"はない。 ファイルシステムがこの操作をサポートしていない場合は、 エラーが返" +"る。" + +#. 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/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 +#, no-wrap +msgid "*" +msgstr "*" #. type: Plain text -#: build/C/man2/fallocate.2:112 -msgid "B() returns zero on success, and -1 on failure." -msgstr "B() は成功すると 0 を返し、エラーの場合は -1 を返す。" +#: build/C/man2/fallocate.2:119 +#, fuzzy +#| msgid "B (since Linux 2.6.27)" +msgid "XFS (since Linux 2.6.38)" +msgstr "B (Linux 2.6.27 以降)" + +#. commit a4bb6b64e39abc0e41ca077725f2a72c868e7622 +#. type: Plain text +#: build/C/man2/fallocate.2:122 +#, fuzzy +#| msgid "B (since Linux 3.4)" +msgid "ext4 (since Linux 3.0)" +msgstr "B (Linux 3.4 以降)" + +#. type: Plain text +#: build/C/man2/fallocate.2:124 +#, fuzzy +#| msgid "B (since Linux 3.4)" +msgid "Btrfs (since Linux 3.7)" +msgstr "B (Linux 3.4 以降)" + +#. commit 83e4fa9c16e4af7122e31be3eca5d57881d236fe +#. type: Plain text +#: build/C/man2/fallocate.2:127 +#, fuzzy +#| msgid "B (since Linux 3.4)" +msgid "tmpfs (since Linux 3.5)" +msgstr "B (Linux 3.4 以降)" + +#. type: Plain text +#: build/C/man2/fallocate.2:134 +msgid "" +"On success, B() returns zero. On error, -1 is returned and " +"I is set to indicate the error." +msgstr "" +"成功の場合、 B() は 0 を返す。 エラーの場合、-1 を返し、 I " +"にエラーを示す値を設定する。" #. type: TP -#: build/C/man2/fallocate.2:113 build/C/man2/madvise.2:279 -#: build/C/man2/mmap.2:415 build/C/man2/posix_fadvise.2:90 -#: build/C/man3/posix_fallocate.3:71 build/C/man2/readahead.2:72 +#: build/C/man2/fallocate.2:135 build/C/man2/madvise.2:279 +#: build/C/man2/mmap.2:417 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 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:117 build/C/man3/posix_fallocate.3:75 +#: build/C/man2/fallocate.2:139 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:117 build/C/man3/posix_fallocate.3:75 +#: build/C/man2/fallocate.2:139 build/C/man3/posix_fallocate.3:77 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:121 +#: build/C/man2/fallocate.2:143 msgid "I+I exceeds the maximum file size." msgstr "I がファイルサイズの最大値よりも大きい。" #. type: TP -#: build/C/man2/fallocate.2:121 +#: build/C/man2/fallocate.2:143 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:124 +#: build/C/man2/fallocate.2:146 msgid "A signal was caught during execution." msgstr "実行中にシグナルが捕捉された。" #. type: Plain text -#: build/C/man2/fallocate.2:136 build/C/man3/posix_fallocate.3:85 +#: build/C/man2/fallocate.2:158 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: TP -#: build/C/man2/fallocate.2:136 build/C/man2/madvise.2:310 +#: build/C/man2/fallocate.2:158 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:139 -msgid "An I/O error occurred while reading from or writing to a file system." +#: build/C/man2/fallocate.2:161 +msgid "An I/O error occurred while reading from or writing to a filesystem." msgstr "ファイルシステムとの読み書き中に入出力エラーが発生した。" #. type: TP -#: build/C/man2/fallocate.2:139 build/C/man2/mmap.2:450 -#: build/C/man3/posix_fallocate.3:85 +#: build/C/man2/fallocate.2:161 build/C/man2/mmap.2:452 +#: build/C/man3/posix_fallocate.3:87 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:146 +#: build/C/man2/fallocate.2:168 msgid "" "I does not refer to a regular file or a directory. (If I is a pipe " "or FIFO, a different error results.)" @@ -1037,98 +1131,106 @@ msgstr "" "を参照している場合、別のエラーが発生する)。" #. type: TP -#: build/C/man2/fallocate.2:146 build/C/man3/posix_fallocate.3:89 -#: build/C/man2/shmget.2:214 build/C/man2/sync_file_range.2:166 +#: build/C/man2/fallocate.2:168 build/C/man3/posix_fallocate.3:91 +#: build/C/man2/shmget.2:217 build/C/man2/sync_file_range.2:166 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:151 build/C/man3/posix_fallocate.3:94 +#: build/C/man2/fallocate.2:173 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:155 +#: build/C/man2/fallocate.2:177 msgid "This kernel does not implement B()." msgstr "このカーネルでは B() は実装されていない。" #. type: TP -#: build/C/man2/fallocate.2:155 +#: build/C/man2/fallocate.2:177 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:164 +#: build/C/man2/fallocate.2:186 msgid "" -"The file system containing the file referred to by I does not support " -"this operation; or the I is not supported by the file system " -"containing the file referred to by I." +"The filesystem containing the file referred to by I does not support " +"this operation; or the I is not supported by the filesystem containing " +"the file referred to by I." msgstr "" "I が参照するファイルを含むファイルシステムが 指定された操作を\n" "サポートしていない。 I が参照するファイルを含むファイルシステムが\n" "I をサポートしていない。" #. type: TP -#: build/C/man2/fallocate.2:164 build/C/man2/mlock.2:144 -#: build/C/man2/mlock.2:183 build/C/man2/mmap.2:458 build/C/man2/shmctl.2:342 -#: build/C/man2/shmget.2:222 +#: build/C/man2/fallocate.2:186 build/C/man2/mlock.2:143 +#: build/C/man2/mlock.2:182 build/C/man2/mmap.2:460 build/C/man2/shmctl.2:353 +#: build/C/man2/shmget.2:225 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/fallocate.2:180 +#: build/C/man2/fallocate.2:202 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))." msgstr "" +"I が参照するファイルに変更不可 (immutable) の属性が付いている (B" +"(1) 参照)。 I に B が指定されたが、 I が参照" +"するファイルに追加のみ (append-only) の属性が付いている (B(1) 参照)。" #. type: TP -#: build/C/man2/fallocate.2:180 build/C/man2/posix_fadvise.2:96 -#: build/C/man3/posix_fallocate.3:94 build/C/man2/sync_file_range.2:169 +#: build/C/man2/fallocate.2:202 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:184 +#: build/C/man2/fallocate.2:206 msgid "I refers to a pipe or FIFO." msgstr "I がパイプか FIFO を参照している。" #. type: SH -#: build/C/man2/fallocate.2:184 build/C/man3/malloc_info.3:56 -#: build/C/man3/mcheck.3:133 build/C/man2/mmap2.2:74 -#: build/C/man2/posix_fadvise.2:103 build/C/man3/posix_fallocate.3:98 -#: build/C/man3/posix_memalign.3:165 build/C/man2/readahead.2:82 -#: build/C/man2/remap_file_pages.2:146 build/C/man3/shm_open.3:247 -#: build/C/man2/subpage_prot.2:85 build/C/man2/sync_file_range.2:177 +#: build/C/man2/fallocate.2:206 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 #, no-wrap msgid "VERSIONS" msgstr "バージョン" +#. See http://sourceware.org/bugzilla/show_bug.cgi?id=14964 #. type: Plain text -#: build/C/man2/fallocate.2:188 +#: build/C/man2/fallocate.2:214 msgid "" "B() is available on Linux since kernel 2.6.23. Support is " -"provided by glibc since version 2.10." +"provided by glibc since version 2.10. The B flags are defined " +"in glibc headers only since version 2.18." msgstr "" "B() はカーネル 2.6.23 以降の Linux で利用可能である。 glibc での" -"対応はバージョン 3.10 以降で行われている。" +"対応はバージョン 3.10 以降で行われている。 B が glibc のヘッダ" +"ファイルで定義されているのは、バージョン 2.18 以降のみである。" #. type: Plain text -#: build/C/man2/fallocate.2:191 +#: build/C/man2/fallocate.2:217 msgid "B() is Linux-specific." msgstr "B() は Linux 固有である。" #. type: Plain text -#: build/C/man2/fallocate.2:195 -msgid "B(2), B(3), B(3)" -msgstr "B(2), B(3), B(3)" +#: build/C/man2/fallocate.2:222 +msgid "" +"B(1), B(2), B(3), B(3)" +msgstr "" +"B(1), B(2), B(3), B(3)" #. type: TH #: build/C/man2/madvise.2:35 @@ -1137,11 +1239,10 @@ msgid "MADVISE" msgstr "MADVISE" #. type: TH -#: build/C/man2/madvise.2:35 build/C/man3/malloc_info.3:23 -#, fuzzy, no-wrap -#| msgid "2012-04-23" +#: build/C/man2/madvise.2:35 +#, no-wrap msgid "2012-04-28" -msgstr "2012-04-23" +msgstr "2012-04-28" #. type: Plain text #: build/C/man2/madvise.2:38 @@ -1162,8 +1263,8 @@ msgstr "" "BIB<, size_t >IB<, int >IB<);>" #. type: Plain text -#: build/C/man2/madvise.2:46 build/C/man2/posix_fadvise.2:42 -#: build/C/man3/posix_fallocate.3:37 build/C/man3/posix_memalign.3:48 +#: build/C/man2/madvise.2:46 build/C/man2/posix_fadvise.2:43 +#: build/C/man3/posix_fallocate.3:39 build/C/man3/posix_memalign.3:49 msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "glibc 向けの機能検査マクロの要件 (B(7) 参照):" @@ -1281,8 +1382,9 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:100 -#, no-wrap -msgid "B (Since Linux 2.6.16)" +#, fuzzy, no-wrap +#| msgid "B (Since Linux 2.6.16)" +msgid "B (since Linux 2.6.16)" msgstr "B (Linux 2.6.16 以降)" #. 2.6.18-rc5 @@ -1294,7 +1396,7 @@ msgstr "B (Linux 2.6.16 以降)" #: build/C/man2/madvise.2:113 msgid "" "Free up a given range of pages and its associated backing store. Currently, " -"only shmfs/tmpfs supports this; other file systems return with the error " +"only shmfs/tmpfs supports this; other filesystems return with the error " "B." msgstr "" "指定された範囲のページと関連するバッキングストアを解放する。 現在のところ、 " @@ -1303,8 +1405,9 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:113 -#, no-wrap -msgid "B (Since Linux 2.6.16)" +#, fuzzy, no-wrap +#| msgid "B (Since Linux 2.6.16)" +msgid "B (since Linux 2.6.16)" msgstr "B (Linux 2.6.16 以降)" #. See http://lwn.net/Articles/171941/ @@ -1343,8 +1446,9 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:144 -#, no-wrap -msgid "B (Since Linux 2.6.16)" +#, fuzzy, no-wrap +#| msgid "B (Since Linux 2.6.16)" +msgid "B (since Linux 2.6.16)" msgstr "B (Linux 2.6.16 以降)" #. type: Plain text @@ -1358,25 +1462,27 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:150 -#, no-wrap -msgid "B (Since Linux 2.6.32)" +#, fuzzy, no-wrap +#| msgid "B (Since Linux 2.6.32)" +msgid "B (since Linux 2.6.32)" msgstr "B (Linux 2.6.32 以降)" #. type: Plain text #: build/C/man2/madvise.2:162 msgid "" "Poison a page and handle it like a hardware memory corruption. This " -"operation is only available for privileged (B) processes. " +"operation is available only for privileged (B) processes. " "This operation may result in the calling process receiving a B and " "the page being unmapped. This feature is intended for testing of memory " -"error-handling code; it is only available if the kernel was configured with " +"error-handling code; it is available only if the kernel was configured with " "B." msgstr "" #. type: TP #: build/C/man2/madvise.2:162 -#, no-wrap -msgid "B (Since Linux 2.6.33)" +#, fuzzy, no-wrap +#| msgid "B (Since Linux 2.6.33)" +msgid "B (since Linux 2.6.33)" msgstr "B (Linux 2.6.33 以降)" #. type: Plain text @@ -1389,7 +1495,7 @@ msgid "" "out of normal memory management). The effect of the B " "operation is invisible to (i.e., does not change the semantics of) the " "calling process. This feature is intended for testing of memory error-" -"handling code; it is only available if the kernel was configured with " +"handling code; it is available only if the kernel was configured with " "B." msgstr "" @@ -1407,12 +1513,12 @@ msgid "" "memory that have been marked as mergeable, looking for pages with identical " "content. These are replaced by a single write-protected page (which is " "automatically copied if a process later wants to update the content of the " -"page). KSM only merges private anonymous pages (see B(2)). The KSM " +"page). KSM merges only private anonymous pages (see B(2)). The KSM " "feature is intended for applications that generate many instances of the " "same data (e.g., virtualization systems such as KVM). It can consume a lot " -"of processing power; use with care. See the kernel source file " +"of processing power; use with care. See the Linux kernel source file " "I for more details. The B and " -"B operations are only available if the kernel was " +"B operations are available only if the kernel was " "configured with B." msgstr "" @@ -1442,7 +1548,7 @@ msgstr "B (Linux 2.6.38 以降)" #: build/C/man2/madvise.2:243 msgid "" "Enables Transparent Huge Pages (THP) for pages in the range specified by " -"I and I. Currently, Transparent Huge Pages only work with " +"I and I. Currently, Transparent Huge Pages work only with " "private anonymous pages (see B(2)). The kernel will regularly scan " "the areas marked as huge page candidates to replace them with huge pages. " "The kernel will also allocate huge pages directly when the region is " @@ -1451,10 +1557,10 @@ msgid "" "and access large regions of that memory at a time (e.g., virtualization " "systems such as QEMU). It can very easily waste memory (e.g., a 2MB mapping " "that only ever accesses 1 byte will result in 2MB of wired memory instead of " -"one 4KB page). See the kernel source file I " -"for more details. The B and B operations " -"are only available if the kernel was configured with " -"B." +"one 4KB page). See the Linux kernel source file I for more details. The B and " +"B operations are available only if the kernel was " +"configured with B." msgstr "" #. type: TP @@ -1472,10 +1578,9 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:250 -#, fuzzy, no-wrap -#| msgid "B (Since Linux 2.6.16)" +#, no-wrap msgid "B (since Linux 3.4)" -msgstr "B (Linux 2.6.16 以降)" +msgstr "B (Linux 3.4 以降)" #. type: Plain text #: build/C/man2/madvise.2:264 @@ -1489,10 +1594,9 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:264 -#, fuzzy, no-wrap -#| msgid "B (since Linux 2.6.38)" +#, no-wrap msgid "B (since Linux 3.4)" -msgstr "B (Linux 2.6.38 以降)" +msgstr "B (Linux 3.4 以降)" #. type: Plain text #: build/C/man2/madvise.2:268 @@ -1509,8 +1613,8 @@ msgstr "" "を適切な値に設定する。" #. type: TP -#: build/C/man2/madvise.2:276 build/C/man2/mlock.2:155 build/C/man2/mmap.2:411 -#: build/C/man2/mremap.2:137 +#: build/C/man2/madvise.2:276 build/C/man2/mlock.2:154 build/C/man2/mmap.2:413 +#: build/C/man2/mremap.2:136 #, no-wrap msgid "B" msgstr "B" @@ -1528,16 +1632,7 @@ msgstr "指定したマップは存在するが、ファイルではないとこ #. type: Plain text #: build/C/man2/madvise.2:285 msgid "This error can occur for the following reasons:" -msgstr "" - -#. type: IP -#: 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:233 -#: build/C/man3/mallopt.3:239 -#, no-wrap -msgid "*" -msgstr "*" +msgstr "このエラーは以下の理由で発生する。" #. .I len #. is zero, @@ -1549,7 +1644,7 @@ msgstr "I が負の値である。" #. type: Plain text #: build/C/man2/madvise.2:295 msgid "I is not page-aligned." -msgstr "" +msgstr "I がページ境界ではない。" #. type: Plain text #: build/C/man2/madvise.2:298 @@ -1572,6 +1667,8 @@ msgid "" "B or B was specified in I, but the " "kernel was not configured with B." msgstr "" +"I に B か B が指定されたが、 カーネ" +"ルの設定が B が有効になっていなかった。" #. type: Plain text #: build/C/man2/madvise.2:316 @@ -1584,12 +1681,12 @@ msgstr "" #. type: TP #: build/C/man2/madvise.2:316 build/C/man2/madvise.2:321 -#: build/C/man2/mlock.2:124 build/C/man2/mlock.2:132 build/C/man2/mlock.2:170 -#: build/C/man2/mmap.2:454 build/C/man2/mprotect.2:94 -#: build/C/man2/mprotect.2:97 build/C/man2/mremap.2:180 -#: build/C/man2/msync.2:93 build/C/man3/posix_memalign.3:162 -#: build/C/man2/shmctl.2:326 build/C/man2/shmget.2:211 -#: build/C/man2/shmop.2:209 build/C/man2/subpage_prot.2:82 +#: build/C/man2/mlock.2:123 build/C/man2/mlock.2:131 build/C/man2/mlock.2:169 +#: build/C/man2/mmap.2:456 build/C/man2/mprotect.2:100 +#: build/C/man2/mprotect.2:103 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/sync_file_range.2:163 #, no-wrap msgid "B" @@ -1611,11 +1708,17 @@ msgstr "" #. FIXME . Write a posix_madvise(3) page. #. type: Plain text -#: build/C/man2/madvise.2:337 +#: build/C/man2/madvise.2:338 +#, fuzzy +#| msgid "" +#| "POSIX.1b. POSIX.1-2001 describes B(3) with constants " +#| "B, etc., with a behavior close to that described " +#| "here. There is a similar B(2) for file access." msgid "" "POSIX.1b. POSIX.1-2001 describes B(3) with constants " -"B, etc., with a behavior close to that described here. " -"There is a similar B(2) for file access." +"B, B, and so on, with a behavior close " +"to that described here. There is a similar B(2) for file " +"access." msgstr "" "POSIX.1b. POSIX.1-2001 では、 B(3) を B " "などの定数とともに記述していた (それぞれの振る舞いはここで述べたものに近" @@ -1623,7 +1726,7 @@ msgstr "" "する。" #. type: Plain text -#: build/C/man2/madvise.2:346 +#: build/C/man2/madvise.2:347 msgid "" "B, B, B, B, " "B, and B are Linux-specific." @@ -1632,14 +1735,14 @@ msgstr "" "B, B は Linux 固有である。" #. type: SS -#: build/C/man2/madvise.2:347 build/C/man2/mlock.2:268 -#: build/C/man2/shmget.2:278 +#: build/C/man2/madvise.2:348 build/C/man2/mlock.2:267 +#: build/C/man2/shmget.2:294 #, no-wrap -msgid "Linux Notes" +msgid "Linux notes" msgstr "Linux での注意" #. type: Plain text -#: build/C/man2/madvise.2:355 +#: build/C/man2/madvise.2:356 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 " @@ -1656,7 +1759,7 @@ msgstr "" #. .BR madvise () #. function first appeared in 4.4BSD. #. type: Plain text -#: build/C/man2/madvise.2:371 +#: build/C/man2/madvise.2:372 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 " @@ -1671,59 +1774,56 @@ msgstr "" "返す)。" #. type: Plain text -#: build/C/man2/madvise.2:379 -#, fuzzy -#| msgid "" -#| "B(2), B(2), B(2), B(2), B(2), " -#| "B(2)" +#: build/C/man2/madvise.2:380 msgid "" "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(2), B(5)" #. type: TH -#: build/C/man3/mallinfo.3:24 -#, fuzzy, no-wrap -#| msgid "MALLOPT" +#: build/C/man3/mallinfo.3:26 +#, no-wrap msgid "MALLINFO" -msgstr "MALLOPT" +msgstr "MALLINFO" #. type: TH -#: build/C/man3/mallinfo.3:24 build/C/man3/malloc_stats.3:24 -#, fuzzy, no-wrap -#| msgid "2012-03-26" +#: build/C/man3/mallinfo.3:26 build/C/man3/malloc_stats.3:26 +#, no-wrap msgid "2012-05-06" -msgstr "2012-03-26" +msgstr "2012-05-06" #. type: Plain text -#: build/C/man3/mallinfo.3:27 +#: build/C/man3/mallinfo.3:29 msgid "mallinfo - obtain memory allocation information" -msgstr "" +msgstr "mallinfo - メモリ割り当て情報を取得する" #. type: Plain text -#: build/C/man3/mallinfo.3:29 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/mallinfo.3:31 build/C/man3/malloc_stats.3:31 +#: build/C/man3/malloc_trim.3:31 build/C/man3/malloc_usable_size.3:30 +#: build/C/man3/mallopt.3:31 msgid "B<#include Emalloc.hE>" msgstr "B<#include Emalloc.hE>" #. type: Plain text -#: build/C/man3/mallinfo.3:31 +#: build/C/man3/mallinfo.3:33 msgid "B" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallinfo.3:39 +#: build/C/man3/mallinfo.3:41 msgid "" "The B() function returns a copy of a structure containing " "information about memory allocations performed by B(3) and related " "functions. This structure is defined as follows:" msgstr "" +"B() 関数は、 B(3) や一連の関数により実行されたメモリ\n" +"割り当てに関する情報を格納した構造体のコピーを返す。\n" +"この構造体は以下のように定義されている。" #. type: Plain text -#: build/C/man3/mallinfo.3:54 +#: build/C/man3/mallinfo.3:56 #, no-wrap msgid "" "struct mallinfo {\n" @@ -1739,21 +1839,33 @@ msgid "" " int keepcost; /* Top-most, releasable space (bytes) */\n" "};\n" msgstr "" +"struct mallinfo {\n" +" int arena; /* Non-mmapped space allocated (bytes) */\n" +" int ordblks; /* Number of free chunks */\n" +" int smblks; /* Number of free fastbin blocks */\n" +" int hblks; /* Number of mmapped regions */\n" +" int hblkhd; /* Space allocated in mmapped regions (bytes) */\n" +" int usmblks; /* Maximum total allocated space (bytes) */\n" +" int fsmblks; /* Space in freed fastbin blocks (bytes) */\n" +" int uordblks; /* Total allocated space (bytes) */\n" +" int fordblks; /* Total free space (bytes) */\n" +" int keepcost; /* Top-most, releasable space (bytes) */\n" +"};\n" #. type: Plain text -#: build/C/man3/mallinfo.3:60 +#: build/C/man3/mallinfo.3:62 msgid "" "The fields of the I structure contain the following information:" -msgstr "" +msgstr "I 構造体の各フィールドには以下の情報が格納される。" #. type: TP -#: build/C/man3/mallinfo.3:61 +#: build/C/man3/mallinfo.3:62 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:67 +#: build/C/man3/mallinfo.3:68 msgid "" "The total amount of memory allocated by means other than B(2) (i.e., " "memory allocated on the heap). This figure includes both in-use blocks and " @@ -1761,59 +1873,59 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:67 +#: build/C/man3/mallinfo.3:68 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:70 +#: build/C/man3/mallinfo.3:71 msgid "The number of ordinary (i.e., non-fastbin) free blocks." msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:70 +#: build/C/man3/mallinfo.3:71 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:74 +#: build/C/man3/mallinfo.3:75 msgid "The number of fastbin free blocks (see B(3))." msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:74 +#: build/C/man3/mallinfo.3:75 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:82 +#: build/C/man3/mallinfo.3:83 msgid "" "The number of blocks currently allocated using B(2). (See the " "discussion of B in B(3).)" msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:82 +#: build/C/man3/mallinfo.3:83 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:86 +#: build/C/man3/mallinfo.3:87 msgid "The number of bytes in blocks currently allocated using B(2)." msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:86 +#: build/C/man3/mallinfo.3:87 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:91 +#: build/C/man3/mallinfo.3:92 msgid "" "The \"highwater mark\" for allocated space\\(emthat is, the maximum amount " "of space that was ever allocated. This field is maintained only in " @@ -1821,48 +1933,48 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:91 +#: build/C/man3/mallinfo.3:92 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:94 +#: build/C/man3/mallinfo.3:95 msgid "The total number of bytes in fastbin free blocks." msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:94 +#: build/C/man3/mallinfo.3:95 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:97 +#: build/C/man3/mallinfo.3:98 msgid "The total number of bytes used by in-use allocations." msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:97 +#: build/C/man3/mallinfo.3:98 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. type: Plain text -#: build/C/man3/mallinfo.3:100 +#: build/C/man3/mallinfo.3:101 msgid "The total number of bytes in free blocks." msgstr "" #. type: TP -#: build/C/man3/mallinfo.3:100 +#: build/C/man3/mallinfo.3:101 #, no-wrap msgid "I" -msgstr "" +msgstr "I" #. .SH VERSIONS #. Available already in glibc 2.0, possibly earlier #. type: Plain text -#: build/C/man3/mallinfo.3:109 +#: build/C/man3/mallinfo.3:110 msgid "" "The total amount of releasable free space at the top of the heap. This is " "the maximum number of bytes that could ideally (i.e., ignoring page " @@ -1870,7 +1982,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallinfo.3:113 +#: build/C/man3/mallinfo.3:114 msgid "" "This function is not specified by POSIX or the C standards. A similar " "function exists on many System V derivatives, and was specified in the SVID." @@ -1881,7 +1993,7 @@ msgstr "" #. "[patch] Fix mallinfo() to accumulate results for all arenas" #. on libc-alpha@sourceware.org #. type: Plain text -#: build/C/man3/mallinfo.3:125 +#: build/C/man3/mallinfo.3:126 msgid "" "B " "Allocations in other arenas are excluded. See B(3) and " @@ -1890,7 +2002,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallinfo.3:133 +#: build/C/man3/mallinfo.3:134 msgid "" "The fields of the I structure are typed as I. However, " "because some internal bookkeeping values may be of type I, the " @@ -1898,16 +2010,16 @@ msgid "" msgstr "" #. type: SH -#: build/C/man3/mallinfo.3:133 build/C/man3/malloc_hook.3:85 -#: build/C/man3/malloc_info.3:80 build/C/man3/mallopt.3:464 -#: build/C/man3/mcheck.3:159 build/C/man2/mmap.2:571 -#: build/C/man2/mprotect.2:142 build/C/man3/mtrace.3:106 +#: 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:630 +#: build/C/man2/mprotect.2:148 build/C/man3/mtrace.3:108 #, no-wrap msgid "EXAMPLE" msgstr "例" #. type: Plain text -#: build/C/man3/mallinfo.3:139 +#: build/C/man3/mallinfo.3:140 msgid "" "The program below employs B() to retrieve memory allocation " "statistics before and after allocating and freeing some blocks of memory. " @@ -1915,14 +2027,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallinfo.3:143 +#: build/C/man3/mallinfo.3:144 msgid "" "The first two command-line arguments specify the number and size of blocks " "to be allocated with B(3)." msgstr "" #. type: Plain text -#: build/C/man3/mallinfo.3:157 +#: build/C/man3/mallinfo.3:158 msgid "" "The remaining three arguments specify which of the allocated blocks should " "be freed with B(3). These three arguments are optional, and specify " @@ -1936,14 +2048,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallinfo.3:161 +#: build/C/man3/mallinfo.3:162 msgid "" "In the following example run of the program, 1000 allocations of 100 bytes " "are performed, and then every second allocated block is freed:" msgstr "" #. type: Plain text -#: build/C/man3/mallinfo.3:176 +#: build/C/man3/mallinfo.3:177 #, no-wrap msgid "" "$ B<./a.out 1000 100 2>\n" @@ -1959,9 +2071,21 @@ msgid "" "Total free space (fordblks): 0\n" "Topmost releasable block (keepcost): 0\n" msgstr "" +"$ B<./a.out 1000 100 2>\n" +"============== Before allocating blocks ==============\n" +"Total non-mmapped bytes (arena): 0\n" +"# of free chunks (ordblks): 1\n" +"# of free fastbin blocks (smblks): 0\n" +"# of mapped regions (hblks): 0\n" +"Bytes in mapped regions (hblkhd): 0\n" +"Max. total allocated space (usmblks): 0\n" +"Free bytes held in fastbins (fsmblks): 0\n" +"Total allocated space (uordblks): 0\n" +"Total free space (fordblks): 0\n" +"Topmost releasable block (keepcost): 0\n" #. type: Plain text -#: build/C/man3/mallinfo.3:188 +#: build/C/man3/mallinfo.3:189 #, no-wrap msgid "" "============== After allocating blocks ==============\n" @@ -1976,9 +2100,20 @@ msgid "" "Total free space (fordblks): 31168\n" "Topmost releasable block (keepcost): 31168\n" msgstr "" +"============== After allocating blocks ==============\n" +"Total non-mmapped bytes (arena): 135168\n" +"# of free chunks (ordblks): 1\n" +"# of free fastbin blocks (smblks): 0\n" +"# of mapped regions (hblks): 0\n" +"Bytes in mapped regions (hblkhd): 0\n" +"Max. total allocated space (usmblks): 0\n" +"Free bytes held in fastbins (fsmblks): 0\n" +"Total allocated space (uordblks): 104000\n" +"Total free space (fordblks): 31168\n" +"Topmost releasable block (keepcost): 31168\n" #. type: Plain text -#: build/C/man3/mallinfo.3:200 +#: build/C/man3/mallinfo.3:201 #, no-wrap msgid "" "============== After freeing blocks ==============\n" @@ -1993,30 +2128,38 @@ msgid "" "Total free space (fordblks): 83168\n" "Topmost releasable block (keepcost): 31168\n" msgstr "" +"============== After freeing blocks ==============\n" +"Total non-mmapped bytes (arena): 135168\n" +"# of free chunks (ordblks): 501\n" +"# of free fastbin blocks (smblks): 0\n" +"# of mapped regions (hblks): 0\n" +"Bytes in mapped regions (hblkhd): 0\n" +"Max. total allocated space (usmblks): 0\n" +"Free bytes held in fastbins (fsmblks): 0\n" +"Total allocated space (uordblks): 52000\n" +"Total free space (fordblks): 83168\n" +"Topmost releasable block (keepcost): 31168\n" #. type: SS -#: build/C/man3/mallinfo.3:202 build/C/man3/malloc_info.3:163 -#: build/C/man3/mallopt.3:530 build/C/man3/mcheck.3:176 -#: build/C/man2/mprotect.2:159 +#: 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:642 build/C/man2/mprotect.2:165 #, no-wrap msgid "Program source" msgstr "プログラムのソース" #. type: Plain text -#: build/C/man3/mallinfo.3:207 -#, fuzzy, no-wrap -#| msgid "" -#| "#include Estdio.hE\n" -#| "#include Emalloc.hE\n" +#: build/C/man3/mallinfo.3:208 +#, no-wrap msgid "" "#include Emalloc.hE\n" "#include \"tlpi_hdr.h\"\n" msgstr "" -"#include Estdio.hE\n" "#include Emalloc.hE\n" +"#include \"tlpi_hdr.h\"\n" #. type: Plain text -#: build/C/man3/mallinfo.3:212 +#: build/C/man3/mallinfo.3:213 #, no-wrap msgid "" "static void\n" @@ -2024,16 +2167,19 @@ msgid "" "{\n" " struct mallinfo mi;\n" msgstr "" +"static void\n" +"display_mallinfo(void)\n" +"{\n" +" struct mallinfo mi;\n" #. type: Plain text -#: build/C/man3/mallinfo.3:214 -#, fuzzy, no-wrap -#| msgid " p = malloc(1000);\n" +#: build/C/man3/mallinfo.3:215 +#, no-wrap msgid " mi = mallinfo();\n" -msgstr " p = malloc(1000);\n" +msgstr " mi = mallinfo();\n" #. type: Plain text -#: build/C/man3/mallinfo.3:226 +#: build/C/man3/mallinfo.3:227 #, no-wrap msgid "" " printf(\"Total non-mmapped bytes (arena): %d\\en\", mi.arena);\n" @@ -2048,9 +2194,20 @@ msgid "" " printf(\"Topmost releasable block (keepcost): %d\\en\", mi.keepcost);\n" "}\n" msgstr "" +" printf(\"Total non-mmapped bytes (arena): %d\\en\", mi.arena);\n" +" printf(\"# of free chunks (ordblks): %d\\en\", mi.ordblks);\n" +" printf(\"# of free fastbin blocks (smblks): %d\\en\", mi.smblks);\n" +" printf(\"# of mapped regions (hblks): %d\\en\", mi.hblks);\n" +" printf(\"Bytes in mapped regions (hblkhd): %d\\en\", mi.hblkhd);\n" +" printf(\"Max. total allocated space (usmblks): %d\\en\", mi.usmblks);\n" +" printf(\"Free bytes held in fastbins (fsmblks): %d\\en\", mi.fsmblks);\n" +" printf(\"Total allocated space (uordblks): %d\\en\", mi.uordblks);\n" +" printf(\"Total free space (fordblks): %d\\en\", mi.fordblks);\n" +" printf(\"Topmost releasable block (keepcost): %d\\en\", mi.keepcost);\n" +"}\n" #. type: Plain text -#: build/C/man3/mallinfo.3:234 +#: build/C/man3/mallinfo.3:235 #, no-wrap msgid "" "int\n" @@ -2061,18 +2218,28 @@ msgid "" " int numBlocks, j, freeBegin, freeEnd, freeStep;\n" " size_t blockSize;\n" msgstr "" +"int\n" +"main(int argc, char *argv[])\n" +"{\n" +"#define MAX_ALLOCS 2000000\n" +" char *alloc[MAX_ALLOCS];\n" +" int numBlocks, j, freeBegin, freeEnd, freeStep;\n" +" size_t blockSize;\n" #. type: Plain text -#: build/C/man3/mallinfo.3:238 +#: build/C/man3/mallinfo.3:239 #, no-wrap msgid "" " if (argc E 3 || strcmp(argv[1], \"--help\") == 0)\n" " usageErr(\"%s num-blocks block-size [free-step [start-free \"\n" " \"[end-free]]]\\en\", argv[0]);\n" msgstr "" +" if (argc E 3 || strcmp(argv[1], \"--help\") == 0)\n" +" usageErr(\"%s num-blocks block-size [free-step [start-free \"\n" +" \"[end-free]]]\\en\", argv[0]);\n" #. type: Plain text -#: build/C/man3/mallinfo.3:244 +#: build/C/man3/mallinfo.3:245 #, no-wrap msgid "" " numBlocks = atoi(argv[1]);\n" @@ -2081,26 +2248,36 @@ msgid "" " freeBegin = (argc E 4) ? atoi(argv[4]) : 0;\n" " freeEnd = (argc E 5) ? atoi(argv[5]) : numBlocks;\n" msgstr "" +" numBlocks = atoi(argv[1]);\n" +" blockSize = atoi(argv[2]);\n" +" freeStep = (argc E 3) ? atoi(argv[3]) : 1;\n" +" freeBegin = (argc E 4) ? atoi(argv[4]) : 0;\n" +" freeEnd = (argc E 5) ? atoi(argv[5]) : numBlocks;\n" #. type: Plain text -#: build/C/man3/mallinfo.3:247 +#: build/C/man3/mallinfo.3:248 #, no-wrap msgid "" " printf(\"============== Before allocating blocks ==============\\en\");\n" " display_mallinfo();\n" msgstr "" +" printf(\"============== Before allocating blocks ==============\\en\");\n" +" display_mallinfo();\n" #. type: Plain text -#: build/C/man3/mallinfo.3:251 +#: build/C/man3/mallinfo.3:252 #, no-wrap msgid "" " for (j = 0; j E numBlocks; j++) {\n" " if (numBlocks E= MAX_ALLOCS)\n" " fatal(\"Too many allocations\");\n" msgstr "" +" for (j = 0; j E numBlocks; j++) {\n" +" if (numBlocks E= MAX_ALLOCS)\n" +" fatal(\"Too many allocations\");\n" #. type: Plain text -#: build/C/man3/mallinfo.3:256 +#: build/C/man3/mallinfo.3:257 #, no-wrap msgid "" " alloc[j] = malloc(blockSize);\n" @@ -2108,35 +2285,45 @@ msgid "" " errExit(\"malloc\");\n" " }\n" msgstr "" +" alloc[j] = malloc(blockSize);\n" +" if (alloc[j] == NULL)\n" +" errExit(\"malloc\");\n" +" }\n" #. type: Plain text -#: build/C/man3/mallinfo.3:259 +#: build/C/man3/mallinfo.3:260 #, no-wrap msgid "" " printf(\"\\en============== After allocating blocks ==============\\en\");\n" " display_mallinfo();\n" msgstr "" +" printf(\"\\en============== After allocating blocks ==============\\en\");\n" +" display_mallinfo();\n" #. type: Plain text -#: build/C/man3/mallinfo.3:262 +#: build/C/man3/mallinfo.3:263 #, no-wrap msgid "" " for (j = freeBegin; j E freeEnd; j += freeStep)\n" " free(alloc[j]);\n" msgstr "" +" for (j = freeBegin; j E freeEnd; j += freeStep)\n" +" free(alloc[j]);\n" #. type: Plain text -#: build/C/man3/mallinfo.3:265 +#: build/C/man3/mallinfo.3:266 #, no-wrap msgid "" " printf(\"\\en============== After freeing blocks ==============\\en\");\n" " display_mallinfo();\n" msgstr "" +" printf(\"\\en============== After freeing blocks ==============\\en\");\n" +" display_mallinfo();\n" #. type: Plain text -#: build/C/man3/mallinfo.3:268 build/C/man3/malloc_info.3:251 -#: build/C/man3/mallopt.3:563 build/C/man3/mcheck.3:203 -#: build/C/man2/mmap.2:652 +#: 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:711 #, no-wrap msgid "" " exit(EXIT_SUCCESS);\n" @@ -2146,59 +2333,53 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/mallinfo.3:278 -#, fuzzy -#| msgid "" -#| "B(2) B(2), B(3), B(3), B(3), " -#| "B(3), B(3), B(3), B(3)" +#: build/C/man3/mallinfo.3:279 msgid "" "B(2), B(3), B(3), B(3), " "B(3), B(3)" msgstr "" -"B(2) B(2), B(3), B(3),\n" -"B(3), B(3), B(3), B(3),\n" -"B(3)" +"B(2), B(3), B(3), B(3), " +"B(3), B(3)" #. type: TH -#: build/C/man3/malloc_get_state.3:23 +#: build/C/man3/malloc_get_state.3:25 #, no-wrap msgid "MALLOC_GET_STATE" msgstr "MALLOC_GET_STATE" #. type: TH -#: build/C/man3/malloc_get_state.3:23 -#, fuzzy, no-wrap -#| msgid "2012-04-23" +#: build/C/man3/malloc_get_state.3:25 +#, no-wrap msgid "2012-05-04" -msgstr "2012-04-23" +msgstr "2012-05-04" #. type: Plain text -#: build/C/man3/malloc_get_state.3:26 +#: build/C/man3/malloc_get_state.3:28 msgid "" "malloc_get_state, malloc_set_state - record and restore state of malloc " "implementation" msgstr "" #. type: Plain text -#: build/C/man3/malloc_get_state.3:29 build/C/man3/posix_memalign.3:34 +#: build/C/man3/malloc_get_state.3:31 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/malloc_get_state.3:31 +#: build/C/man3/malloc_get_state.3:33 #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text -#: build/C/man3/malloc_get_state.3:33 +#: build/C/man3/malloc_get_state.3:35 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/malloc_get_state.3:51 +#: build/C/man3/malloc_get_state.3:53 msgid "" "The B() function records the current state of all " "B(3) internal bookkeeping variables (but not the actual contents of " @@ -2210,7 +2391,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_get_state.3:59 +#: build/C/man3/malloc_get_state.3:61 msgid "" "The B() function restores the state of all B(3) " "internal bookkeeping variables to the values recorded in the opaque data " @@ -2218,7 +2399,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_get_state.3:66 +#: build/C/man3/malloc_get_state.3:68 msgid "" "On success, B() returns a pointer to a newly allocated " "opaque data structure. On error (for example, memory could not be allocated " @@ -2229,7 +2410,7 @@ msgstr "" #. /* Must fail if the major version is too high. */ #. if((ms->version & ~0xffl) > (MALLOC_STATE_VERSION & ~0xffl)) return -2; #. type: Plain text -#: build/C/man3/malloc_get_state.3:84 +#: build/C/man3/malloc_get_state.3:86 msgid "" "On success, B() returns 0. If the implementation detects " "that I does not point to a correctly formed data structure, " @@ -2240,13 +2421,13 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_get_state.3:86 build/C/man3/malloc_hook.3:78 -#: build/C/man3/mcheck.3:146 build/C/man3/mtrace.3:78 +#: build/C/man3/malloc_get_state.3:88 build/C/man3/malloc_hook.3:82 +#: build/C/man3/mcheck.3:147 build/C/man3/mtrace.3:80 msgid "These functions are GNU extensions." msgstr "これらの関数は GNU による拡張である。" #. type: Plain text -#: build/C/man3/malloc_get_state.3:92 +#: 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/" @@ -2258,7 +2439,7 @@ msgstr "" #. i.e., malloc checking is not already in use #. and the caller requested malloc checking #. type: Plain text -#: build/C/man3/malloc_get_state.3:109 +#: build/C/man3/malloc_get_state.3:111 msgid "" "Hook function pointers are never saved or restored by these functions, with " "two exceptions: if malloc checking (see B(3)) was in use when " @@ -2269,24 +2450,24 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_get_state.3:112 +#: build/C/man3/malloc_get_state.3:114 msgid "B(3), B(3)" msgstr "B(3), B(3)" #. type: TH -#: build/C/man3/malloc_hook.3:6 +#: build/C/man3/malloc_hook.3:10 #, no-wrap msgid "MALLOC_HOOK" msgstr "MALLOC_HOOK" #. type: TH -#: build/C/man3/malloc_hook.3:6 +#: build/C/man3/malloc_hook.3:10 #, no-wrap msgid "2010-10-13" msgstr "2010-10-13" #. type: Plain text -#: build/C/man3/malloc_hook.3:11 +#: build/C/man3/malloc_hook.3:15 msgid "" "__malloc_hook, __malloc_initialize_hook, __memalign_hook, __free_hook, " "__realloc_hook, __after_morecore_hook - malloc debugging variables" @@ -2295,26 +2476,26 @@ msgstr "" "__realloc_hook, __after_morecore_hook - malloc デバッグ用の変数" #. type: Plain text -#: build/C/man3/malloc_hook.3:14 build/C/man3/malloc_info.3:29 -#: build/C/man3/posix_memalign.3:40 +#: 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:16 +#: build/C/man3/malloc_hook.3:20 #, no-wrap msgid "BIB<, const void *>IB<);>\n" msgstr "BIB<, const void *>IB<);>\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:19 +#: build/C/man3/malloc_hook.3:23 #, no-wrap msgid "BIB<, size_t >IB<, const void *>IB<);>\n" msgstr "BIB<, size_t >IB<, const void *>IB<);>\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:22 +#: build/C/man3/malloc_hook.3:26 #, no-wrap msgid "" "BIB<, size_t >IB<,>\n" @@ -2324,25 +2505,25 @@ msgstr "" "B< const void *>IB<);>\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:24 +#: build/C/man3/malloc_hook.3:28 #, no-wrap msgid "BIB<, const void *>IB<);>\n" msgstr "BIB<, const void *>IB<);>\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:26 +#: build/C/man3/malloc_hook.3:30 #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:28 +#: build/C/man3/malloc_hook.3:32 #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:39 +#: 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 " @@ -2355,7 +2536,7 @@ msgstr "" "ができる。" #. type: Plain text -#: build/C/man3/malloc_hook.3:46 +#: build/C/man3/malloc_hook.3:50 msgid "" "The variable B<__malloc_initialize_hook> points at a function that is called " "once when the malloc implementation is initialized. This is a weak " @@ -2367,20 +2548,20 @@ msgstr "" "ケーション内で 以下のような定義で上書きできる:" #. type: Plain text -#: build/C/man3/malloc_hook.3:49 +#: build/C/man3/malloc_hook.3:53 #, no-wrap msgid " void (*__malloc_initialize_hook)(void) = my_init_hook;\n" msgstr " void (*__malloc_initialize_hook)(void) = my_init_hook;\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:54 +#: build/C/man3/malloc_hook.3:58 msgid "" "Now the function I() can do the initialization of all hooks." msgstr "" "なお、関数 I() で全てのフックの初期化をすることができる。" #. type: Plain text -#: build/C/man3/malloc_hook.3:70 +#: build/C/man3/malloc_hook.3:74 msgid "" "The four functions pointed to by B<__malloc_hook>, B<__realloc_hook>, " "B<__memalign_hook>, B<__free_hook> have a prototype like the functions " @@ -2395,7 +2576,7 @@ msgstr "" "出し元 (caller) のアドレスが格納される。" #. type: Plain text -#: build/C/man3/malloc_hook.3:76 +#: build/C/man3/malloc_hook.3:80 msgid "" "The variable B<__after_morecore_hook> points at a function that is called " "each time after B(2) was asked for more memory." @@ -2406,21 +2587,24 @@ msgstr "" #. https://bugzilla.redhat.com/show_bug.cgi?id=450187 #. http://sourceware.org/bugzilla/show_bug.cgi?id=9957 #. type: Plain text -#: build/C/man3/malloc_hook.3:85 +#: build/C/man3/malloc_hook.3:89 msgid "" "The use of these hook functions is not safe in multithreaded programs, and " "they are now deprecated. Programmers should instead preempt calls to the " "relevant functions by defining and exporting functions such as \"malloc\" " "and \"free\"." msgstr "" +"マルチスレッドプログラムでは、 これらのフック関数の使用は安全ではなく、 今で" +"は非推奨である。 プログラマは、 \"malloc\" や \"free\" のような関数を定義して" +"公開して、 関連する関数を呼び出すようにすべきである。" #. type: Plain text -#: build/C/man3/malloc_hook.3:87 +#: build/C/man3/malloc_hook.3:91 msgid "Here is a short example of how to use these variables." msgstr "これらの変数の使い方の簡単な例を以下に示す。" #. type: Plain text -#: build/C/man3/malloc_hook.3:91 +#: build/C/man3/malloc_hook.3:95 #, no-wrap msgid "" "#include Estdio.hE\n" @@ -2430,7 +2614,7 @@ msgstr "" "#include Emalloc.hE\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:95 +#: build/C/man3/malloc_hook.3:99 #, no-wrap msgid "" "/* Prototypes for our hooks. */\n" @@ -2442,7 +2626,7 @@ msgstr "" "static void *my_malloc_hook(size_t, const void *);\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:98 +#: build/C/man3/malloc_hook.3:102 #, no-wrap msgid "" "/* Variables to save original hooks. */\n" @@ -2452,7 +2636,7 @@ msgstr "" "static void *(*old_malloc_hook)(size_t, const void *);\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:101 +#: build/C/man3/malloc_hook.3:105 #, no-wrap msgid "" "/* Override initializing hook from the C library. */\n" @@ -2462,7 +2646,7 @@ msgstr "" "void (*__malloc_initialize_hook) (void) = my_init_hook;\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:108 +#: build/C/man3/malloc_hook.3:112 #, no-wrap msgid "" "static void\n" @@ -2480,7 +2664,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:113 +#: build/C/man3/malloc_hook.3:117 #, no-wrap msgid "" "static void *\n" @@ -2494,7 +2678,7 @@ msgstr "" " void *result;\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:116 +#: build/C/man3/malloc_hook.3:120 #, no-wrap msgid "" " /* Restore all old hooks */\n" @@ -2504,7 +2688,7 @@ msgstr "" " __malloc_hook = old_malloc_hook;\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:119 +#: build/C/man3/malloc_hook.3:123 #, no-wrap msgid "" " /* Call recursively */\n" @@ -2514,7 +2698,7 @@ msgstr "" " result = malloc(size);\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:122 +#: build/C/man3/malloc_hook.3:126 #, no-wrap msgid "" " /* Save underlying hooks */\n" @@ -2524,7 +2708,7 @@ msgstr "" " old_malloc_hook = __malloc_hook;\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:126 +#: build/C/man3/malloc_hook.3:130 #, no-wrap msgid "" " /* printf() might call malloc(), so protect it too. */\n" @@ -2537,7 +2721,7 @@ msgstr "" " (unsigned int) size, caller, result);\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:129 +#: build/C/man3/malloc_hook.3:133 #, no-wrap msgid "" " /* Restore our own hooks */\n" @@ -2547,7 +2731,7 @@ msgstr "" " __malloc_hook = my_malloc_hook;\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:132 +#: build/C/man3/malloc_hook.3:136 #, no-wrap msgid "" " return result;\n" @@ -2557,93 +2741,107 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/malloc_hook.3:138 +#: build/C/man3/malloc_hook.3:142 msgid "B(3), B(3), B(3), B(3)" msgstr "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/malloc_info.3:23 -#, fuzzy, no-wrap -#| msgid "MALLOC_HOOK" +#: build/C/man3/malloc_info.3:25 +#, no-wrap msgid "MALLOC_INFO" -msgstr "MALLOC_HOOK" +msgstr "MALLOC_INFO" + +#. type: TH +#: build/C/man3/malloc_info.3:25 build/C/man2/shmget.2:38 +#, no-wrap +msgid "2013-04-19" +msgstr "2013-04-19" #. type: Plain text -#: build/C/man3/malloc_info.3:26 +#: build/C/man3/malloc_info.3:28 msgid "malloc_info - export malloc state to a stream" -msgstr "" +msgstr "malloc_info - malloc の状態をストリームに出力する" #. type: Plain text -#: build/C/man3/malloc_info.3:31 -#, fuzzy, no-wrap -#| msgid "BIB<, int >IB<);>" +#: build/C/man3/malloc_info.3:33 +#, no-wrap msgid "BIB<, FILE *>IB<);>\n" -msgstr "BIB<, int >IB<);>" +msgstr "BIB<, FILE *>IB<);>\n" #. type: Plain text -#: build/C/man3/malloc_info.3:42 +#: build/C/man3/malloc_info.3:44 msgid "" "The B() function exports an XML string that describes the " "current state of the memory-allocation implementation in the caller. The " "string is printed on the file stream I. The exported string includes " "information about all arenas (see B(3))." msgstr "" +"B() 関数は、 呼び出し元のメモリ割り当て実装の現在の状態を表す " +"XML 文字列を出力する。 文字列は、 ファイルストリーム I に出力される。 出" +"力された文字列には、 全ての割り当て領域の情報が含まれる (B(3) 参照)。" #. type: Plain text -#: build/C/man3/malloc_info.3:46 +#: build/C/man3/malloc_info.3:48 msgid "As currently implemented, I must be zero." -msgstr "" +msgstr "現在の実装では、 I は 0 でなければならない。" #. type: Plain text -#: build/C/man3/malloc_info.3:51 -#, fuzzy -#| msgid "On success, B() returns 1. On error, it returns 0." -msgid "On success, B() returns 0; on error, it returns -1." -msgstr "B() は成功すると 1 を返す。エラーの場合は 0 を返す。" +#: build/C/man3/malloc_info.3:55 +msgid "" +"On success, B() returns 0; on error, it returns -1, with " +"I set to indicate the cause." +msgstr "" +"B() は、成功すると 0 を返す。 エラーの場合、-1 を返し、 " +"I にエラーの原因を示す値を設定する。" #. type: Plain text -#: build/C/man3/malloc_info.3:56 +#: build/C/man3/malloc_info.3:60 msgid "I was nonzero." -msgstr "" +msgstr "I が 0 でなかった。" #. type: Plain text -#: build/C/man3/malloc_info.3:59 -#, fuzzy -#| msgid "The function B() was added to glibc in version 2.16." -msgid "B(3) was added to glibc in version 2.10." -msgstr "関数 B() は glibc バージョン 2.16 で追加された。" +#: build/C/man3/malloc_info.3:63 +msgid "B() was added to glibc in version 2.10." +msgstr "B() は glibc バージョン 2.10 で追加された。" #. type: Plain text -#: build/C/man3/malloc_info.3:61 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_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 msgid "This function is a GNU extension." msgstr "この関数は GNU による拡張である。" #. type: Plain text -#: build/C/man3/malloc_info.3:67 +#: build/C/man3/malloc_info.3:71 msgid "" "The memory-allocation information is provided as an XML string (rather than " "a C structure) because the information may change over time (according to " "changes in the underlying implementation). The output XML string includes a " "version field." msgstr "" +"メモリ割り当て情報は (C の構造体ではなく) XML 文字列として提供される。 これ" +"は、 この情報は時間をたつと (内部で使用している実装によって) 変わる可能性があ" +"るからである。 出力される XML 文字列にはバージョンフィールドが付いている。" #. type: Plain text -#: build/C/man3/malloc_info.3:73 +#: build/C/man3/malloc_info.3:77 msgid "" "The B(3) function can be used to send the output of " "B() directly into a buffer in memory, rather than to a file." msgstr "" +"B(3) 関数を使うと、 B() の出力を、 ファイルでは" +"なくメモリ内のバッファに直接送ることができる。" #. type: Plain text -#: build/C/man3/malloc_info.3:80 +#: build/C/man3/malloc_info.3:84 msgid "" "The B() function is designed to address deficiencies in " "B(3) and B(3)." msgstr "" +"B() 関数は、 B(3) と B(3) の不備を解決す" +"るために設定された。" #. type: Plain text -#: build/C/man3/malloc_info.3:91 +#: build/C/man3/malloc_info.3:95 msgid "" "The program below takes up to four command-line arguments, of which the " "first three are mandatory. The first argument specifies the number of " @@ -2654,27 +2852,41 @@ msgid "" "created by the program allocates blocks of twice this size, the third thread " "allocates blocks of three times this size, and so on." msgstr "" +"以下のプログラムは最大で 4 つのコマンドライン引数を取り、 最初の 3 つは必須で" +"ある。 最初の引数は、このプログラムが生成するスレッド数を指定する。 メインス" +"レッドを含む全てのスレッドが第 2 引数で指定した数のメモリブロックの割り当てを" +"行う。 第 3 引数は割り当てるブロックのサイズを制御する。 メインスレッドはこの" +"サイズのブロックを作成し、 このプログラムが生成する 2 番目のスレッドはこのサ" +"イズの 2 倍のサイズのブロックを、 3 番目のスレッドはこのサイズの 3 倍のサイズ" +"のブロックを割り当て、 以下同様である。" #. type: Plain text -#: build/C/man3/malloc_info.3:98 +#: build/C/man3/malloc_info.3:102 msgid "" "The program calls B() twice to display the memory-allocation " "state. The first call takes place before any threads are created or memory " "allocated. The second call is performed after all threads have allocated " "memory." msgstr "" +"このプログラムは B() を 2 回呼び出し、メモリ割り当て状態を表示す" +"る。 最初の呼び出しはスレッドの生成もメモリの割り当ても行われる前に実行され" +"る。 2 回目の呼び出しは全てのスレッドがメモリ割り当てを行った後に実行される。" #. type: Plain text -#: build/C/man3/malloc_info.3:106 +#: build/C/man3/malloc_info.3:110 msgid "" "In the following example, the command-line arguments specify the creation of " "one additional thread, and both the main thread and the additional thread " "allocate 10000 blocks of memory. After the blocks of memory have been " "allocated, B() shows the state of two allocation arenas." msgstr "" +"以下の例では、 コマンドライン引数で、 追加でスレッドを一つ生成し、メインス" +"レッドと追加のスレッドの両方が 10000 個のメモリブロックを割り当てるように指定" +"している。 メモリブロックの割り当て後の B() では、 2 つの割り当" +"て領域の状態が表示されている。" #. type: Plain text -#: build/C/man3/malloc_info.3:131 +#: build/C/man3/malloc_info.3:135 #, no-wrap msgid "" "$ B\n" @@ -2700,9 +2912,31 @@ msgid "" "Easpace type=\"mprotect\" size=\"135168\"/E\n" "E/mallocE\n" msgstr "" +"$ B\n" +"glibc 2.13\n" +"$ B<./a.out 1 10000 100>\n" +"============ Before allocating blocks ============\n" +"Emalloc version=\"1\"E\n" +"Eheap nr=\"0\"E\n" +"EsizesE\n" +"E/sizesE\n" +"Etotal type=\"fast\" count=\"0\" size=\"0\"/E\n" +"Etotal type=\"rest\" count=\"0\" size=\"0\"/E\n" +"Esystem type=\"current\" size=\"135168\"/E\n" +"Esystem type=\"max\" size=\"135168\"/E\n" +"Easpace type=\"total\" size=\"135168\"/E\n" +"Easpace type=\"mprotect\" size=\"135168\"/E\n" +"E/heapE\n" +"Etotal type=\"fast\" count=\"0\" size=\"0\"/E\n" +"Etotal type=\"rest\" count=\"0\" size=\"0\"/E\n" +"Esystem type=\"current\" size=\"135168\"/E\n" +"Esystem type=\"max\" size=\"135168\"/E\n" +"Easpace type=\"total\" size=\"135168\"/E\n" +"Easpace type=\"mprotect\" size=\"135168\"/E\n" +"E/mallocE\n" #. type: Plain text -#: build/C/man3/malloc_info.3:161 +#: build/C/man3/malloc_info.3:165 #, no-wrap msgid "" "============ After allocating blocks ============\n" @@ -2735,18 +2969,39 @@ msgid "" "Easpace type=\"mprotect\" size=\"2113536\"/E\n" "E/mallocE\n" msgstr "" +"============ After allocating blocks ============\n" +"Emalloc version=\"1\"E\n" +"Eheap nr=\"0\"E\n" +"EsizesE\n" +"E/sizesE\n" +"Etotal type=\"fast\" count=\"0\" size=\"0\"/E\n" +"Etotal type=\"rest\" count=\"0\" size=\"0\"/E\n" +"Esystem type=\"current\" size=\"1081344\"/E\n" +"Esystem type=\"max\" size=\"1081344\"/E\n" +"Easpace type=\"total\" size=\"1081344\"/E\n" +"Easpace type=\"mprotect\" size=\"1081344\"/E\n" +"E/heapE\n" +"Eheap nr=\"1\"E\n" +"EsizesE\n" +"E/sizesE\n" +"Etotal type=\"fast\" count=\"0\" size=\"0\"/E\n" +"Etotal type=\"rest\" count=\"0\" size=\"0\"/E\n" +"Esystem type=\"current\" size=\"1032192\"/E\n" +"Esystem type=\"max\" size=\"1032192\"/E\n" +"Easpace type=\"total\" size=\"1032192\"/E\n" +"Easpace type=\"mprotect\" size=\"1032192\"/E\n" +"E/heapE\n" +"Etotal type=\"fast\" count=\"0\" size=\"0\"/E\n" +"Etotal type=\"rest\" count=\"0\" size=\"0\"/E\n" +"Esystem type=\"current\" size=\"2113536\"/E\n" +"Esystem type=\"max\" size=\"2113536\"/E\n" +"Easpace type=\"total\" size=\"2113536\"/E\n" +"Easpace type=\"mprotect\" size=\"2113536\"/E\n" +"E/mallocE\n" #. type: Plain text -#: build/C/man3/malloc_info.3:171 -#, fuzzy, no-wrap -#| msgid "" -#| "#include Eunistd.hE\n" -#| "#include Esignal.hE\n" -#| "#include Estdio.hE\n" -#| "#include Emalloc.hE\n" -#| "#include Estdlib.hE\n" -#| "#include Eerrno.hE\n" -#| "#include Esys/mman.hE\n" +#: build/C/man3/malloc_info.3:175 +#, no-wrap msgid "" "#include Eunistd.hE\n" "#include Estdlib.hE\n" @@ -2755,36 +3010,33 @@ msgid "" "#include Eerrno.hE\n" msgstr "" "#include Eunistd.hE\n" -"#include Esignal.hE\n" -"#include Estdio.hE\n" -"#include Emalloc.hE\n" "#include Estdlib.hE\n" +"#include Epthread.hE\n" +"#include Emalloc.hE\n" "#include Eerrno.hE\n" -"#include Esys/mman.hE\n" #. type: Plain text -#: build/C/man3/malloc_info.3:174 +#: build/C/man3/malloc_info.3:178 #, no-wrap msgid "" "static size_t blockSize;\n" "static int numThreads, numBlocks;\n" msgstr "" +"static size_t blockSize;\n" +"static int numThreads, numBlocks;\n" #. type: Plain text -#: build/C/man3/malloc_info.3:177 -#, fuzzy, no-wrap -#| msgid "" -#| "#define handle_error(msg) \\e\n" -#| " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" +#: build/C/man3/malloc_info.3:181 +#, no-wrap msgid "" "#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\e\n" " } while (0)\n" msgstr "" -"#define handle_error(msg) \\e\n" -" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" +"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\e\n" +" } while (0)\n" #. type: Plain text -#: build/C/man3/malloc_info.3:183 +#: build/C/man3/malloc_info.3:187 #, no-wrap msgid "" "static void *\n" @@ -2793,46 +3045,49 @@ msgid "" " int j;\n" " int tn = (int) arg;\n" msgstr "" +"static void *\n" +"thread_func(void *arg)\n" +"{\n" +" int j;\n" +" int tn = (int) arg;\n" #. type: Plain text -#: build/C/man3/malloc_info.3:186 +#: build/C/man3/malloc_info.3:190 #, no-wrap msgid "" " /* The multiplier \\(aq(2 + tn)\\(aq ensures that each thread (including\n" " the main thread) allocates a different amount of memory */\n" msgstr "" +" /* The multiplier \\(aq(2 + tn)\\(aq ensures that each thread (including\n" +" the main thread) allocates a different amount of memory */\n" #. type: Plain text -#: build/C/man3/malloc_info.3:190 -#, fuzzy, no-wrap -#| msgid "" -#| " for (j = 0; j E 2; j++)\n" -#| " malloc(100); /* Never freed--a memory leak */\n" +#: build/C/man3/malloc_info.3:194 +#, no-wrap msgid "" " for (j = 0; j E numBlocks; j++)\n" " if (malloc(blockSize * (2 + tn)) == NULL)\n" " errExit(\"malloc-thread\");\n" msgstr "" -" for (j = 0; j E 2; j++)\n" -" malloc(100); /* Never freed--a memory leak */\n" +" for (j = 0; j E numBlocks; j++)\n" +" if (malloc(blockSize * (2 + tn)) == NULL)\n" +" errExit(\"malloc-thread\");\n" #. type: Plain text -#: build/C/man3/malloc_info.3:194 +#: build/C/man3/malloc_info.3:198 #, no-wrap msgid "" " sleep(100); /* Sleep until main thread terminates */\n" " return NULL;\n" "}\n" msgstr "" +" sleep(100); /* Sleep until main thread terminates */\n" +" return NULL;\n" +"}\n" #. type: Plain text -#: build/C/man3/malloc_info.3:200 -#, fuzzy, no-wrap -#| msgid "" -#| "int\n" -#| "main(int argc, char *argv[])\n" -#| "{\n" -#| " int j;\n" +#: build/C/man3/malloc_info.3:204 +#, no-wrap msgid "" "int\n" "main(int argc, char *argv[])\n" @@ -2843,16 +3098,12 @@ msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" -" int j;\n" +" int j, tn, sleepTime;\n" +" pthread_t *thr;\n" #. type: Plain text -#: build/C/man3/malloc_info.3:207 -#, fuzzy, no-wrap -#| msgid "" -#| " if (argc E 3 || argc E 4) {\n" -#| " fprintf(stderr, \"%s file offset [length]\\en\", argv[0]);\n" -#| " exit(EXIT_FAILURE);\n" -#| " }\n" +#: build/C/man3/malloc_info.3:211 +#, no-wrap msgid "" " if (argc E 4) {\n" " fprintf(stderr,\n" @@ -2861,13 +3112,15 @@ msgid "" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" -" if (argc E 3 || argc E 4) {\n" -" fprintf(stderr, \"%s file offset [length]\\en\", argv[0]);\n" +" if (argc E 4) {\n" +" fprintf(stderr,\n" +" \"%s num-threads num-blocks block-size [sleep-time]\\en\",\n" +" argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text -#: build/C/man3/malloc_info.3:212 +#: build/C/man3/malloc_info.3:216 #, no-wrap msgid "" " numThreads = atoi(argv[1]);\n" @@ -2875,32 +3128,41 @@ msgid "" " blockSize = atoi(argv[3]);\n" " sleepTime = (argc E 4) ? atoi(argv[4]) : 0;\n" msgstr "" +" numThreads = atoi(argv[1]);\n" +" numBlocks = atoi(argv[2]);\n" +" blockSize = atoi(argv[3]);\n" +" sleepTime = (argc E 4) ? atoi(argv[4]) : 0;\n" #. type: Plain text -#: build/C/man3/malloc_info.3:216 +#: build/C/man3/malloc_info.3:220 #, no-wrap msgid "" " thr = calloc(numThreads, sizeof(pthread_t));\n" " if (thr == NULL)\n" " errExit(\"calloc\");\n" msgstr "" +" thr = calloc(numThreads, sizeof(pthread_t));\n" +" if (thr == NULL)\n" +" errExit(\"calloc\");\n" #. type: Plain text -#: build/C/man3/malloc_info.3:219 +#: build/C/man3/malloc_info.3:223 #, no-wrap msgid "" " printf(\"============ Before allocating blocks ============\\en\");\n" " malloc_info(0, stdout);\n" msgstr "" +" printf(\"============ Before allocating blocks ============\\en\");\n" +" malloc_info(0, stdout);\n" #. type: Plain text -#: build/C/man3/malloc_info.3:221 +#: build/C/man3/malloc_info.3:225 #, no-wrap msgid " /* Create threads that allocate different amounts of memory */\n" -msgstr "" +msgstr " /* Create threads that allocate different amounts of memory */\n" #. type: Plain text -#: build/C/man3/malloc_info.3:227 +#: build/C/man3/malloc_info.3:231 #, no-wrap msgid "" " for (tn = 0; tn E numThreads; tn++) {\n" @@ -2909,9 +3171,14 @@ msgid "" " if (errno != 0)\n" " errExit(\"pthread_create\");\n" msgstr "" +" for (tn = 0; tn E numThreads; tn++) {\n" +" errno = pthread_create(&thr[tn], NULL, thread_func,\n" +" (void *) tn);\n" +" if (errno != 0)\n" +" errExit(\"pthread_create\");\n" #. type: Plain text -#: build/C/man3/malloc_info.3:232 +#: build/C/man3/malloc_info.3:236 #, no-wrap msgid "" " /* If we add a sleep interval after the start-up of each\n" @@ -2919,84 +3186,90 @@ msgid "" " mutexes, and therefore additional arenas won\\(aqt be\n" " allocated (see malloc(3)). */\n" msgstr "" +" /* If we add a sleep interval after the start-up of each\n" +" thread, the threads likely won\\(aqt contend for malloc\n" +" mutexes, and therefore additional arenas won\\(aqt be\n" +" allocated (see malloc(3)). */\n" #. type: Plain text -#: build/C/man3/malloc_info.3:236 +#: build/C/man3/malloc_info.3:240 #, no-wrap msgid "" " if (sleepTime E 0)\n" " sleep(sleepTime);\n" " }\n" msgstr "" +" if (sleepTime E 0)\n" +" sleep(sleepTime);\n" +" }\n" #. type: Plain text -#: build/C/man3/malloc_info.3:238 +#: build/C/man3/malloc_info.3:242 #, no-wrap msgid " /* The main thread also allocates some memory */\n" -msgstr "" +msgstr " /* The main thread also allocates some memory */\n" #. type: Plain text -#: build/C/man3/malloc_info.3:242 -#, fuzzy, no-wrap -#| msgid "" -#| " for (j = 0; j E 2; j++)\n" -#| " malloc(100); /* Never freed--a memory leak */\n" +#: build/C/man3/malloc_info.3:246 +#, no-wrap msgid "" " for (j = 0; j E numBlocks; j++)\n" " if (malloc(blockSize) == NULL)\n" " errExit(\"malloc\");\n" msgstr "" -" for (j = 0; j E 2; j++)\n" -" malloc(100); /* Never freed--a memory leak */\n" +" for (j = 0; j E numBlocks; j++)\n" +" if (malloc(blockSize) == NULL)\n" +" errExit(\"malloc\");\n" #. type: Plain text -#: build/C/man3/malloc_info.3:245 +#: build/C/man3/malloc_info.3:249 #, no-wrap msgid "" " sleep(2); /* Give all threads a chance to\n" " complete allocations */\n" msgstr "" +" sleep(2); /* Give all threads a chance to\n" +" complete allocations */\n" #. type: Plain text -#: build/C/man3/malloc_info.3:248 +#: build/C/man3/malloc_info.3:252 #, no-wrap msgid "" " printf(\"\\en============ After allocating blocks ============\\en\");\n" " malloc_info(0, stdout);\n" msgstr "" +" printf(\"\\en============ After allocating blocks ============\\en\");\n" +" malloc_info(0, stdout);\n" #. type: Plain text -#: build/C/man3/malloc_info.3:258 -#, fuzzy -#| msgid "B(3), B(3), B(3), B(3)" +#: build/C/man3/malloc_info.3:262 msgid "" "B(3), B(3), B(3), B(3), " "B(3)" -msgstr "B(3), B(3), B(3), B(3)" +msgstr "" +"B(3), B(3), B(3), B(3), " +"B(3)" #. type: TH -#: build/C/man3/malloc_stats.3:24 -#, fuzzy, no-wrap -#| msgid "MALLOC_GET_STATE" +#: build/C/man3/malloc_stats.3:26 +#, no-wrap msgid "MALLOC_STATS" -msgstr "MALLOC_GET_STATE" +msgstr "MALLOC_STATS" #. type: Plain text -#: build/C/man3/malloc_stats.3:27 +#: build/C/man3/malloc_stats.3:29 msgid "malloc_stats - print memory allocation statistics" -msgstr "" +msgstr "malloc_stats - メモリ割り当ての統計を表示する" #. type: Plain text -#: build/C/man3/malloc_stats.3:31 -#, fuzzy -#| msgid "B\n" +#: build/C/man3/malloc_stats.3:33 msgid "B" -msgstr "B\n" +msgstr "B" #. .SH VERSIONS #. Available already in glibc 2.0, possibly earlier #. type: Plain text -#: build/C/man3/malloc_stats.3:53 +#: build/C/man3/malloc_stats.3:55 msgid "" "The B() function prints (on standard error) statistics about " "memory allocated by B(3) and related functions. For each arena " @@ -3007,53 +3280,61 @@ msgid "" "statistics for all arenas, and the maximum number of blocks and bytes that " "were ever simultaneously allocated using B(2)." msgstr "" +"B() 関数は B(3) や関連する関数により割り当てられたメモ" +"リに関する統計を (標準エラーに) 出力する。 各領域 (割り当てエリア) につい" +"て、 この関数は割り当てられているメモリの総量と現在の割り当てが使用している総" +"バイト数を出力する (これらの二つの値は B(3) で取得できる I " +"と I フィールドに対応している)。 また、この関数は、 すべての領域の" +"これら二つの統計情報の合計値と、 B(2) を使って同時に割り当てられたブ" +"ロック数とバイト数の最大値を表示する。" #. type: Plain text -#: build/C/man3/malloc_stats.3:59 +#: build/C/man3/malloc_stats.3:61 msgid "" "More detailed information about memory allocations in the main arena can be " "obtained using B(3)." msgstr "" +"B(3) を使用すると、 メイン領域のメモリ割り当てに関するより詳細な情" +"報を取得できる。" #. type: Plain text -#: build/C/man3/malloc_stats.3:65 -#, fuzzy -#| msgid "B(3), B(3), B(3), B(3)" +#: build/C/man3/malloc_stats.3:67 msgid "" "B(2), B(3), B(3), B(3), B(3)" -msgstr "B(3), B(3), B(3), B(3)" +msgstr "" +"B(2), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/malloc_trim.3:24 +#: build/C/man3/malloc_trim.3:26 #, no-wrap msgid "MALLOC_TRIM" msgstr "MALLOC_TRIM" #. type: TH -#: build/C/man3/malloc_trim.3:24 build/C/man3/malloc_usable_size.3:23 +#: build/C/man3/malloc_trim.3:26 build/C/man3/malloc_usable_size.3:25 #, no-wrap msgid "2012-03-29" msgstr "2012-03-29" #. type: Plain text -#: build/C/man3/malloc_trim.3:27 +#: build/C/man3/malloc_trim.3:29 msgid "malloc_trim - release free memory from the top of the heap" msgstr "" #. type: Plain text -#: build/C/man3/malloc_trim.3:31 +#: build/C/man3/malloc_trim.3:33 msgid "BIB<);>" msgstr "BIB<);>" #. type: Plain text -#: build/C/man3/malloc_trim.3:38 +#: build/C/man3/malloc_trim.3:40 msgid "" "The B() function attempts to release free memory at the top of " "the heap (by calling B(2) with a suitable argument)." msgstr "" #. type: Plain text -#: build/C/man3/malloc_trim.3:49 +#: build/C/man3/malloc_trim.3:51 msgid "" "The I argument specifies the amount of free space to leave untrimmed at " "the top of the heap. If this argument is 0, only the minimum amount of " @@ -3064,7 +3345,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_trim.3:54 +#: build/C/man3/malloc_trim.3:56 msgid "" "The B() function returns 1 if memory was actually released " "back to the system, or 0 if it was not possible to release any memory." @@ -3073,12 +3354,12 @@ msgstr "" #. .SH VERSIONS #. Available already in glibc 2.0, possibly earlier #. type: Plain text -#: build/C/man3/malloc_trim.3:58 +#: build/C/man3/malloc_trim.3:60 msgid "No errors are defined." msgstr "" #. type: Plain text -#: build/C/man3/malloc_trim.3:69 +#: build/C/man3/malloc_trim.3:71 msgid "" "This function is automatically called by B(3) in certain " "circumstances; see the discussion of B and B in " @@ -3086,7 +3367,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_trim.3:72 +#: build/C/man3/malloc_trim.3:74 msgid "" "This function cannot release free memory located at places other than the " "top of the heap." @@ -3095,33 +3376,33 @@ msgstr "" #. malloc/malloc.c::mTRIm(): #. return result | (av == &main_arena ? sYSTRIm (pad, av) : 0); #. type: Plain text -#: build/C/man3/malloc_trim.3:76 -msgid "This function only releases memory in the main arena." +#: build/C/man3/malloc_trim.3:78 +msgid "This function releases only memory in the main arena." msgstr "" #. type: Plain text -#: build/C/man3/malloc_trim.3:80 +#: build/C/man3/malloc_trim.3:82 msgid "B(2), B(3), B(3)" msgstr "B(2), B(3), B(3)" #. type: TH -#: build/C/man3/malloc_usable_size.3:23 +#: build/C/man3/malloc_usable_size.3:25 #, no-wrap msgid "MALLOC_USABLE_SIZE" msgstr "MALLOC_USABLE_SIZE" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:26 +#: build/C/man3/malloc_usable_size.3:28 msgid "malloc_usable_size - obtain size of block of memory allocated from heap" msgstr "" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:30 +#: build/C/man3/malloc_usable_size.3:32 msgid "BIB<);>" msgstr "BIB<);>" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:38 +#: build/C/man3/malloc_usable_size.3:40 msgid "" "The B() function returns the number of usable bytes in " "the block pointed to by I, a pointer to a block of memory allocated by " @@ -3129,14 +3410,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:46 +#: build/C/man3/malloc_usable_size.3:48 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 "" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:58 +#: build/C/man3/malloc_usable_size.3:60 msgid "" "The value returned by B() may be greater than the " "requested size of the allocation because of alignment and minimum size " @@ -3147,60 +3428,63 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:60 +#: build/C/man3/malloc_usable_size.3:62 msgid "The main use of this function is for debugging and introspection." msgstr "" #. type: Plain text -#: build/C/man3/malloc_usable_size.3:62 +#: build/C/man3/malloc_usable_size.3:64 msgid "B(3)" msgstr "B(3)" #. type: TH -#: build/C/man3/mallopt.3:24 +#: build/C/man3/mallopt.3:26 #, no-wrap msgid "MALLOPT" msgstr "MALLOPT" #. type: TH -#: build/C/man3/mallopt.3:24 -#, fuzzy, no-wrap -#| msgid "2012-04-23" +#: build/C/man3/mallopt.3:26 +#, no-wrap msgid "2012-04-30" -msgstr "2012-04-23" +msgstr "2012-04-30" #. type: Plain text -#: build/C/man3/mallopt.3:27 +#: build/C/man3/mallopt.3:29 msgid "mallopt - set memory allocation parameters" -msgstr "" +msgstr "mallopt - メモリ割り当てパラメータを設定する" #. type: Plain text -#: build/C/man3/mallopt.3:31 +#: build/C/man3/mallopt.3:33 msgid "BIB<, int >IB<);>" msgstr "BIB<, int >IB<);>" #. type: Plain text -#: build/C/man3/mallopt.3:42 +#: build/C/man3/mallopt.3:44 msgid "" "The B() function adjusts parameters that control the behavior of " "the memory-allocation functions (see B(3)). The I argument " "specifies the parameter to be modified, and I specifies the new value " "for that parameter." msgstr "" +"B() 関数は、メモリ割り当て関数 (B(3) を参照) の動作を\n" +"制御するパラメータの調整を行う。\n" +"I 引き数で変更するパラメータを指定し、\n" +"I 引き数でそのパラメータの新しい値を指定する。" #. type: Plain text -#: build/C/man3/mallopt.3:45 +#: build/C/man3/mallopt.3:47 msgid "The following values can be specified for I:" msgstr "I には以下の値を指定することができる。" #. type: TP -#: build/C/man3/mallopt.3:45 +#: build/C/man3/mallopt.3:47 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:51 +#: build/C/man3/mallopt.3:53 msgid "" "Setting this parameter controls how glibc responds when various kinds of " "programming errors are detected (e.g., freeing the same pointer twice). The " @@ -3209,13 +3493,13 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:52 +#: build/C/man3/mallopt.3:54 #, no-wrap msgid "Bit 0" msgstr "Bit 0" #. type: Plain text -#: build/C/man3/mallopt.3:62 +#: build/C/man3/mallopt.3:64 msgid "" "If this bit is set, then print a one-line message on I that provides " "details about the error. The message starts with the string \"***\\ glibc " @@ -3225,13 +3509,13 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:62 +#: build/C/man3/mallopt.3:64 #, no-wrap msgid "Bit 1" msgstr "Bit 1" #. type: Plain text -#: build/C/man3/mallopt.3:77 +#: build/C/man3/mallopt.3:79 msgid "" "If this bit is set, then, after printing any error message specified by bit " "0, the program is terminated by calling B(3). In glibc versions " @@ -3242,13 +3526,13 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:77 +#: build/C/man3/mallopt.3:79 #, no-wrap msgid "Bit 2 (since glibc 2.4)" msgstr "Bit 2 (glibc 2.4 以降)" #. type: Plain text -#: build/C/man3/mallopt.3:84 +#: build/C/man3/mallopt.3:86 msgid "" "This bit has an effect only if bit 0 is also set. If this bit is set, then " "the one-line message describing the error is simplified to contain just the " @@ -3257,96 +3541,96 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:89 +#: build/C/man3/mallopt.3:91 msgid "The remaining bits in I are ignored." msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:93 +#: build/C/man3/mallopt.3:95 msgid "" "Combining the above details, the following numeric values are meaningful for " "B:" msgstr "" #. type: IP -#: build/C/man3/mallopt.3:94 +#: build/C/man3/mallopt.3:96 #, no-wrap msgid "0" -msgstr "" +msgstr "0" #. type: Plain text -#: build/C/man3/mallopt.3:96 +#: build/C/man3/mallopt.3:98 msgid "Ignore error conditions; continue execution (with undefined results)." msgstr "" #. type: IP -#: build/C/man3/mallopt.3:96 +#: build/C/man3/mallopt.3:98 #, no-wrap msgid "1" msgstr "1" #. type: Plain text -#: build/C/man3/mallopt.3:98 +#: build/C/man3/mallopt.3:100 msgid "Print a detailed error message and continue execution." msgstr "" #. type: IP -#: build/C/man3/mallopt.3:98 +#: build/C/man3/mallopt.3:100 #, no-wrap msgid "2" msgstr "2" #. type: Plain text -#: build/C/man3/mallopt.3:100 +#: build/C/man3/mallopt.3:102 msgid "Abort the program." msgstr "" #. type: IP -#: build/C/man3/mallopt.3:100 +#: build/C/man3/mallopt.3:102 #, no-wrap msgid "3" -msgstr "" +msgstr "3" #. type: Plain text -#: build/C/man3/mallopt.3:103 +#: build/C/man3/mallopt.3:105 msgid "" "Print detailed error message, stack trace, and memory mappings, and abort " "the program." msgstr "" #. type: IP -#: build/C/man3/mallopt.3:103 +#: build/C/man3/mallopt.3:105 #, no-wrap msgid "5" -msgstr "" +msgstr "5" #. type: Plain text -#: build/C/man3/mallopt.3:105 +#: build/C/man3/mallopt.3:107 msgid "Print a simple error message and continue execution." msgstr "" #. type: IP -#: build/C/man3/mallopt.3:105 +#: build/C/man3/mallopt.3:107 #, no-wrap msgid "7" -msgstr "" +msgstr "7" #. type: Plain text -#: build/C/man3/mallopt.3:108 +#: build/C/man3/mallopt.3:110 msgid "" "Print simple error message, stack trace, and memory mappings, and abort the " "program." msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:114 +#: build/C/man3/mallopt.3:116 msgid "" "Since glibc 2.3.4, the default value for the B parameter is " "3. In glibc version 2.3.3 and earlier, the default value is 1." msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:119 +#: build/C/man3/mallopt.3:121 msgid "" "Using a nonzero B value can be useful because otherwise a " "crash may happen much later, and the true cause of the problem is then very " @@ -3354,14 +3638,14 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:119 +#: build/C/man3/mallopt.3:121 #, no-wrap msgid "B" msgstr "B" #. The following text adapted from comments in the glibc source: #. type: Plain text -#: build/C/man3/mallopt.3:129 +#: build/C/man3/mallopt.3:131 msgid "" "This parameter specifies the maximum number of allocation requests that may " "be simultaneously serviced using B(2). This parameter exists because " @@ -3370,7 +3654,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:136 +#: build/C/man3/mallopt.3:138 msgid "" "The default value is 65,536, a value which has no special significance and " "which servers only as a safeguard. Setting this parameter to 0 disables the " @@ -3378,13 +3662,13 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:136 +#: build/C/man3/mallopt.3:138 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:145 +#: build/C/man3/mallopt.3:147 msgid "" "For allocations greater than or equal to the limit specified (in bytes) by " "B that can't be satisfied from the free list, the memory-" @@ -3393,7 +3677,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:165 +#: build/C/man3/mallopt.3:167 msgid "" "Allocating memory using B(2) has the significant advantage that the " "allocated memory blocks can always be independently released back to the " @@ -3407,7 +3691,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:172 +#: build/C/man3/mallopt.3:174 msgid "" "The lower limit for this parameter is 0. The upper limit is " "B: 512*1024 on 32-bit systems or " @@ -3415,28 +3699,28 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:190 +#: build/C/man3/mallopt.3:192 msgid "" "I Nowadays, glibc uses a dynamic mmap threshold by default. The " "initial value of the threshold is 128*1024, but when blocks larger than the " "current threshold and less than or equal to B " -"are freed, the threshold is adjusted upwards to the size of the freed " -"block. When dynamic mmap thresholding is in effect, the threshold for " -"trimming the heap is also dynamically adjusted to be twice the dynamic mmap " -"threshold. Dynamic adjustment of the mmap threshold is disabled if any of " -"the B, B, B, or B " +"are freed, the threshold is adjusted upward to the size of the freed block. " +"When dynamic mmap thresholding is in effect, the threshold for trimming the " +"heap is also dynamically adjusted to be twice the dynamic mmap threshold. " +"Dynamic adjustment of the mmap threshold is disabled if any of the " +"B, B, B, or B " "parameters is set." msgstr "" #. type: TP -#: build/C/man3/mallopt.3:190 +#: build/C/man3/mallopt.3:192 #, no-wrap msgid "B (since glibc 2.3)" msgstr "B (glibc 2.3 以降)" #. The following text adapted from comments in the glibc sources: #. type: Plain text -#: build/C/man3/mallopt.3:210 +#: build/C/man3/mallopt.3:212 msgid "" "Set the upper limit for memory allocation requests that are satisfied using " "\"fastbins\". (The measurement unit for this parameter is bytes.) Fastbins " @@ -3451,13 +3735,13 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:210 +#: build/C/man3/mallopt.3:212 #, no-wrap msgid "B (since glibc 2.4)" msgstr "B (glibc 2.4 以降)" #. type: Plain text -#: build/C/man3/mallopt.3:225 +#: build/C/man3/mallopt.3:227 msgid "" "If this parameter is set to a nonzero value, then bytes of allocated memory " "(other than allocations via B(3)) are initialized to the complement " @@ -3469,13 +3753,13 @@ msgid "" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:225 +#: build/C/man3/mallopt.3:227 #, no-wrap msgid "B" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:232 +#: 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 " @@ -3483,14 +3767,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:239 +#: build/C/man3/mallopt.3:241 msgid "" "When the program break is increased, then B bytes are added to " "the B(2) request." msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:245 +#: build/C/man3/mallopt.3:247 msgid "" "When the heap is trimmed as a consequence of calling B(3) (see the " "discussion of B) this much free space is preserved at the " @@ -3498,14 +3782,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:249 +#: build/C/man3/mallopt.3:251 msgid "" "In either case, the amount of padding is always rounded to a system page " "boundary." msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:256 +#: build/C/man3/mallopt.3:258 msgid "" "Modifying B is a trade-off between increasing the number of " "system calls (when the parameter is set low) and wasting unused memory at " @@ -3514,18 +3798,18 @@ msgstr "" #. DEFAULT_TOP_PAD in glibc source #. type: Plain text -#: build/C/man3/mallopt.3:259 +#: build/C/man3/mallopt.3:261 msgid "The default value for this parameter is 128*1024." msgstr "" #. type: TP -#: build/C/man3/mallopt.3:259 +#: build/C/man3/mallopt.3:261 #, no-wrap msgid "B" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:275 +#: build/C/man3/mallopt.3:277 msgid "" "When the amount of contiguous free memory at the top of the heap grows " "sufficiently large, B(3) employs B(2) to release this memory " @@ -3536,7 +3820,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:280 +#: build/C/man3/mallopt.3:282 msgid "" "The default value for this parameter is 128*1024. Setting " "B to -1 disables trimming completely." @@ -3558,7 +3842,7 @@ msgstr "" #. These macros aren't enabled in production releases until 2.15? #. (see glibc malloc/Makefile) #. type: Plain text -#: build/C/man3/mallopt.3:303 +#: build/C/man3/mallopt.3:305 msgid "" "Modifying B is a trade-off between increasing the number " "of system calls (when the parameter is set low) and wasting unused memory " @@ -3566,13 +3850,13 @@ msgid "" msgstr "" #. type: SS -#: build/C/man3/mallopt.3:303 +#: build/C/man3/mallopt.3:305 #, no-wrap -msgid "Environment Variables" -msgstr "" +msgid "Environment variables" +msgstr "環境変数" #. type: Plain text -#: build/C/man3/mallopt.3:318 +#: build/C/man3/mallopt.3:320 msgid "" "A number of environment variables can be defined to modify some of the same " "parameters as are controlled by B(). Using these variables has the " @@ -3584,14 +3868,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:321 +#: build/C/man3/mallopt.3:323 msgid "" "The environment variables are as follows (note the trailing underscore at " "the end of the name of each variable):" msgstr "" #. type: TP -#: build/C/man3/mallopt.3:321 +#: build/C/man3/mallopt.3:323 #, no-wrap msgid "B" msgstr "B" @@ -3599,7 +3883,7 @@ msgstr "B" #. On glibc 2.12/x86, a simple malloc()+free() loop is about 70% slower #. when MALLOC_CHECK_ was set. #. type: Plain text -#: build/C/man3/mallopt.3:338 +#: build/C/man3/mallopt.3:340 msgid "" "This environment variable controls the same parameter as B() " "B. If this variable is set to a nonzero value, then a " @@ -3611,7 +3895,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:343 +#: build/C/man3/mallopt.3:345 msgid "" "The value assigned to this environment variable should be a single digit, " "whose meaning is as described for B. Any characters beyond " @@ -3619,7 +3903,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:352 +#: build/C/man3/mallopt.3:354 msgid "" "For security reasons, the effect of B is disabled by default " "for set-user-ID and set-group-ID programs. However, if the file I" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:357 +#: build/C/man3/mallopt.3:359 msgid "Controls the same parameter as B() B." msgstr "" #. type: TP -#: build/C/man3/mallopt.3:357 +#: build/C/man3/mallopt.3:359 #, no-wrap msgid "B" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:362 +#: build/C/man3/mallopt.3:364 msgid "Controls the same parameter as B() B." msgstr "" #. type: TP -#: build/C/man3/mallopt.3:362 +#: build/C/man3/mallopt.3:364 #, no-wrap msgid "B" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:367 +#: build/C/man3/mallopt.3:369 msgid "Controls the same parameter as B() B." msgstr "" #. type: TP -#: build/C/man3/mallopt.3:367 +#: build/C/man3/mallopt.3:369 #, no-wrap msgid "B" -msgstr "" +msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:372 +#: build/C/man3/mallopt.3:374 msgid "Controls the same parameter as B() B." msgstr "" #. type: TP -#: build/C/man3/mallopt.3:372 +#: build/C/man3/mallopt.3:374 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mallopt.3:377 +#: build/C/man3/mallopt.3:379 msgid "Controls the same parameter as B() B." msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:382 +#: build/C/man3/mallopt.3:384 msgid "On success, B() returns 1. On error, it returns 0." msgstr "B() は成功すると 1 を返す。エラーの場合は 0 を返す。" #. .SH VERSIONS #. Available already in glibc 2.0, possibly earlier #. type: Plain text -#: build/C/man3/mallopt.3:390 +#: build/C/man3/mallopt.3:392 msgid "On error, I is I set." msgstr "エラーの場合、I は設定I<されない>。" #. .SH NOTES #. type: Plain text -#: build/C/man3/mallopt.3:404 +#: build/C/man3/mallopt.3:406 msgid "" "This function is not specified by POSIX or the C standards. A similar " "function exists on many System V derivatives, but the range of values for " @@ -3706,7 +3990,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:408 +#: build/C/man3/mallopt.3:410 msgid "Specifying an invalid value for I does not generate an error." msgstr "" @@ -3716,21 +4000,21 @@ msgstr "" #. (req) + SIZE_SZ + MALLOC_ALIGN_MASK) & ~MALLOC_ALIGN_MASK #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=12129 #. type: Plain text -#: build/C/man3/mallopt.3:416 +#: build/C/man3/mallopt.3:418 msgid "" "A calculation error within the glibc implementation means that a call of the " "form:" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:419 +#: build/C/man3/mallopt.3:421 #, no-wrap msgid " mallopt(M_MXFAST, n)\n" -msgstr "" +msgstr " mallopt(M_MXFAST, n)\n" #. Bins are multiples of 2 * sizeof(size_t) + sizeof(size_t) #. type: Plain text -#: build/C/man3/mallopt.3:431 +#: build/C/man3/mallopt.3:433 msgid "" "does not result in fastbins being employed for all allocations of size up to " "I. To ensure desired results, I should be rounded up to the next " @@ -3743,7 +4027,7 @@ msgstr "" #. set-group-ID programs). #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=12155 #. type: Plain text -#: build/C/man3/mallopt.3:443 +#: build/C/man3/mallopt.3:445 msgid "" "The B and B variables are I " "ignored in set-group-ID programs." @@ -3751,7 +4035,7 @@ msgstr "" #. FIXME http://sources.redhat.com/bugzilla/show_bug.cgi?id=12140 #. type: Plain text -#: build/C/man3/mallopt.3:464 +#: build/C/man3/mallopt.3:466 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 " @@ -3763,7 +4047,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:473 +#: build/C/man3/mallopt.3:475 msgid "" "The program below demonstrates the use of B. If the program " "is supplied with an (integer) command-line argument, then that argument is " @@ -3772,14 +4056,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:477 +#: build/C/man3/mallopt.3:479 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:497 +#: build/C/man3/mallopt.3:499 #, no-wrap msgid "" "$ B<./a.out>\n" @@ -3799,17 +4083,34 @@ msgid "" "b7814000-b7817000 rw-p 00000000 00:00 0\n" "bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n" "Aborted (core dumped)\n" -msgstr "" +msgstr "" +"$ B<./a.out>\n" +"main(): returned from first free() call\n" +"*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 ***\n" +"======= Backtrace: =========\n" +"/lib/libc.so.6(+0x6c501)[0x523501]\n" +"/lib/libc.so.6(+0x6dd70)[0x524d70]\n" +"/lib/libc.so.6(cfree+0x6d)[0x527e5d]\n" +"\\&./a.out[0x80485db]\n" +"/lib/libc.so.6(__libc_start_main+0xe7)[0x4cdce7]\n" +"\\&./a.out[0x8048471]\n" +"======= Memory map: ========\n" +"001e4000-001fe000 r-xp 00000000 08:06 1083555 /lib/libgcc_s.so.1\n" +"001fe000-001ff000 r--p 00019000 08:06 1083555 /lib/libgcc_s.so.1\n" +"[some lines omitted]\n" +"b7814000-b7817000 rw-p 00000000 00:00 0\n" +"bff53000-bff74000 rw-p 00000000 00:00 0 [stack]\n" +"Aborted (core dumped)\n" #. type: Plain text -#: build/C/man3/mallopt.3:502 +#: build/C/man3/mallopt.3:504 msgid "" "The following runs show the results when employing other values for " "B:" msgstr "" #. type: Plain text -#: build/C/man3/mallopt.3:515 +#: build/C/man3/mallopt.3:517 #, no-wrap msgid "" "$ B<./a.out 1> # Diagnose error and continue\n" @@ -3823,16 +4124,26 @@ msgid "" "main(): returned from first free() call\n" "main(): returned from second free() call\n" msgstr "" +"$ B<./a.out 1> # Diagnose error and continue\n" +"main(): returned from first free() call\n" +"*** glibc detected *** ./a.out: double free or corruption (top): 0x09cbe008 ***\n" +"main(): returned from second free() call\n" +"$ B<./a.out 2> # Abort without error message\n" +"main(): returned from first free() call\n" +"Aborted (core dumped)\n" +"$ B<./a.out 0> # Ignore error and continue\n" +"main(): returned from first free() call\n" +"main(): returned from second free() call\n" #. type: Plain text -#: build/C/man3/mallopt.3:521 +#: build/C/man3/mallopt.3:523 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:528 +#: build/C/man3/mallopt.3:530 #, no-wrap msgid "" "$ B\n" @@ -3840,9 +4151,13 @@ msgid "" "*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n" "main(): returned from second free() call\n" msgstr "" +"$ B\n" +"main(): returned from first free() call\n" +"*** glibc detected *** ./a.out: free(): invalid pointer: 0x092c2008 ***\n" +"main(): returned from second free() call\n" #. type: Plain text -#: build/C/man3/mallopt.3:536 +#: build/C/man3/mallopt.3:538 #, no-wrap msgid "" "#include Emalloc.hE\n" @@ -3854,7 +4169,7 @@ msgstr "" "#include Estdlib.hE\n" #. type: Plain text -#: build/C/man3/mallopt.3:541 build/C/man3/mcheck.3:187 +#: build/C/man3/mallopt.3:543 build/C/man3/mcheck.3:187 #, no-wrap msgid "" "int\n" @@ -3868,13 +4183,8 @@ msgstr "" " char *p;\n" #. type: Plain text -#: build/C/man3/mallopt.3:548 -#, fuzzy, no-wrap -#| msgid "" -#| " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n" -#| " fprintf(stderr, \"mallopt() failed\");\n" -#| " exit(EXIT_FAILURE);\n" -#| " }\n" +#: build/C/man3/mallopt.3:550 +#, no-wrap msgid "" " if (argc E 1) {\n" " if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n" @@ -3883,13 +4193,15 @@ msgid "" " }\n" " }\n" msgstr "" -" if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n" -" fprintf(stderr, \"mallopt() failed\");\n" -" exit(EXIT_FAILURE);\n" +" if (argc E 1) {\n" +" if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n" +" fprintf(stderr, \"mallopt() failed\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" " }\n" #. type: Plain text -#: build/C/man3/mallopt.3:554 +#: build/C/man3/mallopt.3:556 #, no-wrap msgid "" " p = malloc(1000);\n" @@ -3905,7 +4217,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/mallopt.3:557 +#: build/C/man3/mallopt.3:559 #, no-wrap msgid "" " free(p);\n" @@ -3915,7 +4227,7 @@ msgstr "" " printf(\"main(): returned from first free() call\\en\");\n" #. type: Plain text -#: build/C/man3/mallopt.3:560 +#: build/C/man3/mallopt.3:562 #, no-wrap msgid "" " free(p);\n" @@ -3925,70 +4237,67 @@ msgstr "" " printf(\"main(): returned from second free() call\\en\");\n" #. type: Plain text -#: build/C/man3/mallopt.3:578 -#, fuzzy -#| msgid "" -#| "B(2) B(2), B(3), B(3), B(3), " -#| "B(3), B(3), B(3), B(3)" +#: build/C/man3/mallopt.3:580 msgid "" -"B(2) B(2), B(3), B(3), B(3), " +"B(2), B(2), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), " "B(3), B(3)" msgstr "" -"B(2) B(2), B(3), B(3),\n" -"B(3), B(3), B(3), B(3),\n" -"B(3)" +"B(2), B(2), B(3), B(3), B(3), " +"B(3), B(3), B(3), B(3), " +"B(3), B(3)" #. type: TH -#: build/C/man3/mcheck.3:23 +#: build/C/man3/mcheck.3:25 #, no-wrap msgid "MCHECK" -msgstr "" +msgstr "MCHECK" #. type: TH -#: build/C/man3/mcheck.3:23 build/C/man3/mtrace.3:23 -#, no-wrap -msgid "2012-04-18" -msgstr "2012-04-18" +#: build/C/man3/mcheck.3:25 +#, fuzzy, no-wrap +#| msgid "2013-04-01" +msgid "2014-01-11" +msgstr "2013-04-01" #. type: Plain text -#: build/C/man3/mcheck.3:26 +#: build/C/man3/mcheck.3:28 msgid "" "mcheck, mcheck_check_all, mcheck_pedantic, mprobe - heap consistency checking" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:29 +#: build/C/man3/mcheck.3:31 #, no-wrap msgid "B<#include Emcheck.hE>\n" msgstr "B<#include Emcheck.hE>\n" #. type: Plain text -#: build/C/man3/mcheck.3:31 +#: build/C/man3/mcheck.3:33 #, no-wrap msgid "BIB<)(enum mcheck_status >IB<));>\n" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:33 +#: build/C/man3/mcheck.3:35 #, no-wrap msgid "BIB<)(enum mcheck_status >IB<));>\n" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:35 +#: build/C/man3/mcheck.3:37 #, no-wrap msgid "B\n" msgstr "B\n" #. type: Plain text -#: build/C/man3/mcheck.3:37 +#: build/C/man3/mcheck.3:39 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/mcheck.3:50 +#: 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 " @@ -3999,17 +4308,17 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:62 +#: build/C/man3/mcheck.3:63 msgid "" "To be effective, the B() function must be called before the first " "call to B(3) or a related function. In cases where this is " -"difficult to ensure, linking the program with I<-mcheck> inserts an implicit " -"call to B() (with a NULL argument) before the first call to a " -"memory-allocation function." +"difficult to ensure, linking the program with I<-lmcheck> inserts an " +"implicit call to B() (with a NULL argument) before the first call " +"to a memory-allocation function." msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:70 +#: build/C/man3/mcheck.3:71 msgid "" "The B() function is similar to B(), but performs " "checks on all allocated blocks whenever one of the memory-allocation " @@ -4017,15 +4326,15 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:77 +#: build/C/man3/mcheck.3:78 msgid "" "The B() function causes an immediate check on all " -"allocated blocks. This call is only effective if B() is called " +"allocated blocks. This call is effective only if B() is called " "beforehand." msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:90 +#: build/C/man3/mcheck.3:91 msgid "" "If the system detects an inconsistency in the heap, the caller-supplied " "function pointed to by I is invoked with a single argument " @@ -4035,7 +4344,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:102 +#: build/C/man3/mcheck.3:103 msgid "" "The B() function performs a consistency check on the block of " "allocated memory pointed to by I. The B() function should be " @@ -4043,86 +4352,86 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:110 +#: build/C/man3/mcheck.3:111 msgid "" "The following list describes the values returned by B() or passed " "as the I argument when I is invoked:" msgstr "" #. type: TP -#: build/C/man3/mcheck.3:110 +#: build/C/man3/mcheck.3:111 #, no-wrap msgid "B (B() only)" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:115 +#: build/C/man3/mcheck.3:116 msgid "" "B() was not called before the first memory allocation function was " "called. Consistency checking is not possible." msgstr "" #. type: TP -#: build/C/man3/mcheck.3:115 +#: build/C/man3/mcheck.3:116 #, no-wrap msgid "B (B() only)" msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:118 +#: build/C/man3/mcheck.3:119 msgid "No inconsistency detected." msgstr "" #. type: TP -#: build/C/man3/mcheck.3:118 +#: build/C/man3/mcheck.3:119 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mcheck.3:121 +#: build/C/man3/mcheck.3:122 msgid "Memory preceding an allocated block was clobbered." msgstr "" #. type: TP -#: build/C/man3/mcheck.3:121 +#: build/C/man3/mcheck.3:122 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mcheck.3:124 +#: build/C/man3/mcheck.3:125 msgid "Memory following an allocated block was clobbered." msgstr "" #. type: TP -#: build/C/man3/mcheck.3:124 +#: build/C/man3/mcheck.3:125 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mcheck.3:128 +#: build/C/man3/mcheck.3:129 msgid "A block of memory was freed twice." msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:133 +#: build/C/man3/mcheck.3:134 msgid "" "B() and B() return 0 on success, or -1 on error." msgstr "" #. type: Plain text -#: build/C/man3/mcheck.3:144 +#: build/C/man3/mcheck.3:145 msgid "" "The B() and B() functions are available " -"since glibc 2.2. The B and B functions are present " +"since glibc 2.2. The B() and B() functions are present " "since at least glibc 2.0" msgstr "" #. But is MALLOC_CHECK_ slower? #. type: Plain text -#: build/C/man3/mcheck.3:158 +#: build/C/man3/mcheck.3:159 msgid "" "Linking a program with I<-lmcheck> and using the B " "environment variable (described in B(3)) cause the same kinds of " @@ -4201,40 +4510,37 @@ msgid "" " free(p);\n" msgstr "" -#. FIXME add SEE ALSO pointer from malloc(3) to here -#. FIXME add SEE ALSO pointer from mallopt(3) to here -#. FIXME add SEE ALSO pointer from mtrace(3) to here #. type: Plain text -#: build/C/man3/mcheck.3:211 +#: build/C/man3/mcheck.3:208 msgid "B(3), B(3), B(3)" msgstr "B(3), B(3), B(3)" #. type: TH -#: build/C/man2/mlock.2:27 +#: build/C/man2/mlock.2:26 #, no-wrap msgid "MLOCK" msgstr "MLOCK" #. type: TH -#: build/C/man2/mlock.2:27 +#: build/C/man2/mlock.2:26 #, no-wrap msgid "2011-09-14" msgstr "2011-09-14" #. type: Plain text -#: build/C/man2/mlock.2:30 +#: build/C/man2/mlock.2:29 msgid "mlock, munlock, mlockall, munlockall - lock and unlock memory" msgstr "mlock - メモリのロックとロック解除を行う" #. type: Plain text -#: build/C/man2/mlock.2:33 build/C/man2/mmap.2:46 build/C/man2/mmap2.2:35 -#: build/C/man2/mprotect.2:38 build/C/man2/mremap.2:39 +#: 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 #, no-wrap msgid "B<#include Esys/mman.hE>\n" msgstr "B<#include Esys/mman.hE>\n" #. type: Plain text -#: build/C/man2/mlock.2:36 +#: build/C/man2/mlock.2:35 #, no-wrap msgid "" "BIB<, size_t >IB<);>\n" @@ -4244,7 +4550,7 @@ msgstr "" "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man2/mlock.2:39 +#: build/C/man2/mlock.2:38 #, no-wrap msgid "" "BIB<);>\n" @@ -4254,7 +4560,7 @@ msgstr "" "B\n" #. type: Plain text -#: build/C/man2/mlock.2:55 +#: build/C/man2/mlock.2:54 msgid "" "B() and B() respectively lock part or all of the calling " "process's virtual address space into RAM, preventing that memory from being " @@ -4274,13 +4580,13 @@ msgstr "" "る。" #. type: SS -#: build/C/man2/mlock.2:55 +#: build/C/man2/mlock.2:54 #, no-wrap msgid "mlock() and munlock()" msgstr "mlock() と munlock()" #. type: Plain text -#: build/C/man2/mlock.2:65 +#: build/C/man2/mlock.2:64 msgid "" "B() locks pages in the address range starting at I and " "continuing for I bytes. All pages that contain a part of the specified " @@ -4293,7 +4599,7 @@ msgstr "" "れるまで RAM に残り続けることが保証される。" #. type: Plain text -#: build/C/man2/mlock.2:74 +#: build/C/man2/mlock.2:73 msgid "" "B() unlocks pages in the address range starting at I and " "continuing for I bytes. After this call, all pages that contain a part " @@ -4305,13 +4611,13 @@ msgstr "" "囲を含む 全てのページを外部のスワップ空間に移動できるようになる。" #. type: SS -#: build/C/man2/mlock.2:74 +#: build/C/man2/mlock.2:73 #, no-wrap msgid "mlockall() and munlockall()" msgstr "mlockall() と munlockall()" #. type: Plain text -#: build/C/man2/mlock.2:84 +#: build/C/man2/mlock.2:83 msgid "" "B() locks all pages mapped into the address space of the calling " "process. This includes the pages of the code, data and stack segment, as " @@ -4328,20 +4634,20 @@ msgstr "" "残り続けることが保証される。" #. type: Plain text -#: build/C/man2/mlock.2:89 +#: build/C/man2/mlock.2:88 msgid "" "The I argument is constructed as the bitwise OR of one or more of the " "following constants:" msgstr "I 引数は以下の内容の一つまたは複数のビット OR から構成される:" #. type: TP -#: build/C/man2/mlock.2:89 +#: build/C/man2/mlock.2:88 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mlock.2:93 +#: build/C/man2/mlock.2:92 msgid "" "Lock all pages which are currently mapped into the address space of the " "process." @@ -4349,17 +4655,23 @@ msgstr "" "現在、プロセスのアドレス空間にマップされている全てのページをロックする。" #. type: TP -#: build/C/man2/mlock.2:93 +#: build/C/man2/mlock.2:92 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mlock.2:100 +#: build/C/man2/mlock.2:99 +#, fuzzy +#| msgid "" +#| "Lock all pages which will become mapped into the address space of the " +#| "process in the future. These could be for instance new pages required by " +#| "a growing heap and stack as well as new memory mapped files or shared " +#| "memory regions." msgid "" "Lock all pages which will become mapped into the address space of the " "process in the future. These could be for instance new pages required by a " -"growing heap and stack as well as new memory mapped files or shared memory " +"growing heap and stack as well as new memory-mapped files or shared memory " "regions." msgstr "" "将来、プロセスのアドレス空間にマップされる全てのページをロックする。 例えば、" @@ -4367,7 +4679,7 @@ msgstr "" "くメモリマップされたファイルや共有メモリ領域もロックされる。" #. type: Plain text -#: build/C/man2/mlock.2:113 +#: 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 " @@ -4382,7 +4694,7 @@ msgstr "" "スに送る。" #. type: Plain text -#: build/C/man2/mlock.2:117 +#: build/C/man2/mlock.2:116 msgid "" "B() unlocks all pages mapped into the address space of the " "calling process." @@ -4391,7 +4703,7 @@ msgstr "" "全てのページをロック解除する。" #. type: Plain text -#: build/C/man2/mlock.2:123 +#: build/C/man2/mlock.2:122 msgid "" "On success these system calls return 0. On error, -1 is returned, I " "is set appropriately, and no changes are made to any locks in the address " @@ -4402,7 +4714,7 @@ msgstr "" "れない。" #. type: Plain text -#: build/C/man2/mlock.2:132 +#: build/C/man2/mlock.2:131 msgid "" "(Linux 2.6.9 and later) the caller had a nonzero B soft " "resource limit, but tried to lock more memory than the limit permitted. " @@ -4421,7 +4733,7 @@ msgstr "" #. calculates that the process is trying to lock (num_physpages / 2 + 2) #. pages, which of course is not true. (MTK, Nov 04, kernel 2.4.28) #. type: Plain text -#: build/C/man2/mlock.2:144 +#: build/C/man2/mlock.2:143 msgid "" "(Linux 2.4 and earlier) the calling process tried to lock more than half of " "RAM." @@ -4430,7 +4742,7 @@ msgstr "" #. SVr4 documents an additional EAGAIN error code. #. type: Plain text -#: build/C/man2/mlock.2:150 +#: build/C/man2/mlock.2:149 msgid "" "The caller is not privileged, but needs privilege (B) to " "perform the requested operation." @@ -4439,17 +4751,17 @@ msgstr "" "要求された操作を実行するには特権 (B) が必要である。" #. type: Plain text -#: build/C/man2/mlock.2:155 +#: build/C/man2/mlock.2:154 msgid "For B() and B():" msgstr "B() と B() 用として:" #. type: Plain text -#: build/C/man2/mlock.2:158 +#: build/C/man2/mlock.2:157 msgid "Some or all of the specified address range could not be locked." msgstr "指定されたアドレス範囲の一部または全てをロックすることができなかった。" #. type: Plain text -#: build/C/man2/mlock.2:165 +#: build/C/man2/mlock.2:164 msgid "" "The result of the addition I+I was less than I (e.g., the " "addition may have resulted in an overflow)." @@ -4458,13 +4770,13 @@ msgstr "" "(例えば、加算でオーバーフローが発生したなど)。" #. type: Plain text -#: build/C/man2/mlock.2:170 +#: build/C/man2/mlock.2:169 msgid "(Not on Linux) I was not a multiple of the page size." msgstr "" "(Linux ではこの意味で使われない) I がページサイズの倍数ではない。" #. type: Plain text -#: build/C/man2/mlock.2:174 +#: build/C/man2/mlock.2:173 msgid "" "Some of the specified address range does not correspond to mapped pages in " "the address space of the process." @@ -4473,40 +4785,40 @@ msgstr "" "い。" #. type: Plain text -#: build/C/man2/mlock.2:177 +#: build/C/man2/mlock.2:176 msgid "For B():" msgstr "B() 用として:" #. type: Plain text -#: build/C/man2/mlock.2:180 +#: build/C/man2/mlock.2:179 msgid "Unknown I were specified." msgstr "未知の I が指定された。" #. type: Plain text -#: build/C/man2/mlock.2:183 +#: build/C/man2/mlock.2:182 msgid "For B():" msgstr "B() 用として:" #. type: Plain text -#: build/C/man2/mlock.2:187 +#: build/C/man2/mlock.2:186 msgid "" "(Linux 2.6.8 and earlier) The caller was not privileged (B)." msgstr "" "(Linux 2.6.8 以前) 呼び出し元が権限 (B) を持っていない。" #. type: Plain text -#: build/C/man2/mlock.2:189 +#: build/C/man2/mlock.2:188 msgid "POSIX.1-2001, SVr4." msgstr "POSIX.1-2001, SVr4." #. type: SH -#: build/C/man2/mlock.2:189 build/C/man2/mmap.2:487 build/C/man2/msync.2:105 +#: build/C/man2/mlock.2:188 build/C/man2/mmap.2:501 build/C/man2/msync.2:105 #, no-wrap msgid "AVAILABILITY" msgstr "可用性" #. type: Plain text -#: build/C/man2/mlock.2:201 +#: build/C/man2/mlock.2:200 msgid "" "On POSIX systems on which B() and B() are available, " "B<_POSIX_MEMLOCK_RANGE> is defined in Iunistd.hE> and the number " @@ -4523,7 +4835,7 @@ msgstr "" #. -1: unavailable, 0: ask using sysconf(). #. glibc defines it to 1. #. type: Plain text -#: build/C/man2/mlock.2:214 +#: build/C/man2/mlock.2:213 msgid "" "On POSIX systems on which B() and B() are available, " "B<_POSIX_MEMLOCK> is defined in Iunistd.hE> to a value greater " @@ -4534,7 +4846,7 @@ msgstr "" "(B(3) も参照のこと)。" #. type: Plain text -#: build/C/man2/mlock.2:232 +#: build/C/man2/mlock.2:231 msgid "" "Memory locking has two main applications: real-time algorithms and high-" "security data processing. Real-time applications require deterministic " @@ -4563,7 +4875,7 @@ msgstr "" "存することに注意)。" #. type: Plain text -#: build/C/man2/mlock.2:245 +#: build/C/man2/mlock.2:244 msgid "" "Real-time processes that are using B() to prevent delays on page " "faults should reserve enough locked stack pages before entering the time-" @@ -4585,7 +4897,7 @@ msgstr "" "書き込み時コピーによる ページフォールトさえも発生しないことが保証される。" #. type: Plain text -#: build/C/man2/mlock.2:251 +#: build/C/man2/mlock.2:250 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 " @@ -4596,7 +4908,7 @@ msgstr "" "れる)。" #. type: Plain text -#: build/C/man2/mlock.2:255 +#: build/C/man2/mlock.2:254 msgid "" "The memory lock on an address range is automatically removed if the address " "range is unmapped via B(2)." @@ -4605,7 +4917,7 @@ msgstr "" "よってアンマップされた場合は削除される。" #. type: Plain text -#: build/C/man2/mlock.2:268 +#: build/C/man2/mlock.2:267 msgid "" "Memory locks do not stack, that is, pages which have been locked several " "times by calls to B() or B() will be unlocked by a single " @@ -4621,7 +4933,7 @@ msgstr "" "のプロセスでロックされている限りは RAM に残り続ける。" #. type: Plain text -#: build/C/man2/mlock.2:279 +#: build/C/man2/mlock.2:278 msgid "" "Under Linux, B() and B() automatically round I down " "to the nearest page boundary. However, POSIX.1-2001 allows an " @@ -4634,7 +4946,7 @@ msgstr "" "ケーションではきちんと境界に合わせた方が良い。" #. type: Plain text -#: build/C/man2/mlock.2:292 +#: build/C/man2/mlock.2:291 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" @@ -4646,13 +4958,13 @@ msgstr "" "表示される。" #. type: SS -#: build/C/man2/mlock.2:292 +#: build/C/man2/mlock.2:291 #, no-wrap msgid "Limits and permissions" msgstr "制限と権限" #. type: Plain text -#: build/C/man2/mlock.2:299 +#: build/C/man2/mlock.2:298 msgid "" "In Linux 2.6.8 and earlier, a process must be privileged (B) " "in order to lock memory and the B soft resource limit " @@ -4663,7 +4975,7 @@ msgstr "" "できるかの制限を定義する。" #. type: Plain text -#: build/C/man2/mlock.2:305 +#: build/C/man2/mlock.2:304 msgid "" "Since Linux 2.6.9, no limits are placed on the amount of memory that a " "privileged process can lock and the B soft resource limit " @@ -4674,7 +4986,7 @@ msgstr "" "クできるメモリ量の制限を定義する。" #. type: Plain text -#: build/C/man2/mlock.2:313 +#: build/C/man2/mlock.2:312 msgid "" "In the 2.4 series Linux kernels up to and including 2.4.17, a bug caused the " "B() B flag to be inherited across a B(2). This " @@ -4689,7 +5001,7 @@ msgstr "" #. "Rationale for RLIMIT_MEMLOCK" #. 23 Jan 2006 #. type: Plain text -#: build/C/man2/mlock.2:330 +#: build/C/man2/mlock.2:329 msgid "" "Since kernel 2.6.9, if a privileged process calls I " "and later drops privileges (loses the B capability by, for " @@ -4704,7 +5016,7 @@ msgstr "" "B(2)) は失敗する。" #. type: Plain text -#: build/C/man2/mlock.2:337 +#: build/C/man2/mlock.2:336 msgid "" "B(2), B(2), B(2), B(3), B(5), " "B(7)" @@ -4719,10 +5031,11 @@ msgid "MMAP" msgstr "MMAP" #. type: TH -#: build/C/man2/mmap.2:40 build/C/man2/mmap2.2:29 -#, no-wrap -msgid "2012-04-16" -msgstr "2012-04-16" +#: build/C/man2/mmap.2:40 build/C/man2/mprotect.2:38 +#, fuzzy, no-wrap +#| msgid "2013-04-01" +msgid "2014-01-05" +msgstr "2013-04-01" #. type: Plain text #: build/C/man2/mmap.2:43 @@ -4742,7 +5055,12 @@ msgstr "" "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man2/mmap.2:61 +#: build/C/man2/mmap.2:54 +msgid "See NOTES for information on feature test macro requirements." +msgstr "機能検査マクロの要件に関する情報は「注意」の節を参照。" + +#. type: Plain text +#: build/C/man2/mmap.2:63 msgid "" "B() creates a new mapping in the virtual address space of the calling " "process. The starting address for the new mapping is specified in I. " @@ -4755,7 +5073,7 @@ msgstr "" #. Before Linux 2.6.24, the address was rounded up to the next page #. boundary; since 2.6.24, it is rounded down! #. type: Plain text -#: build/C/man2/mmap.2:75 +#: build/C/man2/mmap.2:77 msgid "" "If I is NULL, then the kernel chooses the address at which to create " "the mapping; this is the most portable method of creating a new mapping. If " @@ -4771,7 +5089,7 @@ msgstr "" "ングのアドレスは、呼び出しの返り値として返される。" #. type: Plain text -#: build/C/man2/mmap.2:87 +#: build/C/man2/mmap.2:89 msgid "" "The contents of a file mapping (as opposed to an anonymous mapping; see " "B below), are initialized using I bytes starting at " @@ -4786,7 +5104,7 @@ msgstr "" "(_SC_PAGE_SIZE)> が返すページサイズの倍数でなければならない。" #. type: Plain text -#: build/C/man2/mmap.2:95 +#: build/C/man2/mmap.2:97 msgid "" "The I argument describes the desired memory protection of the mapping " "(and must not conflict with the open mode of the file). It is either " @@ -4797,51 +5115,51 @@ msgstr "" "か、以下のフラグをひとつ以上ビット毎の論理和 (OR) をとったものを 指定できる。" #. type: TP -#: build/C/man2/mmap.2:95 build/C/man2/mprotect.2:67 +#: build/C/man2/mmap.2:97 build/C/man2/mprotect.2:73 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:98 +#: build/C/man2/mmap.2:100 msgid "Pages may be executed." msgstr "ページは実行可能である。" #. type: TP -#: build/C/man2/mmap.2:98 build/C/man2/mprotect.2:61 +#: build/C/man2/mmap.2:100 build/C/man2/mprotect.2:67 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:101 +#: build/C/man2/mmap.2:103 msgid "Pages may be read." msgstr "ページは読み込み可能である。" #. type: TP -#: build/C/man2/mmap.2:101 build/C/man2/mprotect.2:64 +#: build/C/man2/mmap.2:103 build/C/man2/mprotect.2:70 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:104 +#: build/C/man2/mmap.2:106 msgid "Pages may be written." msgstr "ページに書き込み可能である。" #. type: TP -#: build/C/man2/mmap.2:104 build/C/man2/mprotect.2:58 +#: build/C/man2/mmap.2:106 build/C/man2/mprotect.2:64 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:107 +#: build/C/man2/mmap.2:109 msgid "Pages may not be accessed." msgstr "ページにはアクセスできない。" #. type: Plain text -#: build/C/man2/mmap.2:116 +#: build/C/man2/mmap.2:118 msgid "" "The I argument determines whether updates to the mapping are visible " "to other processes mapping the same region, and whether updates are carried " @@ -4854,13 +5172,13 @@ msgstr "" "I に含めることで指定する。" #. type: TP -#: build/C/man2/mmap.2:116 +#: build/C/man2/mmap.2:118 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:126 +#: build/C/man2/mmap.2:128 msgid "" "Share this mapping. Updates to the mapping are visible to other processes " "that map this file, and are carried through to the underlying file. The " @@ -4873,13 +5191,13 @@ msgstr "" "るまで行われないこともある。" #. type: TP -#: build/C/man2/mmap.2:126 +#: build/C/man2/mmap.2:128 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:135 +#: build/C/man2/mmap.2:137 msgid "" "Create a private copy-on-write mapping. Updates to the mapping are not " "visible to other processes mapping the same file, and are not carried " @@ -4893,12 +5211,12 @@ msgstr "" "かは規定されていない。" #. type: Plain text -#: build/C/man2/mmap.2:137 +#: build/C/man2/mmap.2:139 msgid "Both of these flags are described in POSIX.1-2001." msgstr "上記の二つのフラグは POSIX.1-2001 で規定されている。" #. type: Plain text -#: build/C/man2/mmap.2:140 +#: build/C/man2/mmap.2:142 msgid "" "In addition, zero or more of the following values can be ORed in I:" msgstr "" @@ -4906,17 +5224,17 @@ msgstr "" "ことができる。" #. type: TP -#: build/C/man2/mmap.2:140 +#: build/C/man2/mmap.2:142 #, no-wrap msgid "B (since Linux 2.4.20, 2.6)" msgstr "B (Linux 2.4.20, 2.6 以降)" #. See http://lwn.net/Articles/294642 "Tangled up in threads", 19 Aug 08 #. type: Plain text -#: build/C/man2/mmap.2:156 +#: build/C/man2/mmap.2:158 msgid "" "Put the mapping into the first 2 Gigabytes of the process address space. " -"This flag is only supported on x86-64, for 64-bit programs. It was added to " +"This flag is supported only on x86-64, for 64-bit programs. It was added to " "allow thread stacks to be allocated somewhere in the first 2GB of memory, so " "as to improve context-switch performance on some early 64-bit processors. " "Modern x86-64 processors no longer have this performance problem, so use of " @@ -4933,31 +5251,31 @@ msgstr "" "グは無視される。" #. type: TP -#: build/C/man2/mmap.2:156 +#: build/C/man2/mmap.2:158 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:161 +#: build/C/man2/mmap.2:163 msgid "Synonym for B. Deprecated." msgstr "B の同義語。非推奨。" #. type: TP -#: build/C/man2/mmap.2:161 +#: build/C/man2/mmap.2:163 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:183 +#: build/C/man2/mmap.2:185 msgid "" "The mapping is not backed by any file; its contents are initialized to " "zero. The I and I arguments are ignored; however, some " "implementations require I to be -1 if B (or B) " "is specified, and portable applications should ensure this. The use of " -"B in conjunction with B is only supported on " -"Linux since kernel 2.4." +"B in conjunction with B is supported on Linux " +"only since kernel 2.4." msgstr "" "マッピングはどのファイルとも関連付けされない。 マッピングの内容は 0 で初期化" "される。 引き数 I と I は無視される。 ただし、実装によっては " @@ -4967,14 +5285,14 @@ msgstr "" "以降の Linux でのみサポートされている。" #. type: TP -#: build/C/man2/mmap.2:183 +#: build/C/man2/mmap.2:185 #, no-wrap msgid "B" msgstr "B" #. Introduced in 1.1.36, removed in 1.3.24. #. type: Plain text -#: build/C/man2/mmap.2:191 +#: build/C/man2/mmap.2:193 msgid "" "This flag is ignored. (Long ago, it signaled that attempts to write to the " "underlying file should fail with B. But this was a source of " @@ -4985,7 +5303,7 @@ msgstr "" "は denial-of-service (サービス拒否) 攻撃の原因となった)。" #. type: TP -#: build/C/man2/mmap.2:191 +#: build/C/man2/mmap.2:193 #, no-wrap msgid "B" msgstr "B" @@ -4996,12 +5314,12 @@ msgstr "B" #. Linus talked about DOS related to MAP_EXECUTABLE, but he was thinking of #. MAP_DENYWRITE? #. type: Plain text -#: build/C/man2/mmap.2:199 +#: build/C/man2/mmap.2:201 msgid "This flag is ignored." msgstr "このフラグは無視される。" #. type: TP -#: build/C/man2/mmap.2:199 +#: build/C/man2/mmap.2:201 #, no-wrap msgid "B" msgstr "B" @@ -5009,18 +5327,18 @@ msgstr "B" #. On some systems, this was required as the opposite of #. MAP_ANONYMOUS -- mtk, 1 May 2007 #. type: Plain text -#: build/C/man2/mmap.2:205 +#: build/C/man2/mmap.2:207 msgid "Compatibility flag. Ignored." msgstr "互換性のためのフラグ。無視される。" #. type: TP -#: build/C/man2/mmap.2:205 +#: build/C/man2/mmap.2:207 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:223 +#: build/C/man2/mmap.2:225 msgid "" "Don't interpret I as a hint: place the mapping at exactly that " "address. I must be a multiple of the page size. If the memory region " @@ -5039,13 +5357,13 @@ msgstr "" "を推奨する。" #. type: TP -#: build/C/man2/mmap.2:223 +#: build/C/man2/mmap.2:225 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:228 +#: build/C/man2/mmap.2:230 msgid "" "Used for stacks. Indicates to the kernel virtual memory system that the " "mapping should extend downward in memory." @@ -5055,29 +5373,29 @@ msgstr "" "る向きに行うが、 このオプションを指定すると逆向きにマッピングを行う)" #. type: TP -#: build/C/man2/mmap.2:228 +#: build/C/man2/mmap.2:230 #, no-wrap msgid "B (since Linux 2.6.32)" msgstr "B (Linux 2.6.32 以降)" #. type: Plain text -#: build/C/man2/mmap.2:234 +#: build/C/man2/mmap.2:236 msgid "" -"Allocate the mapping using \"huge pages.\" See the kernel source file " +"Allocate the mapping using \"huge pages.\" See the Linux kernel source file " "I for further information." msgstr "" -"\"huge page\" を使ってマッピングを割り当てる。 詳しい情報は、カーネル・ソース" -"の I を参照。" +"\"huge page\" を使ってマッピングを割り当てる。詳しい情報は、Linux カーネル" +"ソースの I を参照。" #. type: TP -#: build/C/man2/mmap.2:234 +#: build/C/man2/mmap.2:236 #, no-wrap msgid "B (since Linux 2.5.37)" msgstr "B (Linux 2.5.37 以降)" #. If set, the mapped pages will not be swapped out. #. type: Plain text -#: build/C/man2/mmap.2:240 +#: 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." @@ -5086,41 +5404,41 @@ msgstr "" "前のカーネルでは、このフラグは無視される。" #. type: TP -#: build/C/man2/mmap.2:240 +#: build/C/man2/mmap.2:242 #, no-wrap msgid "B (since Linux 2.5.46)" msgstr "B (Linux 2.5.46 以降)" #. type: Plain text -#: build/C/man2/mmap.2:255 +#: build/C/man2/mmap.2:257 msgid "" "Only meaningful in conjunction with B. Don't perform read-" -"ahead: only create page tables entries for pages that are already present in " +"ahead: create page tables entries only for pages that are already present in " "RAM. Since Linux 2.6.23, this flag causes B to do nothing. " "One day the combination of B and B may be " "reimplemented." msgstr "" "B と組み合わせた場合のみ意味を持つ。 read-ahead (前もって読み込" -"むこと) を実行しない。 単に、すでに RAM 上に存在するページに対して ページテー" -"ブルエントリを作成するだけである。 Linux 2.6.23 以降では、このフラグは " +"むこと) を実行しない。 単に、すでに RAM 上に存在するページに対してのみページ" +"テーブルエントリを作成する。 Linux 2.6.23 以降では、このフラグは " "B に何の影響も与えない。 いつか B と " "B を組み合わせた場合の動作は実装し直されるかもしれない。" #. type: TP -#: build/C/man2/mmap.2:255 +#: build/C/man2/mmap.2:257 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:270 +#: build/C/man2/mmap.2:272 msgid "" "Do not reserve swap space for this mapping. When swap space is reserved, " "one has the guarantee that it is possible to modify the mapping. When swap " "space is not reserved one might get B upon a write if no physical " "memory is available. See also the discussion of the file I in B(5). In kernels before 2.6, this flag only had " -"effect for private writable mappings." +"overcommit_memory> in B(5). In kernels before 2.6, this flag had " +"effect only for private writable mappings." msgstr "" "このマッピングに対するスワップ空間の予約を行わない。 スワップ空間を予約した場" "合は、このマッピングの変更が必ず可能なことが 保証される。予約を行わなかった場" @@ -5130,27 +5448,27 @@ msgstr "" "イベート・マッピングについてのみ効果があった。" #. type: TP -#: build/C/man2/mmap.2:270 +#: build/C/man2/mmap.2:272 #, no-wrap msgid "B (since Linux 2.5.46)" msgstr "B (Linux 2.5.46 以降)" #. type: Plain text -#: build/C/man2/mmap.2:277 +#: build/C/man2/mmap.2:279 msgid "" "Populate (prefault) page tables for a mapping. For a file mapping, this " "causes read-ahead on the file. Later accesses to the mapping will not be " -"blocked by page faults. B is only supported for private " -"mappings since Linux 2.6.23." +"blocked by page faults. B is supported for private mappings " +"only since Linux 2.6.23." msgstr "" "マッピング用のページテーブルを配置 (populate) する ファイルマッピングの場合に" "は、これによりファイルが先読み (read-ahead) が行われる。この以後は、マッピン" -"グに対するアクセスがページフォールトで ブロックされることがなくなる。 " -"B は Linux 2.6.23 以降でプライベート・マッピングについてのみ サ" -"ポートされている。" +"グに対するアクセスがページフォールトで ブロックされることがなくなる。 Linux " +"2.6.23 以降でのみプライベート・マッピングについて B がサポート" +"されている。" #. type: TP -#: build/C/man2/mmap.2:277 +#: build/C/man2/mmap.2:279 #, no-wrap msgid "B (since Linux 2.6.27)" msgstr "B (Linux 2.6.27 以降)" @@ -5161,7 +5479,7 @@ msgstr "B (Linux 2.6.27 以降)" #. "pthread_create() slow for many threads; also time to revisit 64b #. context switch optimization?" #. type: Plain text -#: build/C/man2/mmap.2:290 +#: build/C/man2/mmap.2:292 msgid "" "Allocate the mapping at an address suitable for a process or thread stack. " "This flag is currently a no-op, but is used in the glibc threading " @@ -5175,16 +5493,16 @@ msgstr "" "る。" #. type: TP -#: build/C/man2/mmap.2:290 +#: build/C/man2/mmap.2:292 #, no-wrap msgid "B (since Linux 2.6.33)" msgstr "B (Linux 2.6.33 以降)" #. type: Plain text -#: build/C/man2/mmap.2:300 +#: build/C/man2/mmap.2:302 msgid "" "Don't clear anonymous pages. This flag is intended to improve performance " -"on embedded devices. This flag is only honored if the kernel was configured " +"on embedded devices. This flag is honored only if the kernel was configured " "with the B option. Because of the security " "implications, that option is normally enabled only on embedded devices (i." "e., devices where one has complete control of the contents of user memory)." @@ -5198,7 +5516,7 @@ msgstr "" "ユーザメモリの内容を完全に制御化におけるデバイス) においてのみ有効にされる。" #. type: Plain text -#: build/C/man2/mmap.2:308 +#: build/C/man2/mmap.2:310 msgid "" "Of the above flags, only B is specified in POSIX.1-2001. " "However, most systems also support B (or its synonym " @@ -5209,7 +5527,7 @@ msgstr "" "B) もサポートされている。" #. type: Plain text -#: build/C/man2/mmap.2:315 +#: build/C/man2/mmap.2:317 msgid "" "Some systems document the additional flags B, " "B, B, and B." @@ -5218,7 +5536,7 @@ msgstr "" "B, B, B が規定されている。" #. type: Plain text -#: build/C/man2/mmap.2:321 +#: build/C/man2/mmap.2:323 msgid "" "Memory mapped by B() is preserved across B(2), with the same " "attributes." @@ -5226,7 +5544,7 @@ msgstr "" "B() によってマップされたメモリの属性は B(2) の際に継承される。" #. type: Plain text -#: build/C/man2/mmap.2:329 +#: build/C/man2/mmap.2:331 msgid "" "A file is mapped in multiples of the page size. For a file that is not a " "multiple of the page size, the remaining memory is zeroed when mapped, and " @@ -5241,13 +5559,13 @@ msgstr "" "マップされたページに対してどのような影響があるかは規定されていない。" #. type: SS -#: build/C/man2/mmap.2:329 +#: build/C/man2/mmap.2:331 #, no-wrap msgid "munmap()" msgstr "munmap()" #. type: Plain text -#: build/C/man2/mmap.2:339 +#: build/C/man2/mmap.2:341 msgid "" "The B() system call deletes the mappings for the specified address " "range, and causes further references to addresses within the range to " @@ -5261,7 +5579,7 @@ msgstr "" "はアンマップされない。" #. type: Plain text -#: build/C/man2/mmap.2:349 +#: build/C/man2/mmap.2:351 msgid "" "The address I must be a multiple of the page size. All pages " "containing a part of the indicated range are unmapped, and subsequent " @@ -5274,13 +5592,13 @@ msgstr "" "ていない場合でも エラーにならない。" #. type: SS -#: build/C/man2/mmap.2:349 +#: build/C/man2/mmap.2:351 #, no-wrap msgid "Timestamps changes for file-backed mappings" msgstr "ファイルと関連付けられたマッピングに対するタイムスタンプの更新" #. type: Plain text -#: build/C/man2/mmap.2:356 +#: build/C/man2/mmap.2:358 msgid "" "For file-backed mappings, the I field for the mapped file may be " "updated at any time between the B() and the corresponding unmapping; " @@ -5293,7 +5611,7 @@ msgstr "" "ページへの最初の参照があった 際に更新される。" #. type: Plain text -#: build/C/man2/mmap.2:373 +#: build/C/man2/mmap.2:375 msgid "" "The I and I field for a file mapped with B " "and B will be updated after a write to the mapped region, and " @@ -5306,7 +5624,7 @@ msgstr "" "B(2) が呼ばれる前までに更新される。" #. type: Plain text -#: build/C/man2/mmap.2:390 +#: build/C/man2/mmap.2:392 msgid "" "On success, B() returns a pointer to the mapped area. On error, the " "value B (that is, I<(void\\ *)\\ -1>) is returned, and I " @@ -5319,16 +5637,16 @@ msgstr "" "返し、 I がセットされる (多くの場合 B になるだろう)。" #. type: TP -#: build/C/man2/mmap.2:391 build/C/man2/mprotect.2:80 -#: build/C/man3/shm_open.3:185 build/C/man3/shm_open.3:190 -#: build/C/man2/shmctl.2:295 build/C/man2/shmget.2:186 -#: build/C/man2/shmop.2:189 +#: build/C/man2/mmap.2:393 build/C/man2/mprotect.2:86 +#: 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 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:411 +#: build/C/man2/mmap.2:413 msgid "" "A file descriptor refers to a non-regular file. Or B was " "requested, but I is not open for reading. Or B was " @@ -5342,7 +5660,7 @@ msgstr "" "が、ファイルは追加 (append) 専用である。" #. type: Plain text -#: build/C/man2/mmap.2:415 +#: build/C/man2/mmap.2:417 msgid "" "The file has been locked, or too much memory has been locked (see " "B(2))." @@ -5351,7 +5669,7 @@ msgstr "" "(B(2) を参照)。" #. type: Plain text -#: build/C/man2/mmap.2:421 +#: build/C/man2/mmap.2:423 msgid "" "I is not a valid file descriptor (and B was not set)." msgstr "" @@ -5359,7 +5677,7 @@ msgstr "" "B がセットされていない)。" #. type: Plain text -#: build/C/man2/mmap.2:429 +#: build/C/man2/mmap.2:431 msgid "" "We don't like I, I, or I (e.g., they are too large, or " "not aligned on a page boundary)." @@ -5368,12 +5686,12 @@ msgstr "" "ジ境界にアラインメントされていない)。" #. type: Plain text -#: build/C/man2/mmap.2:434 +#: build/C/man2/mmap.2:436 msgid "(since Linux 2.6.12) I was 0." msgstr "(Linux 2.6.12 以降) I が 0 であった。" #. type: Plain text -#: build/C/man2/mmap.2:442 +#: build/C/man2/mmap.2:444 msgid "" "I contained neither B or B, or contained " "both of these values." @@ -5382,29 +5700,29 @@ msgstr "" "しくは その両方が含まれていた。" #. type: TP -#: build/C/man2/mmap.2:442 build/C/man3/shm_open.3:227 -#: build/C/man2/shmget.2:202 +#: build/C/man2/mmap.2:444 build/C/man3/shm_open.3:229 +#: build/C/man2/shmget.2:205 #, 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:206 +#: build/C/man2/mmap.2:452 build/C/man2/shmget.2:209 msgid "The system limit on the total number of open files has been reached." msgstr "システム全体でオープンされているファイルの総数が上限に達した。" #. type: Plain text -#: build/C/man2/mmap.2:454 +#: build/C/man2/mmap.2:456 msgid "" -"The underlying file system of the specified file does not support memory " +"The underlying filesystem of the specified file does not support memory " "mapping." msgstr "" "指定されたファイルが置かれているファイルシステムがメモリマッピングをサポート " "していない。" #. type: Plain text -#: build/C/man2/mmap.2:458 +#: build/C/man2/mmap.2:460 msgid "" "No memory is available, or the process's maximum number of mappings would " "have been exceeded." @@ -5413,22 +5731,22 @@ msgstr "" #. (Since 2.4.25 / 2.6.0.) #. type: Plain text -#: build/C/man2/mmap.2:467 +#: build/C/man2/mmap.2:469 msgid "" "The I argument asks for B but the mapped area belongs to a " -"file on a file system that was mounted no-exec." +"file on a filesystem that was mounted no-exec." msgstr "" "I 引き数は B を行うように指定されているが、 no-exec でマウン" "トされたファイルシステム上のファイルに マップ領域が対応している。" #. type: TP -#: build/C/man2/mmap.2:467 +#: build/C/man2/mmap.2:469 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:473 +#: build/C/man2/mmap.2:475 msgid "" "B was set but the object specified by I is open for " "writing." @@ -5436,30 +5754,48 @@ msgstr "" "B がセットされているが I で指定されているオブジェクトは書" "き込み用に開かれている。" +#. type: TP +#: build/C/man2/mmap.2:475 build/C/man2/shmctl.2:348 +#, no-wrap +msgid "B" +msgstr "B" + #. type: Plain text -#: build/C/man2/mmap.2:475 +#: build/C/man2/mmap.2:487 +msgid "" +"On 32-bit architecture together with the large file extension (i.e., using " +"64-bit I): the number of pages used for I plus number of " +"pages used for I would overflow I (32 bits)." +msgstr "" +"32 ビットアーキテクチャで large file 拡張を使っている場合 (つまり 64 ビット" +"の I を使う場合)、 I で使うページ数と I で使うページ数" +"を足した値は I (32 ビット) を超えてしまう (オーバーフローして" +"しまう) 場合がある。" + +#. type: Plain text +#: build/C/man2/mmap.2:489 msgid "Use of a mapped region can result in these signals:" msgstr "マップ領域を利用する際に、以下のシグナルが発生することがある:" #. type: TP -#: build/C/man2/mmap.2:475 +#: build/C/man2/mmap.2:489 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:478 +#: build/C/man2/mmap.2:492 msgid "Attempted write into a region mapped as read-only." msgstr "読み込み専用で mmap された領域へ書き込みを行おうとした。" #. type: TP -#: build/C/man2/mmap.2:478 +#: build/C/man2/mmap.2:492 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mmap.2:483 +#: build/C/man2/mmap.2:497 msgid "" "Attempted access to a portion of the buffer that does not correspond to the " "file (for example, beyond the end of the file, including the case where " @@ -5472,7 +5808,7 @@ msgstr "" #. SVr4 documents additional error codes ENXIO and ENODEV. #. SUSv2 documents additional error codes EMFILE and EOVERFLOW. #. type: Plain text -#: build/C/man2/mmap.2:487 +#: build/C/man2/mmap.2:501 msgid "SVr4, 4.4BSD, POSIX.1-2001." msgstr "SVr4, 4.4BSD, POSIX.1-2001." @@ -5480,7 +5816,7 @@ msgstr "SVr4, 4.4BSD, POSIX.1-2001." #. -1: unavailable, 0: ask using sysconf(). #. glibc defines it to 1. #. type: Plain text -#: build/C/man2/mmap.2:501 +#: build/C/man2/mmap.2:515 msgid "" "On POSIX systems on which B(), B(2) and B() are " "available, B<_POSIX_MAPPED_FILES> is defined in Iunistd.hE> to a " @@ -5492,7 +5828,7 @@ msgstr "" #. Since around glibc 2.1/2.2, depending on the platform. #. type: Plain text -#: build/C/man2/mmap.2:516 +#: build/C/man2/mmap.2:530 msgid "" "This page describes the interface provided by the glibc B() wrapper " "function. Originally, this function invoked a system call of the same " @@ -5509,7 +5845,7 @@ msgstr "" "B(2) を起動する。" #. type: Plain text -#: build/C/man2/mmap.2:529 +#: build/C/man2/mmap.2:543 msgid "" "On some hardware architectures (e.g., i386), B implies " "B. It is architecture dependent whether B implies " @@ -5523,7 +5859,7 @@ msgstr "" "常に B をセットすべきである。" #. type: Plain text -#: build/C/man2/mmap.2:544 +#: build/C/man2/mmap.2:558 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 " @@ -5538,7 +5874,38 @@ msgstr "" "I が 0 (NULL) の場合には、マップされるアドレスが 0 (NULL) になる。" #. type: Plain text -#: build/C/man2/mmap.2:549 +#: build/C/man2/mmap.2:587 +#, fuzzy +#| 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 " +#| "requiring that macro specifically would have been more logical, since " +#| "these flags are all Linux specific.) The relevant flags are: " +#| "B, B (and the synonym B), " +#| "B, B, B, B, " +#| "B, B, B, B, " +#| "B, and B." +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 " +"requiring that macro specifically would have been more logical, since these " +"flags are all Linux-specific.) The relevant flags are: B, " +"B (and the synonym B), B, " +"B, B, B, B, " +"B, B, B, B, and " +"B." +msgstr "" +"特定の I 定数は B<_BSD_SOURCE> か B<_SVID_SOURCE> のいずれかが定義され" +"た場合にのみ定義される。 (B<_GNU_SOURCE> も定義されている必要がある。これらの" +"フラグはすべて Linux 固有のものなので、 特に B<_GNU_SOURCE> を必要とする点は" +"もっと論理的に決められるべきであった。) 関係するフラグは B, " +"B (とその同義語の B), B, " +"B, B, B, B, " +"B, B, B, B, " +"B である。" + +#. type: Plain text +#: build/C/man2/mmap.2:592 msgid "" "On Linux there are no guarantees like those suggested above under " "B. By default, any process can be killed at any moment when " @@ -5549,16 +5916,16 @@ msgstr "" "終了されるか分からないからである。" #. type: Plain text -#: build/C/man2/mmap.2:556 +#: build/C/man2/mmap.2:599 msgid "" -"In kernels before 2.6.7, the B flag only has effect if I " +"In kernels before 2.6.7, the B flag has effect only if I " "is specified as B." msgstr "" "2.6.7 より前のカーネルでは、 I に B が指定された場合にの" "み、 B フラグが効力を持つ。" #. type: Plain text -#: build/C/man2/mmap.2:571 +#: build/C/man2/mmap.2:614 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 " @@ -5571,7 +5938,30 @@ msgstr "" "では、 B() はエラー B で失敗する。" #. type: Plain text -#: build/C/man2/mmap.2:583 +#: build/C/man2/mmap.2:630 +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 " +"the object beyond its end. On Linux, when you write data to such partial " +"page after the end of the object, the data stays in the page cache even " +"after the file is closed and unmapped and even though the data is never " +"written to the file itself, subsequent mappings may see the modified " +"content. In some cases, this could be fixed by calling B(2) before " +"the unmap takes place; however, this doesn't work on tmpfs (for example, " +"when using POSIX shared memory interface documented in B(7))." +msgstr "" +"POSIX では、 システムはオブジェクト末尾の部分ページを常に 0 で埋め、 末尾より" +"後ろのオブジェクトを決して変更してはならない、と規定している。 Linux では、 " +"オブジェクト末尾より後ろの部分ページにデータを書き込んだ場合、 そのファイルを" +"クローズしてアンマップした後であってもページキャッシュにデータが残り続け、 " +"データがファイル自体に書き込まれていなくても、 それ以降のマッピングで変更され" +"た内容が見える可能性がある。 いくつかの場合では、 アンマップを行う前に " +"B(2) を呼び出すことで、 この状況を修正することができる。 しかし、 これ" +"は tmpfs では機能しない (例えば、 B(7) で説明されている POSIX " +"共有メモリインターフェースを使った場合)。" + +#. type: Plain text +#: build/C/man2/mmap.2:642 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 " @@ -5586,7 +5976,7 @@ msgstr "" "を出力する。" #. type: Plain text -#: build/C/man2/mmap.2:591 +#: build/C/man2/mmap.2:650 #, no-wrap msgid "" "#include Esys/mman.hE\n" @@ -5604,7 +5994,7 @@ msgstr "" "#include Eunistd.hE\n" #. type: Plain text -#: build/C/man2/mmap.2:594 build/C/man2/mprotect.2:172 +#: build/C/man2/mmap.2:653 build/C/man2/mprotect.2:178 #, no-wrap msgid "" "#define handle_error(msg) \\e\n" @@ -5614,7 +6004,7 @@ msgstr "" " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" #. type: Plain text -#: build/C/man2/mmap.2:604 +#: build/C/man2/mmap.2:663 #, no-wrap msgid "" "int\n" @@ -5638,7 +6028,7 @@ msgstr "" " ssize_t s;\n" #. type: Plain text -#: build/C/man2/mmap.2:609 +#: build/C/man2/mmap.2:668 #, no-wrap msgid "" " if (argc E 3 || argc E 4) {\n" @@ -5652,7 +6042,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:613 +#: build/C/man2/mmap.2:672 #, no-wrap msgid "" " fd = open(argv[1], O_RDONLY);\n" @@ -5664,7 +6054,7 @@ msgstr "" " handle_error(\"open\");\n" #. type: Plain text -#: build/C/man2/mmap.2:616 +#: build/C/man2/mmap.2:675 #, no-wrap msgid "" " if (fstat(fd, &sb) == -1) /* To obtain file size */\n" @@ -5674,7 +6064,7 @@ msgstr "" " handle_error(\"fstat\");\n" #. type: Plain text -#: build/C/man2/mmap.2:620 +#: build/C/man2/mmap.2:679 #, no-wrap msgid "" " offset = atoi(argv[2]);\n" @@ -5686,7 +6076,7 @@ msgstr "" " /* offset for mmap() must be page aligned */\n" #. type: Plain text -#: build/C/man2/mmap.2:625 +#: build/C/man2/mmap.2:684 #, no-wrap msgid "" " if (offset E= sb.st_size) {\n" @@ -5700,7 +6090,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:631 +#: build/C/man2/mmap.2:690 #, no-wrap msgid "" " if (argc == 4) {\n" @@ -5716,7 +6106,7 @@ msgstr "" " /* Can\\(aqt display bytes past end of file */\n" #. type: Plain text -#: build/C/man2/mmap.2:635 +#: build/C/man2/mmap.2:694 #, no-wrap msgid "" " } else { /* No length arg ==E display to end of file */\n" @@ -5728,7 +6118,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:640 +#: build/C/man2/mmap.2:699 #, no-wrap msgid "" " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n" @@ -5742,7 +6132,7 @@ msgstr "" " handle_error(\"mmap\");\n" #. type: Plain text -#: build/C/man2/mmap.2:645 +#: build/C/man2/mmap.2:704 #, no-wrap msgid "" " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n" @@ -5756,7 +6146,7 @@ msgstr "" " handle_error(\"write\");\n" #. type: Plain text -#: build/C/man2/mmap.2:649 +#: build/C/man2/mmap.2:708 #, no-wrap msgid "" " fprintf(stderr, \"partial write\");\n" @@ -5768,7 +6158,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man2/mmap.2:666 +#: build/C/man2/mmap.2:725 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(2), B" @@ -5779,7 +6169,16 @@ msgstr "" "(2), B(3), B(7)" #. type: Plain text -#: build/C/man2/mmap.2:671 build/C/man2/msync.2:122 +#: build/C/man2/mmap.2:732 +msgid "" +"The descriptions of the following files in B(5): I, " +"I, and I." +msgstr "" +"B(5) の I, I, I の説明。" + +#. type: Plain text +#: build/C/man2/mmap.2:737 build/C/man2/msync.2:124 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." @@ -5789,6 +6188,13 @@ msgstr "B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391." msgid "MMAP2" msgstr "MMAP2" +#. type: TH +#: build/C/man2/mmap2.2:29 +#, fuzzy, no-wrap +#| msgid "2009-02-25" +msgid "2014-02-25" +msgstr "2009-02-25" + #. type: Plain text #: build/C/man2/mmap2.2:32 msgid "mmap2 - map files or devices into memory" @@ -5807,9 +6213,9 @@ msgstr "" #. type: Plain text #: build/C/man2/mmap2.2:43 msgid "" -"This is probably not the system call you are interested; instead, see B" -"(2), which describes the glibc wrapper function that invokes this system " -"call." +"This is probably not the system call that you are interested in; instead, " +"see B(2), which describes the glibc wrapper function that invokes this " +"system call." msgstr "" "これはおそらくあなたが興味のあるシステムコールではないだろう。代わりに\n" "B(2) を見るとよい。そのページにはこのシステムコールを起動する glibc " @@ -5836,8 +6242,12 @@ msgstr "" #. type: Plain text #: build/C/man2/mmap2.2:61 +#, fuzzy +#| msgid "" +#| "On success, B() returns a pointer to the mapped area. On error " +#| "-1 is returned and I is set appropriately." msgid "" -"On success, B() returns a pointer to the mapped area. On error -1 " +"On success, B() returns a pointer to the mapped area. On error, -1 " "is returned and I is set appropriately." msgstr "" "成功した場合、 B() はマップされた領域へのポインタを返す。 エラーの場" @@ -5845,17 +6255,17 @@ msgstr "" #. type: Plain text #: build/C/man2/mmap2.2:65 -msgid "Problem with getting the data from userspace." +msgid "Problem with getting the data from user space." msgstr "ユーザ空間からデータを取得するときに問題があった。" #. type: Plain text #: build/C/man2/mmap2.2:70 msgid "" -"(Various platforms where the page size is not 4096 bytes.) I " -"is not a multiple of the system page size." +"(Various platforms where the page size is not 4096 bytes.) I is not a multiple of the system page size." msgstr "" -"(ページサイズが 4096 バイトでないプラットフォームにおいて) I " -"がシステムのページサイズの倍数ではない。" +"(ページサイズが 4096 バイトでないプラットフォームにおいて) I がシステムのページサイズの倍数ではない。" #. type: Plain text #: build/C/man2/mmap2.2:74 @@ -5868,24 +6278,36 @@ msgid "B() is available since Linux 2.3.31." msgstr "B() は、Linux 2.3.31 以降で使用可能である。" #. type: Plain text -#: build/C/man2/mmap2.2:79 build/C/man2/subpage_prot.2:93 +#: build/C/man2/mmap2.2:79 build/C/man2/subpage_prot.2:98 msgid "This system call is Linux-specific." msgstr "このシステムコールは Linux 独自である。" #. type: Plain text -#: build/C/man2/mmap2.2:85 +#: build/C/man2/mmap2.2:86 +#, fuzzy +#| msgid "" +#| "Nowadays, the glibc B() wrapper function invokes this system call " +#| "rather than the B(2) system call." msgid "" -"Nowadays, the glibc B() wrapper function invokes this system call " -"rather than the B(2) system call." +"On architectures where this system call is present, the glibc B() " +"wrapper function invokes this system call rather than the B(2) system " +"call." msgstr "" "現在では、glibc の B() のラッパー関数は、 B(2) システムコールで" "はなく、このシステムコール (B(2)) を起動する。" +#. type: Plain text +#: build/C/man2/mmap2.2:88 +#, fuzzy +#| msgid "This system call is Linux-specific." +msgid "This system call does not exist on x86-64." +msgstr "このシステムコールは Linux 独自である。" + #. ia64 can have page sizes ranging from 4kB to 64kB. #. On cris, it looks like the unit might also be the page size, #. which is 8192 bytes. -- mtk, June 2007 #. type: Plain text -#: build/C/man2/mmap2.2:92 +#: build/C/man2/mmap2.2:95 msgid "" "On ia64, the unit for I is actually the system page size, rather " "than 4096 bytes." @@ -5894,37 +6316,31 @@ msgstr "" "バイトではない。" #. type: Plain text -#: build/C/man2/mmap2.2:98 +#: build/C/man2/mmap2.2:101 msgid "" "B(2), B(2), B(2), B(2), B(3)" msgstr "" "B(2), B(2), B(2), B(2), B(3)" #. type: TH -#: build/C/man2/mprotect.2:32 +#: build/C/man2/mprotect.2:38 #, no-wrap msgid "MPROTECT" msgstr "MPROTECT" -#. type: TH -#: build/C/man2/mprotect.2:32 -#, no-wrap -msgid "2011-09-08" -msgstr "2011-09-08" - #. type: Plain text -#: build/C/man2/mprotect.2:35 +#: build/C/man2/mprotect.2:41 msgid "mprotect - set protection on a region of memory" msgstr "mprotect - メモリ領域の保護を設定する" #. type: Plain text -#: build/C/man2/mprotect.2:40 +#: build/C/man2/mprotect.2:46 #, no-wrap -msgid "BIB<, size_t >IB<, int >IB<);>\n" -msgstr "BIB<, size_t >IB<, int >IB<);>\n" +msgid "BIB<, size_t >IB<, int >IB<);>\n" +msgstr "BIB<, size_t >IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man2/mprotect.2:48 +#: build/C/man2/mprotect.2:54 msgid "" "B() changes protection for the calling process's memory page(s) " "containing any part of the address range in the interval [I,\\ I" @@ -5935,7 +6351,7 @@ msgstr "" "界に一致していなければならない。" #. type: Plain text -#: build/C/man2/mprotect.2:53 +#: build/C/man2/mprotect.2:59 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." @@ -5944,7 +6360,7 @@ msgstr "" "ると、カーネルはシグナル B をそのプロセスに対して生成する。" #. type: Plain text -#: build/C/man2/mprotect.2:58 +#: build/C/man2/mprotect.2:64 msgid "" "I is either B or a bitwise-or of the other values in the " "following list:" @@ -5953,29 +6369,29 @@ msgstr "" "毎の論理和 (bitwize-or) で指定する:" #. type: Plain text -#: build/C/man2/mprotect.2:61 +#: build/C/man2/mprotect.2:67 msgid "The memory cannot be accessed at all." msgstr "そのメモリには全くアクセスできない。" #. type: Plain text -#: build/C/man2/mprotect.2:64 +#: build/C/man2/mprotect.2:70 msgid "The memory can be read." msgstr "そのメモリを読み取ることができる。" #. type: Plain text -#: build/C/man2/mprotect.2:67 +#: build/C/man2/mprotect.2:73 msgid "The memory can be modified." msgstr "そのメモリを変更できる。" #. FIXME #. Document PROT_GROWSUP and PROT_GROWSDOWN #. type: Plain text -#: build/C/man2/mprotect.2:72 +#: build/C/man2/mprotect.2:78 msgid "The memory can be executed." msgstr "そのメモリは実行可能である。" #. type: Plain text -#: build/C/man2/mprotect.2:79 +#: build/C/man2/mprotect.2:85 msgid "" "On success, B() returns zero. On error, -1 is returned, and " "I is set appropriately." @@ -5984,7 +6400,7 @@ msgstr "" "I が適切に設定される。" #. type: Plain text -#: build/C/man2/mprotect.2:89 +#: build/C/man2/mprotect.2:95 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 " @@ -5996,19 +6412,19 @@ msgstr "" #. Or: both PROT_GROWSUP and PROT_GROWSDOWN were specified in 'prot'. #. type: Plain text -#: build/C/man2/mprotect.2:94 +#: build/C/man2/mprotect.2:100 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:97 +#: build/C/man2/mprotect.2:103 msgid "Internal kernel structures could not be allocated." msgstr "カーネル内部の構造体を割り当てることができなかった。" #. type: Plain text -#: build/C/man2/mprotect.2:107 +#: build/C/man2/mprotect.2:113 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 " @@ -6023,7 +6439,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:116 +#: build/C/man2/mprotect.2:122 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 " @@ -6034,7 +6450,7 @@ msgstr "" "されている。" #. type: Plain text -#: build/C/man2/mprotect.2:123 +#: build/C/man2/mprotect.2:129 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 " @@ -6045,7 +6461,7 @@ msgstr "" "マッピングを書き込み可能にするために使われる。" #. type: Plain text -#: build/C/man2/mprotect.2:133 +#: build/C/man2/mprotect.2:139 msgid "" "Whether B has any effect different from B is " "architecture- and kernel version-dependent. On some hardware architectures " @@ -6056,10 +6472,10 @@ msgstr "" "B をセットすると、暗黙のうちに B がセットされる。" #. type: Plain text -#: build/C/man2/mprotect.2:142 +#: build/C/man2/mprotect.2:148 msgid "" "POSIX.1-2001 says that an implementation may permit access other than that " -"specified in I, but at a minimum can only allow write access if " +"specified in I, but at a minimum can allow write access only if " "B has been set, and must not allow any access if B " "has been set." msgstr "" @@ -6069,7 +6485,7 @@ msgstr "" "ない点だけは 満たす必要がある。" #. type: Plain text -#: build/C/man2/mprotect.2:148 +#: build/C/man2/mprotect.2:154 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 " @@ -6080,13 +6496,13 @@ msgstr "" "かって順番にバイト値を変更するループを実行する。" #. type: Plain text -#: build/C/man2/mprotect.2:151 +#: build/C/man2/mprotect.2:157 msgid "" "An example of what we might see when running the program is the following:" msgstr "プログラムを実行した場合の一例を以下に示す。" #. type: Plain text -#: build/C/man2/mprotect.2:157 +#: build/C/man2/mprotect.2:163 #, no-wrap msgid "" "$B< ./a.out>\n" @@ -6098,7 +6514,7 @@ msgstr "" "Got SIGSEGV at address: 0x804e000\n" #. type: Plain text -#: build/C/man2/mprotect.2:169 +#: build/C/man2/mprotect.2:175 #, no-wrap msgid "" "#include Eunistd.hE\n" @@ -6118,13 +6534,14 @@ msgstr "" "#include Esys/mman.hE\n" #. type: Plain text -#: build/C/man2/mprotect.2:174 -#, no-wrap -msgid "char *buffer;\n" +#: build/C/man2/mprotect.2:180 +#, fuzzy, no-wrap +#| msgid "char *buffer;\n" +msgid "static char *buffer;\n" msgstr "char *buffer;\n" #. type: Plain text -#: build/C/man2/mprotect.2:182 +#: build/C/man2/mprotect.2:188 #, no-wrap msgid "" "static void\n" @@ -6144,7 +6561,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man2/mprotect.2:189 +#: build/C/man2/mprotect.2:195 #, no-wrap msgid "" "int\n" @@ -6162,7 +6579,7 @@ msgstr "" " struct sigaction sa;\n" #. type: Plain text -#: build/C/man2/mprotect.2:195 +#: build/C/man2/mprotect.2:201 #, no-wrap msgid "" " sa.sa_flags = SA_SIGINFO;\n" @@ -6178,7 +6595,7 @@ msgstr "" " handle_error(\"sigaction\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:199 +#: build/C/man2/mprotect.2:205 #, no-wrap msgid "" " pagesize = sysconf(_SC_PAGE_SIZE);\n" @@ -6190,7 +6607,7 @@ msgstr "" " handle_error(\"sysconf\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:202 +#: build/C/man2/mprotect.2:208 #, no-wrap msgid "" " /* Allocate a buffer aligned on a page boundary;\n" @@ -6200,7 +6617,7 @@ msgstr "" " initial protection is PROT_READ | PROT_WRITE */\n" #. type: Plain text -#: build/C/man2/mprotect.2:206 +#: build/C/man2/mprotect.2:212 #, no-wrap msgid "" " buffer = memalign(pagesize, 4 * pagesize);\n" @@ -6212,13 +6629,13 @@ msgstr "" " handle_error(\"memalign\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:208 +#: build/C/man2/mprotect.2:214 #, 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:212 +#: build/C/man2/mprotect.2:218 #, no-wrap msgid "" " if (mprotect(buffer + pagesize * 2, pagesize,\n" @@ -6230,7 +6647,7 @@ msgstr "" " handle_error(\"mprotect\");\n" #. type: Plain text -#: build/C/man2/mprotect.2:215 +#: build/C/man2/mprotect.2:221 #, no-wrap msgid "" " for (p = buffer ; ; )\n" @@ -6240,7 +6657,7 @@ msgstr "" " *(p++) = \\(aqa\\(aq;\n" #. type: Plain text -#: build/C/man2/mprotect.2:219 +#: build/C/man2/mprotect.2:225 #, no-wrap msgid "" " printf(\"Loop completed\\en\"); /* Should never happen */\n" @@ -6252,35 +6669,35 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man2/mprotect.2:223 +#: build/C/man2/mprotect.2:229 msgid "B(2), B(3)" msgstr "B(2), B(3)" #. type: TH -#: build/C/man2/mremap.2:31 +#: build/C/man2/mremap.2:30 #, no-wrap msgid "MREMAP" msgstr "MREMAP" #. type: TH -#: build/C/man2/mremap.2:31 +#: build/C/man2/mremap.2:30 #, no-wrap msgid "2010-06-10" msgstr "2010-06-10" #. type: Plain text -#: build/C/man2/mremap.2:34 +#: build/C/man2/mremap.2:33 msgid "mremap - remap a virtual memory address" msgstr "mremap - 仮想メモリ・アドレスを再マッピングする" #. type: Plain text -#: build/C/man2/mremap.2:37 +#: build/C/man2/mremap.2:36 #, no-wrap msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" msgstr "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n" #. type: Plain text -#: build/C/man2/mremap.2:42 +#: build/C/man2/mremap.2:41 #, no-wrap msgid "" "BIB<, size_t >IB<,>\n" @@ -6290,7 +6707,7 @@ msgstr "" "B< size_t >IB<, int >IB<, ... /* void *>IB< */);>\n" #. type: Plain text -#: build/C/man2/mremap.2:48 +#: build/C/man2/mremap.2:47 msgid "" "B() expands (or shrinks) an existing memory mapping, potentially " "moving it at the same time (controlled by the I argument and the " @@ -6301,7 +6718,7 @@ msgstr "" "る)。" #. type: Plain text -#: build/C/man2/mremap.2:62 +#: build/C/man2/mremap.2:61 msgid "" "I is the old address of the virtual memory block that you want " "to expand (or shrink). Note that I has to be page aligned. " @@ -6318,7 +6735,7 @@ msgstr "" "明を参照のこと。" #. type: Plain text -#: build/C/man2/mremap.2:74 +#: build/C/man2/mremap.2:73 msgid "" "In Linux the memory is divided into pages. A user process has (one or) " "several linear virtual memory segments. Each virtual memory segment has one " @@ -6338,7 +6755,7 @@ msgstr "" "ン侵害が発生する。" #. type: Plain text -#: build/C/man2/mremap.2:82 +#: build/C/man2/mremap.2:81 msgid "" "B() uses the Linux page table scheme. B() changes the " "mapping between virtual addresses and memory pages. This can be used to " @@ -6349,18 +6766,18 @@ msgstr "" "B(3) を実装するのに使用されている。" #. type: Plain text -#: build/C/man2/mremap.2:84 +#: build/C/man2/mremap.2:83 msgid "The I bit-mask argument may be 0, or include the following flag:" msgstr "I ビットマスク引数は 0 または以下のフラグを含む:" #. type: TP -#: build/C/man2/mremap.2:84 +#: build/C/man2/mremap.2:83 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/mremap.2:96 +#: build/C/man2/mremap.2:95 msgid "" "By default, if there is not sufficient space to expand a mapping at its " "current location, then B() fails. If this flag is specified, then " @@ -6376,23 +6793,23 @@ msgstr "" "レスからの相対オフセットは有効のままである)。" #. type: TP -#: build/C/man2/mremap.2:96 +#: build/C/man2/mremap.2:95 #, no-wrap msgid "B (since Linux 2.3.31)" msgstr "B (Linux 2.3.31 以降)" #. type: Plain text -#: build/C/man2/mremap.2:118 +#: build/C/man2/mremap.2:117 msgid "" "This flag serves a similar purpose to the B flag of B(2). " -"If this flag is specified, then B() accepts a fifth argument, " -"I, which specifies a page-aligned address to which the " +"If this flag is specified, then B() accepts a fifth argument, I, which specifies a page-aligned address to which the " "mapping must be moved. Any previous mapping at the address range specified " "by I and I is unmapped. If B is " "specified, then B must also be specified." msgstr "" "このフラグは B(2) の B フラグと似たような目的で用いられ" -"る。 このフラグが指定されると、 B() は 5 番目の引き数 I() は 5 番目の引き数 I を受け取り、この引数はマッピングが移動されるべきアドレスを指定" "する。 このアドレスはページ境界に合っていなければならない。 I " "と I で指定されるアドレス範囲に過去のマッピングがあった場合、 その" @@ -6400,7 +6817,7 @@ msgstr "" "B も指定しなければならない。" #. type: Plain text -#: build/C/man2/mremap.2:128 +#: build/C/man2/mremap.2:127 msgid "" "If the memory segment specified by I and I is locked " "(using B(2) or similar), then this lock is maintained when the " @@ -6413,7 +6830,7 @@ msgstr "" "の量は変化する。" #. type: Plain text -#: build/C/man2/mremap.2:136 +#: build/C/man2/mremap.2:135 msgid "" "On success B() returns a pointer to the new virtual memory area. " "On error, the value B (that is, I<(void\\ *)\\ -1>) is returned, " @@ -6424,7 +6841,7 @@ msgstr "" "切に設定される。" #. type: Plain text -#: build/C/man2/mremap.2:143 +#: build/C/man2/mremap.2:142 msgid "" "The caller tried to expand a memory segment that is locked, but this was not " "possible without exceeding the B resource limit." @@ -6433,7 +6850,7 @@ msgstr "" "B リソース制限を越えずにこれを行うことができない。" #. type: Plain text -#: build/C/man2/mremap.2:152 +#: build/C/man2/mremap.2:151 msgid "" "\"Segmentation fault.\" Some address in the range I to " "I+I is an invalid virtual memory address for this " @@ -6447,7 +6864,7 @@ msgstr "" "を受け取るだろう。" #. type: Plain text -#: build/C/man2/mremap.2:180 +#: build/C/man2/mremap.2:179 msgid "" "An invalid argument was given. Possible causes are: I was not " "page aligned; a value other than B or B was " @@ -6466,7 +6883,7 @@ msgstr "" "されていない。" #. type: Plain text -#: build/C/man2/mremap.2:186 +#: build/C/man2/mremap.2:185 msgid "" "The memory area cannot be expanded at the current virtual address, and the " "B flag is not set in I. Or, there is not enough " @@ -6479,7 +6896,7 @@ msgstr "" #. .BR mremap (2) #. call with completely different semantics. #. type: Plain text -#: build/C/man2/mremap.2:192 +#: build/C/man2/mremap.2:191 msgid "" "This call is Linux-specific, and should not be used in programs intended to " "be portable." @@ -6488,7 +6905,7 @@ msgstr "" "い。" #. type: Plain text -#: build/C/man2/mremap.2:200 +#: build/C/man2/mremap.2:199 msgid "" "Prior to version 2.4, glibc did not expose the definition of " "B, and the prototype for B() did not allow for the " @@ -6498,7 +6915,7 @@ msgstr "" "ず、 B() のプロトタイプは I 引き数を取らなかった。" #. type: Plain text -#: build/C/man2/mremap.2:209 +#: build/C/man2/mremap.2:208 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(3), B(3)" @@ -6509,15 +6926,15 @@ msgstr "" #. type: Plain text #: build/C/man2/mremap.2:214 msgid "" -"Your favorite OS text book for more information on paged memory. (I by Andrew S. Tanenbaum, I by Randolf Bentson, I by " +"Maurice J. Bach)" +msgstr "" +"ページ分割されたメモリについてもっと詳しく知りたいならば、あなたのお気に入り" +"のオペレーティングシステムの教科書を参照してほしい (例えば、 I by Andrew S. Tanenbaum, I by Randolf " "Bentson, I by Maurice J. Bach.)" -msgstr "" -"ページ分割されたメモリについてもっと詳しく知りたいならば あなたの好みの OS " -"の\n" -"教科書を参照すること。 (I by Andrew S. Tanenbaum,\n" -"I by Randolf Bentson, I by Maurice J. Bach.)" #. type: TH #: build/C/man2/msync.2:25 @@ -6526,7 +6943,7 @@ msgid "MSYNC" msgstr "MSYNC" #. type: TH -#: build/C/man2/msync.2:25 build/C/man2/remap_file_pages.2:26 +#: build/C/man2/msync.2:25 build/C/man2/remap_file_pages.2:28 #, no-wrap msgid "2008-04-22" msgstr "2008-04-22" @@ -6614,8 +7031,8 @@ 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:103 -#: build/C/man3/shm_open.3:251 build/C/man7/shm_overview.7:103 +#: build/C/man2/msync.2:98 build/C/man3/posix_fallocate.3:105 +#: build/C/man3/shm_open.3:253 build/C/man7/shm_overview.7:103 msgid "POSIX.1-2001." msgstr "POSIX.1-2001." @@ -6632,7 +7049,7 @@ msgstr "" #. -1: unavailable, 0: ask using sysconf(). #. glibc defines them to 1. #. type: Plain text -#: build/C/man2/msync.2:118 +#: build/C/man2/msync.2:120 msgid "" "On POSIX systems on which B() is available, both " "B<_POSIX_MAPPED_FILES> and B<_POSIX_SYNCHRONIZED_IO> are defined in " @@ -6643,39 +7060,45 @@ msgstr "" "定義される。 (B(3) を参照すること。 )" #. type: TP -#: build/C/man2/msync.2:120 build/C/man7/shm_overview.7:46 +#: build/C/man2/msync.2:122 build/C/man7/shm_overview.7:46 #, no-wrap msgid "B(2)" msgstr "B(2)" #. type: TH -#: build/C/man3/mtrace.3:23 +#: build/C/man3/mtrace.3:25 #, no-wrap msgid "MTRACE" msgstr "MTRACE" +#. type: TH +#: build/C/man3/mtrace.3:25 +#, no-wrap +msgid "2012-04-18" +msgstr "2012-04-18" + #. type: Plain text -#: build/C/man3/mtrace.3:26 +#: build/C/man3/mtrace.3:28 msgid "mtrace, muntrace - malloc tracing" msgstr "mtrace, muntrace - malloc のトレース" #. type: Plain text -#: build/C/man3/mtrace.3:28 +#: build/C/man3/mtrace.3:30 msgid "B<#include Emcheck.hE>" msgstr "B<#include Emcheck.hE>" #. type: Plain text -#: build/C/man3/mtrace.3:30 +#: build/C/man3/mtrace.3:32 msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mtrace.3:32 +#: build/C/man3/mtrace.3:34 msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/mtrace.3:44 +#: build/C/man3/mtrace.3:46 msgid "" "The B() function installs hook functions for the memory-allocation " "functions (B(3), B(3) B(3), B(3)). These " @@ -6685,7 +7108,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:55 +#: build/C/man3/mtrace.3:57 msgid "" "The B() function disables the hook functions installed by " "B(), so that tracing information is no longer recorded for the " @@ -6694,16 +7117,16 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:63 +#: build/C/man3/mtrace.3:65 msgid "" -"When B(3) is called, it checks the value of the environment " -"variable B, which should contain the pathname of a file in " -"which the tracing information is to be recorded. If the pathname is " -"successfully opened, it is truncated to zero length." +"When B() is called, it checks the value of the environment variable " +"B, which should contain the pathname of a file in which the " +"tracing information is to be recorded. If the pathname is successfully " +"opened, it is truncated to zero length." msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:76 +#: build/C/man3/mtrace.3:78 msgid "" "If B is not set, or the pathname it specifies is invalid or " "not writable, then no hook functions are installed, and B() has no " @@ -6712,14 +7135,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:84 +#: build/C/man3/mtrace.3:86 msgid "" "In normal usage, B() is called once at the start of execution of a " "program, and B() is never called." msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:94 +#: build/C/man3/mtrace.3:96 msgid "" "The tracing output produced after a call to B() is textual, but not " "designed to be human readable. The GNU C library provides a Perl script, " @@ -6730,22 +7153,22 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:100 +#: build/C/man3/mtrace.3:102 msgid "" "The tracing performed by B() incurs a performance penalty (if " "B points to a valid, writable pathname)." msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:106 +#: build/C/man3/mtrace.3:108 msgid "" "The line-number information produced by B(1) is not always precise: " -"the line number references may refer to the previous or following (non-" -"blank) line of the source code." +"the line number references may refer to the previous or following " +"(nonblank) line of the source code." msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:113 +#: build/C/man3/mtrace.3:115 msgid "" "The shell session below demonstrates the use of the B() function " "and the B(1) command in a program that has memory leaks at two " @@ -6753,7 +7176,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:120 +#: build/C/man3/mtrace.3:122 #, no-wrap msgid "" "$ B\n" @@ -6767,7 +7190,7 @@ msgstr "" "#include Estdio.hE\n" #. type: Plain text -#: build/C/man3/mtrace.3:125 +#: build/C/man3/mtrace.3:127 #, no-wrap msgid "" "int\n" @@ -6781,13 +7204,13 @@ msgstr "" " int j;\n" #. type: Plain text -#: build/C/man3/mtrace.3:127 +#: build/C/man3/mtrace.3:129 #, no-wrap msgid " mtrace();\n" msgstr " mtrace();\n" #. type: Plain text -#: build/C/man3/mtrace.3:130 +#: build/C/man3/mtrace.3:132 #, no-wrap msgid "" " for (j = 0; j E 2; j++)\n" @@ -6797,7 +7220,7 @@ msgstr "" " malloc(100); /* Never freed--a memory leak */\n" #. type: Plain text -#: build/C/man3/mtrace.3:134 +#: build/C/man3/mtrace.3:136 #, no-wrap msgid "" " calloc(16, 16); /* Never freed--a memory leak */\n" @@ -6809,14 +7232,14 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/mtrace.3:140 +#: build/C/man3/mtrace.3:142 msgid "" "When we run the program as follows, we see that B() diagnosed " "memory leaks at two different locations in the program:" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:153 +#: build/C/man3/mtrace.3:155 #, no-wrap msgid "" "$ B\n" @@ -6842,7 +7265,7 @@ msgstr "" "0x084c9448 0x100 at /home/cecilia/t_mtrace.c:16\n" #. type: Plain text -#: build/C/man3/mtrace.3:165 +#: 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 " @@ -6850,51 +7273,51 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man3/mtrace.3:170 +#: build/C/man3/mtrace.3:172 msgid "B(1), B(3), B(3), B(3)" msgstr "B(1), B(3), B(3), B(3)" #. type: TH -#: build/C/man2/posix_fadvise.2:27 +#: build/C/man2/posix_fadvise.2:28 #, no-wrap msgid "POSIX_FADVISE" msgstr "POSIX_FADVISE" #. type: TH -#: build/C/man2/posix_fadvise.2:27 build/C/man2/sync_file_range.2:30 +#: build/C/man2/posix_fadvise.2:28 build/C/man2/sync_file_range.2:30 #, no-wrap -msgid "2010-10-09" -msgstr "2010-10-09" +msgid "2013-04-01" +msgstr "2013-04-01" #. type: Plain text -#: build/C/man2/posix_fadvise.2:30 +#: build/C/man2/posix_fadvise.2:31 msgid "posix_fadvise - predeclare an access pattern for file data" msgstr "posix_fadvise - ファイルデータのアクセスパターンをあらかじめ宣言する" #. type: Plain text -#: build/C/man2/posix_fadvise.2:33 build/C/man3/posix_fallocate.3:29 +#: build/C/man2/posix_fadvise.2:34 build/C/man3/posix_fallocate.3:31 #, no-wrap msgid "B<#include Efcntl.hE>\n" msgstr "B<#include Efcntl.hE>\n" #. type: Plain text -#: build/C/man2/posix_fadvise.2:36 +#: build/C/man2/posix_fadvise.2:37 #, no-wrap msgid "BIB<, off_t >IB<, off_t >IB<, int >IB<);>\n" msgstr "BIB<, off_t >IB<, off_t >IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man2/posix_fadvise.2:45 +#: build/C/man2/posix_fadvise.2:46 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man2/posix_fadvise.2:47 build/C/man3/posix_fallocate.3:42 +#: build/C/man2/posix_fadvise.2:48 build/C/man3/posix_fallocate.3:44 msgid "_XOPEN_SOURCE\\ E=\\ 600 || _POSIX_C_SOURCE\\ E=\\ 200112L" msgstr "_XOPEN_SOURCE\\ E=\\ 600 || _POSIX_C_SOURCE\\ E=\\ 200112L" #. type: Plain text -#: build/C/man2/posix_fadvise.2:55 +#: build/C/man2/posix_fadvise.2:56 msgid "" "Programs can use B() to announce an intention to access file " "data in a specific pattern in the future, thus allowing the kernel to " @@ -6905,7 +7328,7 @@ msgstr "" "適化を実行することが可能になる。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:62 +#: build/C/man2/posix_fadvise.2:63 msgid "" "The I applies to a (not necessarily existent) region starting at " "I and extending for I bytes (or until the end of the file if " @@ -6920,18 +7343,18 @@ msgstr "" "ションのために可能性を構成するだけである。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:64 +#: build/C/man2/posix_fadvise.2:65 msgid "Permissible values for I include:" msgstr "I に許される値には、以下のものが含まれる:" #. type: TP -#: build/C/man2/posix_fadvise.2:64 +#: build/C/man2/posix_fadvise.2:65 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/posix_fadvise.2:70 +#: build/C/man2/posix_fadvise.2:71 msgid "" "Indicates that the application has no advice to give about its access " "pattern for the specified data. If no advice is given for an open file, " @@ -6942,13 +7365,13 @@ msgstr "" "合、 これがデフォルトで仮定される。" #. type: TP -#: build/C/man2/posix_fadvise.2:70 +#: build/C/man2/posix_fadvise.2:71 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/posix_fadvise.2:74 +#: build/C/man2/posix_fadvise.2:75 msgid "" "The application expects to access the specified data sequentially (with " "lower offsets read before higher ones)." @@ -6957,66 +7380,66 @@ msgstr "" "小さなオフセットのデータを読むように) アクセスされることを期待する。" #. type: TP -#: build/C/man2/posix_fadvise.2:74 +#: build/C/man2/posix_fadvise.2:75 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/posix_fadvise.2:77 +#: build/C/man2/posix_fadvise.2:78 msgid "The specified data will be accessed in random order." msgstr "指定されたデータがランダムな順番でアクセスされる。" #. type: TP -#: build/C/man2/posix_fadvise.2:77 +#: build/C/man2/posix_fadvise.2:78 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/posix_fadvise.2:80 +#: build/C/man2/posix_fadvise.2:81 msgid "The specified data will be accessed only once." msgstr "指定されたデータは 1 度しかアクセスされない。" #. type: TP -#: build/C/man2/posix_fadvise.2:80 +#: build/C/man2/posix_fadvise.2:81 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/posix_fadvise.2:83 +#: build/C/man2/posix_fadvise.2:84 msgid "The specified data will be accessed in the near future." msgstr "指定されたデータは近い将来アクセスされる。" #. type: TP -#: build/C/man2/posix_fadvise.2:83 +#: build/C/man2/posix_fadvise.2:84 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/posix_fadvise.2:86 +#: build/C/man2/posix_fadvise.2:87 msgid "The specified data will not be accessed in the near future." msgstr "指定されたデータは近い将来アクセスされない。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:89 +#: build/C/man2/posix_fadvise.2:90 msgid "On success, zero is returned. On error, an error number is returned." msgstr "成功した場合は 0 が返される。 失敗した場合はエラー番号が返される。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:93 +#: build/C/man2/posix_fadvise.2:94 msgid "The I argument was not a valid file descriptor." msgstr "I 引き数が有効なファイルディスクリプタでない。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:96 +#: build/C/man2/posix_fadvise.2:97 msgid "An invalid value was specified for I." msgstr "無効な値が I に指定された。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:103 +#: build/C/man2/posix_fadvise.2:104 msgid "" "The specified file descriptor refers to a pipe or FIFO. (Linux actually " "returns B in this case.)" @@ -7026,7 +7449,7 @@ msgstr "" #. of fadvise64_64() #. type: Plain text -#: build/C/man2/posix_fadvise.2:111 +#: build/C/man2/posix_fadvise.2:112 msgid "" "Kernel support first appeared in Linux 2.5.60; the underlying system call is " "called B(). Library support has been provided since glibc " @@ -7038,7 +7461,7 @@ msgstr "" "ラッパー関数は B() という名前である。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:120 +#: build/C/man2/posix_fadvise.2:121 msgid "" "POSIX.1-2001. Note that the type of the I argument was changed from " "I to I in POSIX.1-2003 TC1." @@ -7047,7 +7470,7 @@ msgstr "" "I に変更された点に注意すること。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:126 +#: build/C/man2/posix_fadvise.2:127 msgid "" "Under Linux, B sets the readahead window to the default " "size for the backing device; B doubles this size, and " @@ -7062,7 +7485,7 @@ msgstr "" "ファイルに対する他のオープンファイルハンドルは影響を受けない)。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:133 +#: build/C/man2/posix_fadvise.2:134 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 " @@ -7075,7 +7498,7 @@ msgstr "" "くてもめったに役に立たない)。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:137 +#: build/C/man2/posix_fadvise.2:138 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 " @@ -7086,7 +7509,7 @@ msgstr "" "フラグは何も行わない。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:145 +#: build/C/man2/posix_fadvise.2:146 msgid "" "B attempts to free cached pages associated with the " "specified region. This is useful, for example, while streaming large " @@ -7101,7 +7524,7 @@ msgstr "" "されたページが、 代わりに破棄されることはない。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:153 +#: build/C/man2/posix_fadvise.2:154 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 " @@ -7112,23 +7535,37 @@ msgstr "" "B(2) を呼ぶべきである。" #. type: SS -#: build/C/man2/posix_fadvise.2:153 +#: build/C/man2/posix_fadvise.2:154 #, no-wrap -msgid "arm_fadvise()" -msgstr "arm_fadvise()" +msgid "Architecture-specific variants" +msgstr "アーキテクチャ固有の派生バージョン" #. type: Plain text -#: build/C/man2/posix_fadvise.2:165 +#: build/C/man2/posix_fadvise.2:171 msgid "" -"The ARM architecture needs 64-bit arguments to be aligned in a suitable pair " -"of registers. On this architecture, the call signature of B" -"() is flawed, since it forces a register to be wasted as padding between " -"the I and I arguments. Therefore, since Linux 2.6.14, ARM defines " -"a different system call that orders the arguments suitably:" +"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 " +"the system call that orders the arguments suitably, but otherwise is " +"otherwise exactly the same as B()." +msgstr "" +"いくつかのアーキテクチャでは、 64 ビットの引き数は適切なレジスタの組に割り当" +"てる必要がある (B(2) 参照)。 このようなアーキテクチャでは、 「書式」" +"に書かれている B() の呼び出しシグネチャーで、 引き数 I " +"と I の間のパディング (詰めもの) でレジスタが一つ消費されてしまう。 " +"そのため、 これらのアーキテクチャでは引き数が適切な順序になった別のシステム" +"コールが定義されているが、 それ以外は B() と全く同じである。" + +#. type: Plain text +#: build/C/man2/posix_fadvise.2:173 +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:170 +#: build/C/man2/posix_fadvise.2:178 #, no-wrap msgid "" "BIB<, int >IB<,>\n" @@ -7137,17 +7574,19 @@ msgstr "" "BIB<, int >IB<,>\n" "B< loff_t >IB<, loff_t >IB<);>\n" -#. No ARM support in glibc. #. type: Plain text -#: build/C/man2/posix_fadvise.2:177 +#: build/C/man2/posix_fadvise.2:186 msgid "" -"The behavior of this system call is otherwise exactly the same as " -"B(). No library support is provided for this system call in " -"glibc." +"These architecture-specific details are generally hidden from applications " +"by the glibc B() wrapper function, which invokes the " +"appropriate architecture-specific system call." msgstr "" +"通常、 glibc の B() ラッパー関数により、 これらのアーキテク" +"チャ固有の詳細はアプリケーションには見えない。 glibc のラッパー関数では、適切" +"なアーキテクチャ固有のシステムコールが呼び出される。" #. type: Plain text -#: build/C/man2/posix_fadvise.2:182 +#: build/C/man2/posix_fadvise.2:191 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 " @@ -7159,7 +7598,7 @@ msgstr "" #. FIXME . Write a posix_fadvise(3) page. #. type: Plain text -#: build/C/man2/posix_fadvise.2:188 +#: build/C/man2/posix_fadvise.2:197 msgid "" "B(2), B(2), B(3), " "B(3)" @@ -7168,35 +7607,35 @@ msgstr "" "B(3)" #. type: TH -#: build/C/man3/posix_fallocate.3:23 +#: build/C/man3/posix_fallocate.3:25 #, no-wrap msgid "POSIX_FALLOCATE" msgstr "POSIX_FALLOCATE" #. type: TH -#: build/C/man3/posix_fallocate.3:23 +#: build/C/man3/posix_fallocate.3:25 build/C/man2/shmop.2:41 #, no-wrap -msgid "2010-09-20" -msgstr "2010-09-20" +msgid "2013-02-12" +msgstr "2013-02-12" #. type: Plain text -#: build/C/man3/posix_fallocate.3:26 +#: build/C/man3/posix_fallocate.3:28 msgid "posix_fallocate - allocate file space" msgstr "posix_fallocate - ファイルのスペースを確保する" #. type: Plain text -#: build/C/man3/posix_fallocate.3:31 +#: build/C/man3/posix_fallocate.3:33 #, no-wrap msgid "BIB<, off_t >IB<, off_t >IB<);>\n" msgstr "BIB<, off_t >IB<, off_t >IB<);>\n" #. type: Plain text -#: build/C/man3/posix_fallocate.3:40 +#: build/C/man3/posix_fallocate.3:42 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man3/posix_fallocate.3:59 +#: build/C/man3/posix_fallocate.3:61 msgid "" "The function B() ensures that disk space is allocated for " "the file referred to by the descriptor I for the bytes in the range " @@ -7211,7 +7650,7 @@ msgstr "" "失敗しないことが保証される。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:64 +#: build/C/man3/posix_fallocate.3:66 msgid "" "If the size of the file is less than I+I, then the file is " "increased to this size; otherwise the file size is left unchanged." @@ -7220,7 +7659,7 @@ msgstr "" "るように拡大される。 それ以外の場合、ファイルサイズは変わらない。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:70 +#: build/C/man3/posix_fallocate.3:72 msgid "" "B() returns zero on success, or an error number on " "failure. Note that I is not set." @@ -7229,27 +7668,27 @@ msgstr "" "す。 I が設定されない点に注意すること。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:79 +#: build/C/man3/posix_fallocate.3:81 msgid "I exceeds the maximum file size." msgstr "I が最大ファイルサイズを超えている。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:89 +#: build/C/man3/posix_fallocate.3:91 msgid "I does not refer to a regular file." msgstr "I が通常のファイルとして参照されていない。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:98 +#: build/C/man3/posix_fallocate.3:100 msgid "I refers to a pipe." msgstr "I がパイプを参照している。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:101 +#: build/C/man3/posix_fallocate.3:103 msgid "B() is available since glibc 2.1.94." msgstr "B() は glibc 2.1.94 以降で利用可能である。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:126 +#: build/C/man3/posix_fallocate.3:128 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 " @@ -7264,33 +7703,33 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/posix_fallocate.3:130 -msgid "B(2), B(2), B(2)" -msgstr "B(2), B(2), B(2)" +#: build/C/man3/posix_fallocate.3:133 +msgid "B(1), B(2), B(2), B(2)" +msgstr "B(1), B(2), B(2), B(2)" #. type: TH -#: build/C/man3/posix_memalign.3:28 +#: build/C/man3/posix_memalign.3:29 #, no-wrap msgid "POSIX_MEMALIGN" msgstr "POSIX_MEMALIGN" #. type: TH -#: build/C/man3/posix_memalign.3:28 +#: build/C/man3/posix_memalign.3:29 #, no-wrap -msgid "2012-03-23" -msgstr "2012-03-23" +msgid "2013-09-02" +msgstr "2013-09-02" #. type: Plain text -#: build/C/man3/posix_memalign.3:31 +#: build/C/man3/posix_memalign.3:32 msgid "" -"posix_memalign, aligned_alloc, memalign, valloc, pvalloc - Allocate aligned " +"posix_memalign, aligned_alloc, memalign, valloc, pvalloc - allocate aligned " "memory" msgstr "" "posix_memalign, aligned_alloc, memalign, valloc, pvalloc - アラインメント\n" "されたメモリの割り当てを行う" #. type: Plain text -#: build/C/man3/posix_memalign.3:38 +#: build/C/man3/posix_memalign.3:39 #, no-wrap msgid "" "BIB<, size_t >IB<, size_t >IB<);>\n" @@ -7302,7 +7741,7 @@ msgstr "" "BIB<);>\n" #. type: Plain text -#: build/C/man3/posix_memalign.3:43 +#: build/C/man3/posix_memalign.3:44 #, no-wrap msgid "" "BIB<, size_t >IB<);>\n" @@ -7312,7 +7751,7 @@ msgstr "" "BIB<);>\n" #. type: Plain text -#: build/C/man3/posix_memalign.3:53 +#: build/C/man3/posix_memalign.3:54 msgid "" "B(): _POSIX_C_SOURCE\\ E=\\ 200112L || _XOPEN_SOURCE\\ " "E=\\ 600" @@ -7321,23 +7760,23 @@ msgstr "" "E=\\ 600" #. type: Plain text -#: build/C/man3/posix_memalign.3:56 +#: build/C/man3/posix_memalign.3:57 msgid "B(): _ISOC11_SOURCE" msgstr "B(): _ISOC11_SOURCE" #. type: Plain text -#: build/C/man3/posix_memalign.3:58 +#: build/C/man3/posix_memalign.3:59 msgid "B():" msgstr "B():" #. type: TP -#: build/C/man3/posix_memalign.3:61 +#: build/C/man3/posix_memalign.3:62 #, no-wrap msgid "Since glibc 2.12:" msgstr "glibc 2.12 以降:" #. type: Plain text -#: build/C/man3/posix_memalign.3:68 +#: build/C/man3/posix_memalign.3:69 #, no-wrap msgid "" "_BSD_SOURCE ||\n" @@ -7351,13 +7790,13 @@ msgstr "" " !(_POSIX_C_SOURCE\\ E=\\ 200112L || _XOPEN_SOURCE\\ E=\\ 600)\n" #. type: TP -#: build/C/man3/posix_memalign.3:70 +#: build/C/man3/posix_memalign.3:71 #, no-wrap msgid "Before glibc 2.12:" msgstr "glibc 2.12 より前:" #. type: Plain text -#: build/C/man3/posix_memalign.3:74 +#: build/C/man3/posix_memalign.3:75 msgid "" "_BSD_SOURCE || _XOPEN_SOURCE\\ E=\\ 500 || _XOPEN_SOURCE\\ &&\\ " "_XOPEN_SOURCE_EXTENDED" @@ -7366,7 +7805,7 @@ msgstr "" "_XOPEN_SOURCE_EXTENDED" #. type: Plain text -#: build/C/man3/posix_memalign.3:81 +#: build/C/man3/posix_memalign.3:82 msgid "" "(The (nonstandard) header file Imalloc.hE> also exposes the " "declaration of B(); no feature test macros are required.)" @@ -7376,26 +7815,26 @@ msgstr "" #. glibc does this: #. type: Plain text -#: build/C/man3/posix_memalign.3:102 +#: build/C/man3/posix_memalign.3:104 msgid "" "The function B() allocates I bytes and places the " "address of the allocated memory in I<*memptr>. The address of the allocated " "memory will be a multiple of I, which must be a power of two and " -"a multiple of I. If I is 0, then B() " -"returns either NULL, or a unique pointer value that can later be " +"a multiple of I. If I is 0, then the value placed " +"in I<*memptr> is either NULL, or a unique pointer value that can later be " "successfully passed to B(3)." msgstr "" "関数 B() は、 I バイトのメモリを割り当て、割り当てられ" "たメモリのアドレスを I<*memptr> に設定する。 割り当てられたメモリのアドレス" "は I の倍数になっているはずである。 I は 2 のべき乗で、" -"かつ I の倍数でなければならない。 I が 0 の場合、 " -"B() は NULL か一意なポインタ値を返す。 このポインタ値は、後" -"で B(3) に問題なく渡すことができる。" +"かつ I の倍数でなければならない。 I が 0 の場合、 " +"I<*memptr> には NULL か一意なポインタ値が書かれる。 このポインタ値は、後で " +"B(3) に問題なく渡すことができる。" #. The behavior of memalign() for size==0 is as for posix_memalign() #. but no standards govern this. #. type: Plain text -#: build/C/man3/posix_memalign.3:113 +#: build/C/man3/posix_memalign.3:115 msgid "" "The obsolete function B() allocates I bytes and returns a " "pointer to the allocated memory. The memory address will be a multiple of " @@ -7406,7 +7845,7 @@ msgstr "" "の倍数になっているはずである。 I は 2 のべき乗でなければならない。" #. type: Plain text -#: build/C/man3/posix_memalign.3:122 +#: build/C/man3/posix_memalign.3:124 msgid "" "The function B() is the same as B(), except for " "the added restriction that I should be a multiple of I." @@ -7416,7 +7855,7 @@ msgstr "" "の倍数でなければならないという追加の制限がある点が異なる。" #. type: Plain text -#: build/C/man3/posix_memalign.3:132 +#: build/C/man3/posix_memalign.3:133 msgid "" "The obsolete function B() allocates I bytes and returns a " "pointer to the allocated memory. The memory address will be a multiple of " @@ -7428,7 +7867,7 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/posix_memalign.3:139 +#: build/C/man3/posix_memalign.3:140 msgid "" "The obsolete function B() is similar to B(), but rounds " "the size of the allocation up to the next multiple of the system page size." @@ -7437,12 +7876,12 @@ msgstr "" "割り当てられるサイズがシステムのページサイズの倍数に切り上げられる。" #. type: Plain text -#: build/C/man3/posix_memalign.3:141 +#: build/C/man3/posix_memalign.3:142 msgid "For all of these functions, the memory is not zeroed." msgstr "これらの関数はいずれもメモリのゼロクリアを行わない。" #. type: Plain text -#: build/C/man3/posix_memalign.3:148 +#: build/C/man3/posix_memalign.3:149 msgid "" "B(), B(), B(), and B() return a " "pointer to the allocated memory, or NULL if the request fails." @@ -7452,31 +7891,32 @@ msgstr "" "メモリへのポインタを返す。 割り当てに失敗した場合は NULL を返す。" #. type: Plain text -#: build/C/man3/posix_memalign.3:155 +#: build/C/man3/posix_memalign.3:157 msgid "" "B() returns zero on success, or one of the error values " -"listed in the next section on failure. Note that I is not set." +"listed in the next section on failure. The value of I is " +"indeterminate after a call to B()." msgstr "" "B() は成功した場合は 0 を返し、 失敗した場合は次のセクション" -"に記載されたエラー値のいずれかを返す。 I はセットされないことに注意す" -"ること。" +"に記載されたエラー値のいずれかを返す。 B() の呼び出し後は " +"I の値は不定である。" #. type: Plain text -#: build/C/man3/posix_memalign.3:162 +#: build/C/man3/posix_memalign.3:164 msgid "" "The I argument was not a power of two, or was not a multiple of " -"I." +"I." msgstr "" -"I 引き数が 2 のべき乗でなかったか、 I の倍数でな" +"I 引き数が 2 のべき乗でなかったか、 I の倍数でな" "かった。" #. type: Plain text -#: build/C/man3/posix_memalign.3:165 +#: build/C/man3/posix_memalign.3:167 msgid "There was insufficient memory to fulfill the allocation request." msgstr "割り当て要求を満たすのに十分なメモリがなかった。" #. type: Plain text -#: build/C/man3/posix_memalign.3:172 +#: build/C/man3/posix_memalign.3:174 msgid "" "The functions B(), B(), and B() have been " "available in all Linux libc libraries." @@ -7485,17 +7925,17 @@ msgstr "" "すべての Linux libc ライブラリで使用可能である。" #. type: Plain text -#: build/C/man3/posix_memalign.3:176 +#: build/C/man3/posix_memalign.3:178 msgid "The function B() was added to glibc in version 2.16." msgstr "関数 B() は glibc バージョン 2.16 で追加された。" #. type: Plain text -#: build/C/man3/posix_memalign.3:180 +#: build/C/man3/posix_memalign.3:182 msgid "The function B() is available since glibc 2.1.91." msgstr "関数 B() は glibc 2.1.91 以降で利用可能である。" #. type: Plain text -#: build/C/man3/posix_memalign.3:187 +#: build/C/man3/posix_memalign.3:189 msgid "" "The function B() appeared in 3.0BSD. It is documented as being " "obsolete in 4.3BSD, and as legacy in SUSv2. It does not appear in " @@ -7506,33 +7946,33 @@ msgstr "" "SUSv2 では過去の名残だと記載されている。 POSIX.1-2001 には存在しない。" #. type: Plain text -#: build/C/man3/posix_memalign.3:191 +#: build/C/man3/posix_memalign.3:193 msgid "The function B() is a GNU extension." msgstr "関数 B() は GNU による拡張である。" #. type: Plain text -#: build/C/man3/posix_memalign.3:195 +#: build/C/man3/posix_memalign.3:197 msgid "The function B() appears in SunOS 4.1.3 but not in 4.4BSD." msgstr "関数 B() は SunOS 4.1.3 で登場したが、4.4BSD にはない。" #. type: Plain text -#: build/C/man3/posix_memalign.3:199 +#: build/C/man3/posix_memalign.3:201 msgid "The function B() comes from POSIX.1d." msgstr "関数 B() は POSIX.1d に由来する。" #. type: Plain text -#: build/C/man3/posix_memalign.3:204 +#: build/C/man3/posix_memalign.3:206 msgid "The function B() is specified in the C11 standard." msgstr "関数 I() は C11 標準で規定されている。" #. type: SS -#: build/C/man3/posix_memalign.3:204 +#: build/C/man3/posix_memalign.3:206 #, no-wrap msgid "Headers" msgstr "ヘッダ" #. type: Plain text -#: build/C/man3/posix_memalign.3:208 +#: build/C/man3/posix_memalign.3:210 msgid "" "Everybody agrees that B() is declared in Istdlib." "hE>." @@ -7541,7 +7981,7 @@ msgstr "" "の意見が一致している。" #. type: Plain text -#: build/C/man3/posix_memalign.3:212 +#: build/C/man3/posix_memalign.3:214 msgid "" "On some systems B() is declared in Istdlib.hE> instead " "of Imalloc.hE>." @@ -7550,7 +7990,7 @@ msgstr "" "Istdlib.hE> で宣言されている。" #. type: Plain text -#: build/C/man3/posix_memalign.3:219 +#: build/C/man3/posix_memalign.3:221 msgid "" "According to SUSv2, B() is declared in Istdlib.hE>. " "Libc4,5 and glibc declare it in Imalloc.hE>, and also in " @@ -7563,7 +8003,7 @@ msgstr "" "マクロが定義された場合には Istdlib.hE> でも宣言される(上記を参照)。" #. type: Plain text -#: build/C/man3/posix_memalign.3:228 +#: build/C/man3/posix_memalign.3:230 msgid "" "On many systems there are alignment restrictions, for example, on buffers " "used for direct block device I/O. POSIX specifies the I() verifies that I matches the requirements " "detailed above. B() may not check that the I argument " @@ -7594,13 +8034,13 @@ msgstr "" #. but not to #. .IR realloc (3). #. type: Plain text -#: build/C/man3/posix_memalign.3:265 +#: build/C/man3/posix_memalign.3:267 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 only pass to B" -"(3) a pointer gotten from B(3), while, for example, B() " -"would call B(3) and then align the obtained value). The glibc " +"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)." msgstr "" @@ -7614,10 +8054,10 @@ msgstr "" "B(3) で再利用することができる。" #. type: Plain text -#: build/C/man3/posix_memalign.3:270 +#: build/C/man3/posix_memalign.3:272 msgid "" "The glibc B(3) always returns 8-byte aligned memory addresses, so " -"these functions are only needed if you require larger alignment values." +"these functions are needed only if you require larger alignment values." msgstr "" "glibc の B(3) は常に 8 バイトにアラインメントされたメモリアドレスを\n" "返すので、ここで述べた関数が必要になるのは 8 バイトよりも大きなアラインメン" @@ -7625,7 +8065,7 @@ msgstr "" "が必要な場合だけである。" #. type: Plain text -#: build/C/man3/posix_memalign.3:275 +#: build/C/man3/posix_memalign.3:277 msgid "B(2), B(2), B(3), B(3)" msgstr "B(2), B(2), B(3), B(3)" @@ -7636,14 +8076,17 @@ msgid "READAHEAD" msgstr "READAHEAD" #. type: TH -#: build/C/man2/readahead.2:28 build/C/man7/shm_overview.7:27 -#, no-wrap -msgid "2010-09-10" -msgstr "2010-09-10" +#: build/C/man2/readahead.2:28 +#, fuzzy, no-wrap +#| msgid "2013-03-18" +msgid "2014-03-15" +msgstr "2013-03-18" #. type: Plain text #: build/C/man2/readahead.2:31 -msgid "readahead - perform file readahead into page cache" +#, fuzzy +#| msgid "readahead - perform file readahead into page cache" +msgid "readahead - initiate file readahead into page cache" msgstr "readahead - 前もってファイルをページ・キャッシュに読み込む" #. type: Plain text @@ -7653,19 +8096,38 @@ msgid "BIB<, off64_t >IB<, size_t >IB msgstr "BIB<, off64_t >IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man2/readahead.2:65 +#: build/C/man2/readahead.2:44 msgid "" -"B() populates the page cache with data from a file so that " -"subsequent reads from that file will not block on disk I/O. The I " -"argument is a file descriptor identifying the file which is to be read. The " -"I argument specifies the starting point from which data is to be " -"read and I specifies the number of bytes to be read. I/O is " +"B() initiates readahead on a file so that subsequent reads from " +"that file will be satisfied from the cache, and not block on disk I/O " +"(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 "" + +#. type: Plain text +#: build/C/man2/readahead.2:66 +#, fuzzy +#| msgid "" +#| "B() populates the page cache with data from a file so that " +#| "subsequent reads from that file will not block on disk I/O. The I " +#| "argument is a file descriptor identifying the file which is to be read. " +#| "The I argument specifies the starting point from which data is to " +#| "be read and I specifies the number of bytes to be read. I/O is " +#| "performed in whole pages, so that I is effectively rounded down " +#| "to a page boundary and bytes are read up to the next page boundary " +#| "greater than or equal to I<(offset+count)>. B() does not " +#| "read beyond the end of the file. B() blocks until the " +#| "specified data has been read. The current file offset of the open file " +#| "referred to by I is left unchanged." +msgid "" +"The I argument is a file descriptor identifying the file which is to be " +"read. The I argument specifies the starting point from which data " +"is to be read and I specifies the number of bytes to be read. I/O is " "performed in whole pages, so that I is effectively rounded down to a " "page boundary and bytes are read up to the next page boundary greater than " "or equal to I<(offset+count)>. B() does not read beyond the end " -"of the file. B() blocks until the specified data has been " -"read. The current file offset of the open file referred to by I is left " -"unchanged." +"of the file. The current file offset of the open file referred to by I " +"is left unchanged." msgstr "" "B() は、この後の同じファイルからのデータ読み込み時にディスク I/O " "で 動作が停止 (block) しないように、前もってファイルの内容を ページ・キャッ" @@ -7680,7 +8142,7 @@ msgstr "" "更されない。" #. type: Plain text -#: build/C/man2/readahead.2:71 +#: build/C/man2/readahead.2:72 msgid "" "On success, B() returns 0; on failure, -1 is returned, with " "I set to indicate the cause of the error." @@ -7689,14 +8151,14 @@ msgstr "" "ラーの原因を示す値を設定する。" #. type: Plain text -#: build/C/man2/readahead.2:76 +#: build/C/man2/readahead.2:77 msgid "I is not a valid file descriptor or is not open for reading." msgstr "" "I が有効なファイル・ディスクリプタでない、または 読み込み用にオープンされ" "ていない。" #. type: Plain text -#: build/C/man2/readahead.2:82 +#: build/C/man2/readahead.2:83 msgid "" "I does not refer to a file type to which B() can be applied." msgstr "" @@ -7704,7 +8166,7 @@ msgstr "" "ファイルであった。" #. type: Plain text -#: build/C/man2/readahead.2:87 +#: build/C/man2/readahead.2:88 msgid "" "The B() system call appeared in Linux 2.4.13; glibc support has " "been provided since version 2.3." @@ -7713,7 +8175,7 @@ msgstr "" "は glibc バージョン 2.3 以降で行われている。" #. type: Plain text -#: build/C/man2/readahead.2:92 +#: build/C/man2/readahead.2:93 msgid "" "The B() system call is Linux-specific, and its use should be " "avoided in portable applications." @@ -7723,23 +8185,42 @@ msgstr "" #. type: Plain text #: build/C/man2/readahead.2:98 +msgid "" +"On some 32-bit architectures, the calling signature for this system call " +"differs, for the reasons described in B(2)." +msgstr "" +"いくつかの 32 ビットアーキテクチャでは、このシステムコールの呼び出しシグネ" +"チャーが違っている。 理由は B(2) で説明されている。" + +#. type: Plain text +#: build/C/man2/readahead.2:107 +msgid "" +"B() attempts to schedule the reads in the background and return " +"immediately. However, it may block while it reads the filesystem metadata " +"needed to locate the requested blocks. This occurs frequently with ext[234] " +"on large files using indirect blocks instead of extents, giving the " +"appearance that the call blocks until the requested data has been read." +msgstr "" + +#. type: Plain text +#: build/C/man2/readahead.2:113 msgid "B(2), B(2), B(2), B(2), B(2)" msgstr "" "B(2), B(2), B(2), B(2), B(2)" #. type: TH -#: build/C/man2/remap_file_pages.2:26 +#: build/C/man2/remap_file_pages.2:28 #, no-wrap msgid "REMAP_FILE_PAGES" msgstr "REMAP_FILE_PAGES" #. type: Plain text -#: build/C/man2/remap_file_pages.2:29 +#: build/C/man2/remap_file_pages.2:31 msgid "remap_file_pages - create a nonlinear file mapping" msgstr "remap_file_pages - 非線形ファイルマッピングを作成する。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:33 +#: build/C/man2/remap_file_pages.2:35 #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" @@ -7749,7 +8230,7 @@ msgstr "" "B<#include Esys/mman.hE>\n" #. type: Plain text -#: build/C/man2/remap_file_pages.2:36 +#: build/C/man2/remap_file_pages.2:38 #, no-wrap msgid "" "BIB<, size_t >IB<, int >IB<,>\n" @@ -7759,7 +8240,7 @@ msgstr "" "B< ssize_t >IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man2/remap_file_pages.2:49 +#: build/C/man2/remap_file_pages.2:51 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 " @@ -7775,18 +8256,18 @@ msgstr "" "域) データ構造体を追加で作成する必要がないことである。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:51 +#: build/C/man2/remap_file_pages.2:53 msgid "To create a nonlinear mapping we perform the following steps:" msgstr "非線形マッピングを作成するためには、 以下のようなステップを実行する:" #. type: TP -#: build/C/man2/remap_file_pages.2:51 +#: build/C/man2/remap_file_pages.2:53 #, no-wrap msgid "1." msgstr "1." #. type: Plain text -#: build/C/man2/remap_file_pages.2:59 +#: build/C/man2/remap_file_pages.2:61 msgid "" "Use B(2) to create a mapping (which is initially linear). This " "mapping must be created with the B flag." @@ -7796,13 +8277,13 @@ msgstr "" "い。" #. type: TP -#: build/C/man2/remap_file_pages.2:59 +#: build/C/man2/remap_file_pages.2:61 #, no-wrap msgid "2." msgstr "2." #. type: Plain text -#: build/C/man2/remap_file_pages.2:67 +#: build/C/man2/remap_file_pages.2:69 msgid "" "Use one or more calls to B() to rearrange the " "correspondence between the pages of the mapping and the pages of the file. " @@ -7814,7 +8295,7 @@ msgstr "" "所に マップすることが可能である。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:78 +#: build/C/man2/remap_file_pages.2:80 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 " @@ -7825,7 +8306,7 @@ msgstr "" "る。 I は領域の長さであり、単位はバイトである。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:96 +#: build/C/man2/remap_file_pages.2:98 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 " @@ -7843,7 +8324,7 @@ msgstr "" #. the analogous arguments for munmap()/mprotect() and for mlock(). #. MTK, 14 Sep 2005 #. type: Plain text -#: build/C/man2/remap_file_pages.2:110 +#: build/C/man2/remap_file_pages.2:112 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 " @@ -7854,12 +8335,12 @@ msgstr "" "「切り下げる」。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:114 +#: build/C/man2/remap_file_pages.2:116 msgid "The I argument must be specified as 0." msgstr "I 引き数は 0 に指定されなければならない。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:122 +#: build/C/man2/remap_file_pages.2:124 msgid "" "The I argument has the same meaning as for B(2), but all flags " "other than B are ignored." @@ -7868,7 +8349,7 @@ msgstr "" "の全てのフラグは無視される。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:129 +#: build/C/man2/remap_file_pages.2:131 msgid "" "On success, B() returns 0. On error, -1 is returned, and " "I is set appropriately." @@ -7877,7 +8358,7 @@ msgstr "" "れ、 I が適切に設定される。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:137 +#: build/C/man2/remap_file_pages.2:139 msgid "" "I does not refer to a valid mapping created with the B " "flag." @@ -7887,12 +8368,12 @@ msgstr "" #. And possibly others from vma->vm_ops->populate() #. type: Plain text -#: build/C/man2/remap_file_pages.2:146 +#: build/C/man2/remap_file_pages.2:148 msgid "I, I, I, or I is invalid." msgstr "I, I, I, I のいずれかが不正である。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:151 +#: build/C/man2/remap_file_pages.2:153 msgid "" "The B() system call appeared in Linux 2.5.46; glibc " "support was added in version 2.3.3." @@ -7901,12 +8382,12 @@ msgstr "" "サポートは glibc バージョン 2.3.3 で追加された。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:155 +#: build/C/man2/remap_file_pages.2:157 msgid "The B() system call is Linux-specific." msgstr "B() システムコールは Linux 固有のものである。" #. type: Plain text -#: build/C/man2/remap_file_pages.2:162 +#: build/C/man2/remap_file_pages.2:164 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2)" @@ -7929,10 +8410,10 @@ msgstr "2009-02-25" #. type: Plain text #: build/C/man3/shm_open.3:29 msgid "" -"shm_open, shm_unlink - Create/open or unlink POSIX shared memory objects" +"shm_open, shm_unlink - create/open or unlink POSIX shared memory objects" msgstr "" -"shm_open, shm_unlink - POSIX 共有メモリ・オブジェクトの作成/オープン、 削除を" -"行う" +"shm_open, shm_unlink - POSIX 共有メモリ・オブジェクトの作成/オープン/削除を行" +"う" #. type: Plain text #: build/C/man3/shm_open.3:33 @@ -7949,8 +8430,7 @@ msgstr "B<#include Efcntl.hE> /* O_* 定数の定義用 */" msgid "" "BIB<, int >IB<, mode_t >IB<);>" msgstr "" -"BIB<, int >IB<, mode_t " -">IB<);>" +"BIB<, int >IB<, mode_t >IB<);>" #. type: Plain text #: build/C/man3/shm_open.3:39 @@ -8016,36 +8496,36 @@ msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:87 +#: build/C/man3/shm_open.3:89 msgid "" "Open the object for read access. A shared memory object opened in this way " -"can only be B(2)ed for read (B) access." +"can be B(2)ed only for read (B) access." msgstr "" "読み出しアクセス用にオブジェクトをオープンする。 このフラグを指定してオープン" "された共有メモリ・オブジェクトは、 読み出し (B) アクセスでのみ " "B(2) することができる。" #. type: TP -#: build/C/man3/shm_open.3:87 +#: build/C/man3/shm_open.3:89 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:90 +#: build/C/man3/shm_open.3:92 msgid "Open the object for read-write access." msgstr "読み書きアクセス用にオブジェクトをオープンする。" #. type: TP -#: build/C/man3/shm_open.3:90 +#: build/C/man3/shm_open.3:92 #, no-wrap msgid "B" msgstr "B" -#. In truth it is actually the file system IDs on Linux, but these +#. In truth it is actually the filesystem IDs on Linux, but these #. are nearly always the same as the effective IDs. (MTK, Jul 05) #. type: Plain text -#: build/C/man3/shm_open.3:110 +#: build/C/man3/shm_open.3:112 msgid "" "Create the shared memory object if it does not exist. The user and group " "ownership of the object are taken from the corresponding effective IDs of " @@ -8065,7 +8545,7 @@ msgstr "" "hE> のインクルードにより得られる)。" #. type: Plain text -#: build/C/man3/shm_open.3:116 +#: build/C/man3/shm_open.3:118 msgid "" "A new shared memory object initially has zero length\\(emthe size of the " "object can be set using B(2). The newly allocated bytes of a " @@ -8076,13 +8556,13 @@ msgstr "" "して新規に確保されたバイトは自動的に 0 に初期化される。" #. type: TP -#: build/C/man3/shm_open.3:116 +#: build/C/man3/shm_open.3:118 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:125 +#: build/C/man3/shm_open.3:127 msgid "" "If B was also specified, and a shared memory object with the given " "I already exists, return an error. The check for the existence of the " @@ -8094,20 +8574,20 @@ msgstr "" "atomically)。" #. type: TP -#: build/C/man3/shm_open.3:125 +#: build/C/man3/shm_open.3:127 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:128 +#: build/C/man3/shm_open.3:130 msgid "If the shared memory object already exists, truncate it to zero bytes." msgstr "" "共有メモリ・オブジェクトがすでに存在した場合、 そのオブジェクトを 0 バイトに" "切り詰める。" #. type: Plain text -#: build/C/man3/shm_open.3:131 +#: build/C/man3/shm_open.3:133 msgid "" "Definitions of these flag values can be obtained by including Ifcntl." "hE>." @@ -8115,7 +8595,7 @@ msgstr "" "これらのフラグ値の定義は Ifcntl.hE> のインクルードにより得られる。" #. type: Plain text -#: build/C/man3/shm_open.3:142 +#: build/C/man3/shm_open.3:144 msgid "" "On successful completion B() returns a new file descriptor " "referring to the shared memory object. This file descriptor is guaranteed " @@ -8130,7 +8610,7 @@ msgstr "" "ファイル・ディスクリプタに設定される。" #. type: Plain text -#: build/C/man3/shm_open.3:151 +#: build/C/man3/shm_open.3:153 msgid "" "The file descriptor is normally used in subsequent calls to B(2) " "(for a newly created object) and B(2). After a call to B(2) " @@ -8142,7 +8622,7 @@ msgstr "" "もよく、 クローズしてもメモリ・マッピングに影響を与えることはない。" #. type: Plain text -#: build/C/man3/shm_open.3:169 +#: build/C/man3/shm_open.3:171 msgid "" "The operation of B() is analogous to B(2): it removes a " "shared memory object name, and, once all processes have unmapped the object, " @@ -8159,7 +8639,7 @@ msgstr "" "(B が指定されている場合、新しく別のオブジェクトが作成される)。" #. type: Plain text -#: build/C/man3/shm_open.3:178 +#: build/C/man3/shm_open.3:180 msgid "" "On success, B() returns a nonnegative file descriptor. On " "failure, B() returns -1. B() returns 0 on success, " @@ -8170,7 +8650,7 @@ msgstr "" "を、エラーが起こった場合 -1 を返す。" #. type: Plain text -#: build/C/man3/shm_open.3:185 +#: build/C/man3/shm_open.3:187 msgid "" "On failure, I is set to indicate the cause of the error. Values " "which may appear in I include the following:" @@ -8179,12 +8659,12 @@ msgstr "" "される値は以下の通りである:" #. type: Plain text -#: build/C/man3/shm_open.3:190 +#: build/C/man3/shm_open.3:192 msgid "Permission to B() the shared memory object was denied." msgstr "共有メモリオブジェクトを B() する権限がなかった。" #. type: Plain text -#: build/C/man3/shm_open.3:200 +#: build/C/man3/shm_open.3:202 msgid "" "Permission was denied to B() I in the specified I, or " "B was specified and the caller does not have write permission on " @@ -8195,13 +8675,13 @@ msgstr "" "み権限が なかった。" #. type: TP -#: build/C/man3/shm_open.3:200 build/C/man2/shmget.2:192 +#: build/C/man3/shm_open.3:202 build/C/man2/shmget.2:195 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:211 +#: build/C/man3/shm_open.3:213 msgid "" "Both B and B were specified to B() and the " "shared memory object specified by I already exists." @@ -8210,47 +8690,47 @@ msgstr "" "定された共有メモリ・オブジェクトが既に存在した。" #. type: Plain text -#: build/C/man3/shm_open.3:218 +#: build/C/man3/shm_open.3:220 msgid "The I argument to B() was invalid." msgstr "B() に与えられた I 引き数が不正であった。" #. type: TP -#: build/C/man3/shm_open.3:218 +#: build/C/man3/shm_open.3:220 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:221 +#: build/C/man3/shm_open.3:223 msgid "The process already has the maximum number of files open." msgstr "プロセスがオープン可能なファイル数の上限にすでに達していた。" #. type: TP -#: build/C/man3/shm_open.3:221 +#: build/C/man3/shm_open.3:223 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:227 +#: build/C/man3/shm_open.3:229 msgid "The length of I exceeds B." msgstr "I の長さが B を越えている。" #. type: Plain text -#: build/C/man3/shm_open.3:231 +#: build/C/man3/shm_open.3:233 msgid "" "The limit on the total number of files open on the system has been reached." msgstr "ファイルシステムでオープンできるファイル数の上限に達した。" #. type: TP -#: build/C/man3/shm_open.3:231 build/C/man3/shm_open.3:240 -#: build/C/man2/shmget.2:206 +#: build/C/man3/shm_open.3:233 build/C/man3/shm_open.3:242 +#: build/C/man2/shmget.2:209 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/shm_open.3:240 +#: build/C/man3/shm_open.3:242 msgid "" "An attempt was made to B() a I that did not exist, and " "B was not specified." @@ -8259,18 +8739,18 @@ msgstr "" "B が指定されていなかった。" #. type: Plain text -#: build/C/man3/shm_open.3:247 +#: build/C/man3/shm_open.3:249 msgid "" "An attempt was to made to B() a I that does not exist." msgstr "存在しない I のオブジェクトを B() しようとした。" #. type: Plain text -#: build/C/man3/shm_open.3:249 +#: build/C/man3/shm_open.3:251 msgid "These functions are provided in glibc 2.2 and later." msgstr "これらの関数は glibc 2.2 以降で提供されている。" #. type: Plain text -#: build/C/man3/shm_open.3:255 +#: build/C/man3/shm_open.3:257 msgid "" "POSIX.1-2001 says that the group ownership of a newly created shared memory " "object is set to either the calling process's effective group ID or \"a " @@ -8281,7 +8761,7 @@ msgstr "" "ID」 のどちらかに設定される、と書かれている。" #. type: Plain text -#: build/C/man3/shm_open.3:264 +#: build/C/man3/shm_open.3:266 msgid "" "POSIX leaves the behavior of the combination of B and B " "unspecified. On Linux, this will successfully truncate an existing shared " @@ -8292,16 +8772,16 @@ msgstr "" "は成功する。 しかし、他の UNIX システムでも同じであるとは限らない。" #. type: Plain text -#: build/C/man3/shm_open.3:269 +#: build/C/man3/shm_open.3:271 msgid "" "The POSIX shared memory object implementation on Linux 2.4 makes use of a " -"dedicated file system, which is normally mounted under I." +"dedicated filesystem, which is normally mounted under I." msgstr "" "Linux 2.4 における POSIX 共有メモリ・オブジェクトの実装は 専用のファイルシス" "テムを使用する。そのファイルシステムは通常 I にマウントされる。" #. type: Plain text -#: build/C/man3/shm_open.3:280 +#: build/C/man3/shm_open.3:282 msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(2), B(7)" @@ -8315,9 +8795,15 @@ msgstr "" msgid "SHM_OVERVIEW" msgstr "SHM_OVERVIEW" +#. type: TH +#: build/C/man7/shm_overview.7:27 +#, no-wrap +msgid "2010-09-10" +msgstr "2010-09-10" + #. type: Plain text #: build/C/man7/shm_overview.7:30 -msgid "shm_overview - Overview of POSIX shared memory" +msgid "shm_overview - overview of POSIX shared memory" msgstr "shm_overview - POSIX 共有メモリの概要" #. type: Plain text @@ -8498,16 +8984,16 @@ msgstr "" #. type: SS #: build/C/man7/shm_overview.7:94 #, no-wrap -msgid "Accessing shared memory objects via the file system" +msgid "Accessing shared memory objects via the filesystem" msgstr "ファイルシステム経由での共有メモリオブジェクトへのアクセス" #. type: Plain text #: build/C/man7/shm_overview.7:101 msgid "" -"On Linux, shared memory objects are created in a (I) virtual file " -"system, normally mounted under I. Since kernel 2.6.19, Linux " +"On Linux, shared memory objects are created in a (I) virtual " +"filesystem, normally mounted under I. Since kernel 2.6.19, Linux " "supports the use of access control lists (ACLs) to control the permissions " -"of objects in the virtual file system." +"of objects in the virtual filesystem." msgstr "" "Linux では、共有メモリオブジェクトは通常 I 以下にマウントされる仮想" "ファイルシステム (I) 内に作成される。 カーネル 2.6.19 以降の Linux で" @@ -8548,50 +9034,51 @@ msgstr "" "B(3), B(7)" #. type: TH -#: build/C/man2/shmctl.2:43 +#: build/C/man2/shmctl.2:45 #, no-wrap msgid "SHMCTL" msgstr "SHMCTL" #. type: TH -#: build/C/man2/shmctl.2:43 -#, no-wrap -msgid "2008-08-07" -msgstr "2008-08-07" +#: build/C/man2/shmctl.2:45 +#, fuzzy, no-wrap +#| msgid "2013-02-12" +msgid "2014-02-07" +msgstr "2013-02-12" #. type: Plain text -#: build/C/man2/shmctl.2:46 -msgid "shmctl - shared memory control" -msgstr "shmctl - 共有メモリ (shared memory) を制御する" +#: build/C/man2/shmctl.2:48 +msgid "shmctl - System V shared memory control" +msgstr "shmctl - System V 共有メモリ (shared memory) を制御する" #. type: Plain text -#: build/C/man2/shmctl.2:49 build/C/man2/shmget.2:42 +#: build/C/man2/shmctl.2:51 build/C/man2/shmget.2:44 msgid "B<#include Esys/ipc.hE>" msgstr "B<#include Esys/ipc.hE>" #. type: Plain text -#: build/C/man2/shmctl.2:51 build/C/man2/shmget.2:44 +#: build/C/man2/shmctl.2:53 build/C/man2/shmget.2:46 msgid "B<#include Esys/shm.hE>" msgstr "B<#include Esys/shm.hE>" #. type: Plain text -#: build/C/man2/shmctl.2:53 +#: build/C/man2/shmctl.2:55 msgid "" "BIB<, int >IB<, struct shmid_ds *>IB<);>" msgstr "" "BIB<, int >IB<, struct shmid_ds *>IB<);>" #. type: Plain text -#: build/C/man2/shmctl.2:60 +#: build/C/man2/shmctl.2:62 msgid "" "B() performs the control operation specified by I on the " -"shared memory segment whose identifier is given in I." +"System V shared memory segment whose identifier is given in I." msgstr "" -"B() は、識別子が I の共有メモリ・セグメントに対して I で" -"指示した制御命令を実行する。" +"B() は、識別子が I の System V 共有メモリ・セグメントに対し" +"て I で指示した制御命令を実行する。" #. type: Plain text -#: build/C/man2/shmctl.2:65 +#: build/C/man2/shmctl.2:67 msgid "" "The I argument is a pointer to a I structure, defined in " "Isys/shm.hE> as follows:" @@ -8600,7 +9087,7 @@ msgstr "" "Isys/shm.hE> で以下のように定義されている" #. type: Plain text -#: build/C/man2/shmctl.2:79 +#: build/C/man2/shmctl.2:81 #, no-wrap msgid "" "struct shmid_ds {\n" @@ -8628,16 +9115,16 @@ msgstr "" "};\n" #. type: Plain text -#: build/C/man2/shmctl.2:87 +#: build/C/man2/shmctl.2:89 msgid "" -"The I structure is defined in Isys/ipc.hE> as follows " -"(the highlighted fields are settable using B):" +"The I structure is defined as follows (the highlighted fields are " +"settable using B):" msgstr "" -"I 構造体は Isys/ipc.hE> で以下のように定義されている (強" -"調されたフィールドは B を使って設定可能である):" +"I 構造体は以下のように定義されている (強調されたフィールドは " +"B を使って設定可能である):" #. type: Plain text -#: build/C/man2/shmctl.2:100 +#: build/C/man2/shmctl.2:102 #, no-wrap msgid "" "struct ipc_perm {\n" @@ -8663,18 +9150,18 @@ msgstr "" "};\n" #. type: Plain text -#: build/C/man2/shmctl.2:106 +#: build/C/man2/shmctl.2:108 msgid "Valid values for I are:" msgstr "I として有効な値は以下の通り:" #. type: TP -#: build/C/man2/shmctl.2:107 +#: build/C/man2/shmctl.2:109 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmctl.2:116 +#: build/C/man2/shmctl.2:118 msgid "" "Copy information from the kernel data structure associated with I " "into the I structure pointed to by I. The caller must have " @@ -8685,13 +9172,13 @@ msgstr "" "読み込み許可を持たなければならない。" #. type: TP -#: build/C/man2/shmctl.2:116 +#: build/C/man2/shmctl.2:118 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmctl.2:134 +#: build/C/man2/shmctl.2:136 msgid "" "Write the values of some members of the I structure pointed to by " "I to the kernel data structure associated with this shared memory " @@ -8709,21 +9196,28 @@ msgstr "" "と一致するか、呼び出し元が特権を持たなければならない。" #. type: TP -#: build/C/man2/shmctl.2:134 +#: build/C/man2/shmctl.2:136 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmctl.2:151 +#: build/C/man2/shmctl.2:149 +#, fuzzy +#| msgid "" +#| "Mark the segment to be destroyed. The segment will only actually be " +#| "destroyed after the last process detaches it (i.e., when the " +#| "I member of the associated structure I is zero). " +#| "The caller must be the owner or creator, or be privileged. If a segment " +#| "has been marked for destruction, then the (nonstandard) B flag " +#| "of the I field in the associated data structure retrieved " +#| "by B will be set." msgid "" "Mark the segment to be destroyed. The segment will only actually be " "destroyed after the last process detaches it (i.e., when the I " "member of the associated structure I is zero). The caller must be " -"the owner or creator, or be privileged. If a segment has been marked for " -"destruction, then the (nonstandard) B flag of the I field in the associated data structure retrieved by B will " -"be set." +"the owner or creator of the segment, or be privileged. The I argument " +"is ignored." msgstr "" "セグメントに破棄済みのマークを付ける。 セグメントは、実際には最後プロセスがセ" "グメントを分離した (関連する I 構造体の I メンバーが 0 " @@ -8733,7 +9227,27 @@ msgstr "" "が設定される。 このデータ構造体は B で取得される。" #. type: Plain text -#: build/C/man2/shmctl.2:154 +#: build/C/man2/shmctl.2:157 +#, fuzzy +#| msgid "" +#| "Prevent swapping of the shared memory segment. The caller must fault in " +#| "any pages that are required to be present after locking is enabled. If a " +#| "segment has been locked, then the (nonstandard) B flag of " +#| "the I field in the associated data structure retrieved by " +#| "B will be set." +msgid "" +"If a segment has been marked for destruction, then the (nonstandard) " +"B flag of the I field in the associated data " +"structure retrieved by B will be set." +msgstr "" +"共有メモリ・セグメントをスワップすることを防止する。 ロックが有効になった後、" +"呼び出し元は、 存在することが要求された全てのページをフォールトさせなければな" +"らない。 セグメントがロックされると、 関連するデータ構造体において " +"I フィールドの (標準的ではない) B フラグが設定さ" +"れる。 このデータ構造体は B で取得される。" + +#. type: Plain text +#: build/C/man2/shmctl.2:160 msgid "" "The caller I ensure that a segment is eventually destroyed; otherwise " "its pages that were faulted in will remain in memory or swap." @@ -8742,14 +9256,21 @@ msgstr "" "なれば、フォールト (fault) されたページは メモリかスワップ (swap) に残り続け" "る。" +#. type: Plain text +#: build/C/man2/shmctl.2:165 +msgid "" +"See also the description of I in B" +"(5)." +msgstr "B(5) の I の説明も参照のこと。" + #. type: TP -#: build/C/man2/shmctl.2:154 +#: build/C/man2/shmctl.2:165 #, no-wrap msgid "B (Linux-specific)" msgstr "B (Linux 固有)" #. type: Plain text -#: build/C/man2/shmctl.2:167 +#: build/C/man2/shmctl.2:178 msgid "" "Returns information about system-wide shared memory limits and parameters in " "the structure pointed to by I. This structure is of type I " @@ -8762,7 +9283,7 @@ msgstr "" "Isys/shm.hE> で以下のように定義される:" #. type: Plain text -#: build/C/man2/shmctl.2:181 +#: build/C/man2/shmctl.2:192 #, no-wrap msgid "" "struct shminfo {\n" @@ -8790,7 +9311,7 @@ msgstr "" "};\n" #. type: Plain text -#: build/C/man2/shmctl.2:194 +#: build/C/man2/shmctl.2:205 msgid "" "The I, I, and I settings can be changed via I " "files of the same name; see B(5) for details." @@ -8799,13 +9320,13 @@ msgstr "" "で変更可能である。 詳しくは B(5) を参照。" #. type: TP -#: build/C/man2/shmctl.2:194 +#: build/C/man2/shmctl.2:205 #, no-wrap msgid "B (Linux-specific)" msgstr "B (Linux 固有)" #. type: Plain text -#: build/C/man2/shmctl.2:205 +#: 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 " @@ -8816,7 +9337,7 @@ msgstr "" "Isys/shm.hE> で以下のように定義される:" #. type: Plain text -#: build/C/man2/shmctl.2:222 +#: build/C/man2/shmctl.2:233 #, no-wrap msgid "" "struct shm_info {\n" @@ -8848,13 +9369,13 @@ msgstr "" "};\n" #. type: TP -#: build/C/man2/shmctl.2:224 +#: build/C/man2/shmctl.2:235 #, no-wrap msgid "B (Linux-specific)" msgstr "B (Linux 固有)" #. type: Plain text -#: build/C/man2/shmctl.2:235 +#: build/C/man2/shmctl.2:246 msgid "" "Returns a I structure as for B. However, the I " "argument is not a segment identifier, but instead an index into the kernel's " @@ -8866,7 +9387,7 @@ msgstr "" "管理するカーネルの内部配列へのインデックス である。" #. type: Plain text -#: build/C/man2/shmctl.2:238 +#: build/C/man2/shmctl.2:249 msgid "" "The caller can prevent or allow swapping of a shared memory segment with the " "following I values:" @@ -8875,13 +9396,13 @@ msgstr "" "ワップされることを防止したり、許可したりできる:" #. type: TP -#: build/C/man2/shmctl.2:239 +#: build/C/man2/shmctl.2:250 #, no-wrap msgid "B (Linux-specific)" msgstr "B (Linux 固有)" #. type: Plain text -#: build/C/man2/shmctl.2:251 +#: build/C/man2/shmctl.2:262 msgid "" "Prevent swapping of the shared memory segment. The caller must fault in any " "pages that are required to be present after locking is enabled. If a " @@ -8896,13 +9417,13 @@ msgstr "" "れる。 このデータ構造体は B で取得される。" #. type: TP -#: build/C/man2/shmctl.2:251 +#: build/C/man2/shmctl.2:262 #, no-wrap msgid "B (Linux-specific)" msgstr "B (Linux 固有)" #. type: Plain text -#: build/C/man2/shmctl.2:254 +#: build/C/man2/shmctl.2:265 msgid "Unlock the segment, allowing it to be swapped out." msgstr "セグメントのロックを解除し、スワップ・アウトすることを可能にする。" @@ -8911,7 +9432,7 @@ msgstr "セグメントのロックを解除し、スワップ・アウトする #. This was a botch-up in the move to RLIMIT_MEMLOCK, and was fixed #. in 2.6.10. MTK, May 2005 #. type: Plain text -#: build/C/man2/shmctl.2:272 +#: build/C/man2/shmctl.2:283 msgid "" "In kernels before 2.6.10, only a privileged process could employ B " "and B. Since kernel 2.6.10, an unprivileged process can employ " @@ -8927,7 +9448,7 @@ msgstr "" "上限 (B(2) 参照) の範囲内に入っていることである。" #. type: Plain text -#: build/C/man2/shmctl.2:290 +#: build/C/man2/shmctl.2:301 msgid "" "A successful B or B operation returns the index of the " "highest used entry in the kernel's internal array recording information " @@ -8945,12 +9466,12 @@ msgstr "" "メモリセグメントの識別子を返す。 他の操作は、成功の場合 0 を返す。" #. type: Plain text -#: build/C/man2/shmctl.2:294 +#: build/C/man2/shmctl.2:305 msgid "On error, -1 is returned, and I is set appropriately." msgstr "エラーの場合は -1 を返し、 I を適切に設定する。" #. type: Plain text -#: build/C/man2/shmctl.2:303 +#: build/C/man2/shmctl.2:314 msgid "" "B or B is requested and I does not allow " "read access for I, and the calling process does not have the " @@ -8961,7 +9482,7 @@ msgstr "" "ケーパビリティ (capability) を持っていない。" #. type: Plain text -#: build/C/man2/shmctl.2:314 +#: build/C/man2/shmctl.2:325 msgid "" "The argument I has value B or B but the address " "pointed to by I isn't accessible." @@ -8970,18 +9491,18 @@ msgstr "" "るアドレスにアクセスできない。" #. type: TP -#: build/C/man2/shmctl.2:314 +#: build/C/man2/shmctl.2:325 build/C/man2/shmop.2:197 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmctl.2:317 +#: build/C/man2/shmctl.2:328 build/C/man2/shmop.2:200 msgid "I points to a removed identifier." msgstr "I が削除 (remove) された識別子 (identifier) を指している。" #. type: Plain text -#: build/C/man2/shmctl.2:326 +#: build/C/man2/shmctl.2:337 msgid "" "I is not a valid identifier, or I is not a valid command. Or: " "for a B operation, the index value specified in I referred " @@ -8992,7 +9513,7 @@ msgstr "" "配列のスロットを参照していた。" #. type: Plain text -#: build/C/man2/shmctl.2:337 +#: build/C/man2/shmctl.2:348 msgid "" "(In kernels since 2.6.9), B was specified and the size of the to-" "be-locked segment would mean that the total bytes in locked shared memory " @@ -9005,14 +9526,8 @@ msgstr "" "出したプロセスの実ユーザー ID についての制限を超えた。 この制限は " "B ソフト資源制限で定義される (B(2) を参照)。" -#. type: TP -#: build/C/man2/shmctl.2:337 -#, no-wrap -msgid "B" -msgstr "B" - #. type: Plain text -#: build/C/man2/shmctl.2:342 +#: build/C/man2/shmctl.2:353 msgid "" "B is attempted, and the GID or UID value is too large to be stored " "in the structure pointed to by I." @@ -9021,7 +9536,7 @@ msgstr "" "には大き過ぎる。" #. type: Plain text -#: build/C/man2/shmctl.2:354 +#: build/C/man2/shmctl.2:365 msgid "" "B or B is attempted, and the effective user ID of the " "calling process is not that of the creator (found in I), or " @@ -9033,7 +9548,7 @@ msgstr "" "特権を持たない (Linux では B ケーパビリティを持たない)。" #. type: Plain text -#: build/C/man2/shmctl.2:366 +#: build/C/man2/shmctl.2:377 msgid "" "Or (in kernels before 2.6.9), B or B was specified, " "but the process was not privileged (Linux: did not have the B " @@ -9047,24 +9562,43 @@ msgstr "" #. SVr4 documents an additional error condition EMFILE. #. type: Plain text -#: build/C/man2/shmctl.2:371 build/C/man2/shmget.2:232 -#: build/C/man2/shmop.2:229 +#: build/C/man2/shmctl.2:382 build/C/man2/shmget.2:235 +#: build/C/man2/shmop.2:234 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 +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 " +"implementations required the inclusion of these header files, and the SVID " +"also documented their inclusion. Applications intended to be portable to " +"such old systems may need to include these header files." +msgstr "" +"Linux や POSIX の全てのバージョンでは、 Isys/types.hE> と " +"Isys/ipc.hE> のインクルードは必要ない。しかしながら、いくつかの古い" +"実装ではこれらのヘッダファイルのインクルードが必要であり、 SVID でもこれらの" +"インクルードをするように記載されている。このような古いシステムへの移植性を意" +"図したアプリケーションではこれらのファイルをインクルードする必要があるかもし" +"れない。" + #. type: Plain text -#: build/C/man2/shmctl.2:382 +#: build/C/man2/shmctl.2:407 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 /proc file system interface." +"future these may modified or moved to a I filesystem interface." msgstr "" "B, B, B 操作は、 B(1) プログラムで割り当" "て済の資源に関する情報を提供するために 使用されている。将来、これらの操作は変" -"更されたり、 /proc ファイルシステムのインタフェースに移動されるかもしれない。" +"更されたり、 I ファイルシステムのインタフェースに移動されるかもしれな" +"い。" #. type: Plain text -#: build/C/man2/shmctl.2:390 +#: build/C/man2/shmctl.2:415 msgid "" "Linux permits a process to attach (B(2)) a shared memory segment " "that has already been marked for deletion using I. This " @@ -9077,7 +9611,7 @@ msgstr "" "プリケーションではこれに依存しないようにすべきである。" #. type: Plain text -#: build/C/man2/shmctl.2:403 +#: build/C/man2/shmctl.2:428 msgid "" "Various fields in a I were typed as I under Linux " "2.2 and have become I under Linux 2.4. To take advantage of this, a " @@ -9090,7 +9624,7 @@ msgstr "" "古い形式の呼び出しを I 内の B フラグで区別する。" #. type: Plain text -#: build/C/man2/shmctl.2:410 +#: build/C/man2/shmctl.2:435 msgid "" "B(2), B(2), B(2), B(2), B(7), " "B(7)" @@ -9099,46 +9633,40 @@ msgstr "" "B(7), B(7)" #. type: TH -#: build/C/man2/shmget.2:36 +#: build/C/man2/shmget.2:38 #, no-wrap msgid "SHMGET" msgstr "SHMGET" -#. type: TH -#: build/C/man2/shmget.2:36 -#, no-wrap -msgid "2006-05-02" -msgstr "2006-05-02" - #. type: Plain text -#: build/C/man2/shmget.2:39 -msgid "shmget - allocates a shared memory segment" -msgstr "shmget - 共有メモリ・セグメントを割り当てる" +#: build/C/man2/shmget.2:41 +msgid "shmget - allocates a System V shared memory segment" +msgstr "shmget - System V 共有メモリ・セグメントを割り当てる" #. type: Plain text -#: build/C/man2/shmget.2:46 +#: build/C/man2/shmget.2:48 msgid "BIB<, size_t >IB<, int >IB<);>" msgstr "BIB<, size_t >IB<, int >IB<);>" #. type: Plain text -#: build/C/man2/shmget.2:70 +#: build/C/man2/shmget.2:72 msgid "" -"B() returns the identifier of the 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." +"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 引き数に対応する共有メモリ・セグメントの識別子を返" -"す。 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:89 +#: build/C/man2/shmget.2:91 msgid "" "If I specifies both B and B and a shared memory " "segment already exists for I, then B() fails with I set " @@ -9151,18 +9679,18 @@ msgstr "" "O_EXCL> を指定した場合の動作と同じである)。" #. type: Plain text -#: build/C/man2/shmget.2:93 +#: build/C/man2/shmget.2:95 msgid "The value I is composed of:" msgstr "I は以下の内容から構成される:" #. type: TP -#: build/C/man2/shmget.2:93 +#: build/C/man2/shmget.2:95 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:100 +#: 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 " @@ -9173,26 +9701,26 @@ msgstr "" "可があるかどうかをチェックする。" #. type: TP -#: build/C/man2/shmget.2:100 +#: build/C/man2/shmget.2:102 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:103 +#: 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:103 +#: build/C/man2/shmget.2:105 #, no-wrap msgid "I" msgstr "I" #. type: Plain text -#: build/C/man2/shmget.2:113 +#: build/C/man2/shmget.2:115 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 " @@ -9204,22 +9732,22 @@ msgstr "" "ろ、システムは実行 (execute) 許可を参照しない。" #. type: TP -#: build/C/man2/shmget.2:113 +#: build/C/man2/shmget.2:115 #, no-wrap msgid "B (since Linux 2.6)" msgstr "B (Linux 2.6 以降)" #. type: Plain text -#: build/C/man2/shmget.2:119 +#: build/C/man2/shmget.2:121 msgid "" -"Allocate the segment using \"huge pages.\" See the kernel source file " +"Allocate the segment using \"huge pages.\" See the Linux kernel source file " "I for further information." msgstr "" -"\"ヒュージページ (huge page)\" を使うセグメントを割り当てる。 詳細な情報は、" -"カーネル・ソースのファイル I を参照。" +"\"ヒュージページ (huge page)\" を使うセグメントを割り当てる。詳細な情報は、" +"Linux カーネルソースのファイル I を参照。" #. type: TP -#: build/C/man2/shmget.2:119 +#: build/C/man2/shmget.2:121 #, no-wrap msgid "B (since Linux 2.6.15)" msgstr "B (Linux 2.6.15 以降)" @@ -9227,7 +9755,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:138 +#: build/C/man2/shmget.2:140 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, " @@ -9244,7 +9772,7 @@ msgstr "" "ルに関する議論も参照のこと。" #. type: Plain text -#: build/C/man2/shmget.2:146 +#: build/C/man2/shmget.2:148 msgid "" "When a new shared memory segment is created, its contents are initialized to " "zero values, and its associated data structure, I (see B" @@ -9255,7 +9783,7 @@ msgstr "" "期化される。" #. type: Plain text -#: build/C/man2/shmget.2:151 +#: build/C/man2/shmget.2:153 msgid "" "I and I are set to the effective user ID of the " "calling process." @@ -9264,7 +9792,7 @@ msgstr "" "ユーザーID を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:156 +#: build/C/man2/shmget.2:158 msgid "" "I and I are set to the effective group ID of " "the calling process." @@ -9273,7 +9801,7 @@ msgstr "" "定する。" #. type: Plain text -#: build/C/man2/shmget.2:161 +#: build/C/man2/shmget.2:163 msgid "" "The least significant 9 bits of I are set to the least " "significant 9 bit of I." @@ -9281,23 +9809,27 @@ msgstr "" "I の下位 9 ビットに I の下位 9 ビットを設定する。" #. type: Plain text -#: build/C/man2/shmget.2:165 +#: build/C/man2/shmget.2:167 msgid "I is set to the value of I." msgstr "I に I の値を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:172 -msgid "I, I, I and I are set to 0." +#: build/C/man2/shmget.2:174 +#, fuzzy +#| msgid "" +#| "I, I, I and I are set to 0." +msgid "" +"I, I, I, and I are set to 0." msgstr "" "I, I, I, I に 0 を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:175 +#: build/C/man2/shmget.2:177 msgid "I is set to the current time." msgstr "I に現在の時刻を設定する。" #. type: Plain text -#: build/C/man2/shmget.2:178 +#: build/C/man2/shmget.2:180 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." @@ -9306,20 +9838,25 @@ msgstr "" "(destruction) マークがつけられていないかのチェックが行われる。" #. type: Plain text -#: build/C/man2/shmget.2:182 +#: build/C/man2/shmget.2:185 +#, fuzzy +#| msgid "" +#| "On success, a valid shared memory identifier is returned. On errir, -1 " +#| "is returned, and I is set to indicate the error." msgid "" -"A valid segment identifier, I, is returned on success, -1 on error." +"On success, a valid shared memory identifier is returned. On error, -1 is " +"returned, and I is set to indicate the error." msgstr "" -"成功した場合、有効なセグメント識別子 I が返される。エラーの場合、 -1 " -"が返される。" +"成功の場合、有効な共有メモリ・セグメントの識別子が返される。 エラーの場合、 " +"-1 が返り、 I にエラーを示す値が設定される。" #. type: Plain text -#: build/C/man2/shmget.2:186 +#: build/C/man2/shmget.2:189 msgid "On failure, I is set to one of the following:" msgstr "失敗した場合は I が以下のどれかに設定される:" #. type: Plain text -#: build/C/man2/shmget.2:192 +#: build/C/man2/shmget.2:195 msgid "" "The user does not have permission to access the shared memory segment, and " "does not have the B capability." @@ -9328,13 +9865,13 @@ msgstr "" "B ケーパビリティも持っていない。" #. type: Plain text -#: build/C/man2/shmget.2:196 +#: build/C/man2/shmget.2:199 msgid "B was specified and the segment exists." msgstr "" "B が指定されていたが、そのセグメントが既に存在する。" #. type: Plain text -#: build/C/man2/shmget.2:202 +#: build/C/man2/shmget.2:205 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 " @@ -9346,7 +9883,7 @@ msgstr "" "在するセグメントの サイズよりも大きかった。" #. type: Plain text -#: build/C/man2/shmget.2:211 +#: build/C/man2/shmget.2:214 msgid "" "No segment exists for the given I, and B was not specified." msgstr "" @@ -9354,12 +9891,12 @@ msgstr "" "いなかった。" #. type: Plain text -#: build/C/man2/shmget.2:214 +#: build/C/man2/shmget.2:217 msgid "No memory could be allocated for segment overhead." msgstr "セグメントの管理情報 (overhead) に割り当てるメモリがなかった。" #. type: Plain text -#: build/C/man2/shmget.2:222 +#: build/C/man2/shmget.2:225 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-" @@ -9370,7 +9907,7 @@ msgstr "" "限 (B) を超過した。" #. type: Plain text -#: build/C/man2/shmget.2:229 +#: build/C/man2/shmget.2:232 msgid "" "The B flag was specified, but the caller was not privileged " "(did not have the B capability)." @@ -9379,12 +9916,12 @@ msgstr "" "(B ケーパビリティを持っていなかった)。" #. type: Plain text -#: build/C/man2/shmget.2:235 +#: build/C/man2/shmget.2:238 msgid "B is a nonportable Linux extension." msgstr "B は Linux での拡張であり、移植性はない。" #. type: Plain text -#: build/C/man2/shmget.2:245 +#: build/C/man2/shmget.2:261 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 " @@ -9396,7 +9933,7 @@ msgstr "" "視し、 (成功すれば) 新しい共有メモリ・セグメントを作成する。" #. type: Plain text -#: build/C/man2/shmget.2:249 +#: build/C/man2/shmget.2:265 msgid "" "The following limits on shared memory segment resources affect the B" "() call:" @@ -9405,13 +9942,13 @@ msgstr "" "る:" #. type: TP -#: build/C/man2/shmget.2:249 +#: build/C/man2/shmget.2:265 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:254 +#: build/C/man2/shmget.2:270 msgid "" "System wide maximum of shared memory pages (on Linux, this limit can be read " "and modified via I)." @@ -9420,13 +9957,13 @@ msgstr "" "sys/kernel/shmall> 経由で参照したり、変更したりできる)。" #. type: TP -#: build/C/man2/shmget.2:254 +#: build/C/man2/shmget.2:270 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:259 +#: build/C/man2/shmget.2:275 msgid "" "Maximum size in bytes for a shared memory segment: policy dependent (on " "Linux, this limit can be read and modified via I)." @@ -9435,13 +9972,13 @@ msgstr "" "上限値は I 経由で参照したり、変更したりできる)。" #. type: TP -#: build/C/man2/shmget.2:259 +#: build/C/man2/shmget.2:275 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man2/shmget.2:265 +#: build/C/man2/shmget.2:281 msgid "" "Minimum size in bytes for a shared memory segment: implementation dependent " "(currently 1 byte, though B is the effective minimum size)." @@ -9450,7 +9987,7 @@ msgstr "" "が、実質的な最小サイズは B である)。" #. type: TP -#: build/C/man2/shmget.2:265 +#: build/C/man2/shmget.2:281 #, no-wrap msgid "B" msgstr "B" @@ -9459,7 +9996,7 @@ msgstr "B" #. 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:274 +#: build/C/man2/shmget.2:290 msgid "" "System wide maximum number of shared memory segments: implementation " "dependent (currently 4096, was 128 before Linux 2.3.99; on Linux, this limit " @@ -9470,7 +10007,7 @@ msgstr "" "したり、変更したりできる)。" #. type: Plain text -#: build/C/man2/shmget.2:278 +#: build/C/man2/shmget.2:294 msgid "" "The implementation has no specific limits for the per-process maximum number " "of shared memory segments (B)." @@ -9479,7 +10016,7 @@ msgstr "" "上の制限はない。" #. type: Plain text -#: build/C/man2/shmget.2:284 +#: build/C/man2/shmget.2:300 msgid "" "Until version 2.3.30 Linux would return B for a B() on a " "shared memory segment scheduled for deletion." @@ -9488,7 +10025,7 @@ msgstr "" "に対して B() が行われると B を返していた。" #. type: Plain text -#: build/C/man2/shmget.2:290 +#: build/C/man2/shmget.2:306 msgid "" "The name choice B was perhaps unfortunate, B would " "more clearly show its function." @@ -9497,7 +10034,7 @@ msgstr "" "より明確にその機能を表しているだろう。" #. type: Plain text -#: build/C/man2/shmget.2:298 +#: build/C/man2/shmget.2:314 msgid "" "B(2), B(2), B(2), B(3), B(7), " "B(7), B(7)" @@ -9506,24 +10043,18 @@ msgstr "" "B(7), B(7)" #. type: TH -#: build/C/man2/shmop.2:39 +#: build/C/man2/shmop.2:41 #, no-wrap msgid "SHMOP" msgstr "SHMOP" -#. type: TH -#: build/C/man2/shmop.2:39 -#, no-wrap -msgid "2008-06-03" -msgstr "2008-06-03" - #. type: Plain text -#: build/C/man2/shmop.2:42 -msgid "shmat, shmdt - shared memory operations" -msgstr "shmat, shmdt - 共有メモリ (shared memory) の操作" +#: build/C/man2/shmop.2:44 +msgid "shmat, shmdt - System V shared memory operations" +msgstr "shmat, shmdt - System V 共有メモリ (shared memory) の操作" #. type: Plain text -#: build/C/man2/shmop.2:46 +#: build/C/man2/shmop.2:48 #, no-wrap msgid "" "B<#include Esys/types.hE>\n" @@ -9533,30 +10064,30 @@ msgstr "" "B<#include Esys/shm.hE>\n" #. type: Plain text -#: build/C/man2/shmop.2:48 +#: build/C/man2/shmop.2:50 #, no-wrap msgid "BIB<, const void *>IB<, int >IB<);>\n" msgstr "BIB<, const void *>IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man2/shmop.2:50 +#: build/C/man2/shmop.2:52 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man2/shmop.2:59 +#: build/C/man2/shmop.2:61 msgid "" -"B() attaches the 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:" +"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 で指定された共有メモリ・セグメント (shared memory " -"segment) を コールしたプロセスのアドレス空間に付加 (attach) する。 付加するア" -"ドレスは I に以下のどれかの形式で指定する:" +"B() は I で指定された System V 共有メモリ・セグメント (shared " +"memory segment) を コールしたプロセスのアドレス空間に付加 (attach) する。 付" +"加するアドレスは I に以下のどれかの形式で指定する:" #. type: Plain text -#: build/C/man2/shmop.2:65 +#: build/C/man2/shmop.2:67 msgid "" "If I is NULL, the system chooses a suitable (unused) address at " "which to attach the segment." @@ -9565,7 +10096,7 @@ msgstr "" "されていない) アドレスを選択する。" #. type: Plain text -#: build/C/man2/shmop.2:80 +#: build/C/man2/shmop.2:82 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 " @@ -9578,7 +10109,7 @@ msgstr "" "を指している必要がある。" #. type: Plain text -#: build/C/man2/shmop.2:90 +#: build/C/man2/shmop.2:92 msgid "" "If B is specified in I, the segment is attached for " "reading and the process must have read permission for the segment. " @@ -9593,7 +10124,7 @@ msgstr "" "の共有メモリ・セグメントという概念は存在しない。" #. type: Plain text -#: build/C/man2/shmop.2:105 +#: build/C/man2/shmop.2:107 msgid "" "The (Linux-specific) B flag may be specified in I to " "indicate that the mapping of the segment should replace any existing mapping " @@ -9608,7 +10139,7 @@ msgstr "" "場合は、 I が NULL であってはならない。" #. type: Plain text -#: build/C/man2/shmop.2:112 +#: build/C/man2/shmop.2:114 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 " @@ -9621,7 +10152,7 @@ msgstr "" "複数回付加することもできる。" #. type: Plain text -#: build/C/man2/shmop.2:120 +#: build/C/man2/shmop.2:122 msgid "" "A successful B() call updates the members of the I " "structure (see B(2)) associated with the shared memory segment as " @@ -9631,22 +10162,22 @@ msgstr "" "造体 (B(2) を参照) のメンバーを以下のように更新する:" #. type: Plain text -#: build/C/man2/shmop.2:123 +#: build/C/man2/shmop.2:125 msgid "I is set to the current time." msgstr "I には現在の時刻を設定する。" #. type: Plain text -#: build/C/man2/shmop.2:126 build/C/man2/shmop.2:152 +#: build/C/man2/shmop.2:128 build/C/man2/shmop.2:154 msgid "I is set to the process-ID of the calling process." msgstr "I には呼び出したプロセスのプロセス ID が設定される。" #. type: Plain text -#: build/C/man2/shmop.2:129 +#: build/C/man2/shmop.2:131 msgid "I is incremented by one." msgstr "I を 1 増加させる。" #. type: Plain text -#: build/C/man2/shmop.2:140 +#: build/C/man2/shmop.2:142 msgid "" "B() detaches the shared memory segment located at the address " "specified by I from the address space of the calling process. The " @@ -9660,7 +10191,7 @@ msgstr "" "ない。" #. type: Plain text -#: build/C/man2/shmop.2:146 +#: build/C/man2/shmop.2:148 msgid "" "On a successful B() call the system updates the members of the " "I structure associated with the shared memory segment as follows:" @@ -9669,12 +10200,12 @@ msgstr "" "I 構造体のメンバーを以下のように更新する:" #. type: Plain text -#: build/C/man2/shmop.2:149 +#: build/C/man2/shmop.2:151 msgid "I is set to the current time." msgstr "I には現在の時刻が設定される。" #. type: Plain text -#: build/C/man2/shmop.2:157 +#: build/C/man2/shmop.2:159 msgid "" "I is decremented by one. If it becomes 0 and the segment is " "marked for deletion, the segment is deleted." @@ -9683,14 +10214,14 @@ msgstr "" "セグメントは削除される。" #. type: Plain text -#: build/C/man2/shmop.2:161 +#: 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:165 +#: build/C/man2/shmop.2:167 msgid "" "After an B(2) all attached shared memory segments are detached from " "the process." @@ -9699,7 +10230,7 @@ msgstr "" "される。" #. type: Plain text -#: build/C/man2/shmop.2:169 +#: build/C/man2/shmop.2:171 msgid "" "Upon B<_exit>(2) all attached shared memory segments are detached from the " "process." @@ -9708,7 +10239,7 @@ msgstr "" "離される。" #. type: Plain text -#: build/C/man2/shmop.2:177 +#: build/C/man2/shmop.2:179 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 " @@ -9719,7 +10250,7 @@ msgstr "" "値を設定する。" #. type: Plain text -#: build/C/man2/shmop.2:183 +#: build/C/man2/shmop.2:185 msgid "" "On success B() returns 0; on error -1 is returned, and I is " "set to indicate the cause of the error." @@ -9728,13 +10259,13 @@ msgstr "" "ラーの原因を示す値を設定する。" #. type: Plain text -#: build/C/man2/shmop.2:189 +#: build/C/man2/shmop.2:191 msgid "When B() fails, I is set to one of the following:" msgstr "" "B() が失敗した場合、 I に以下の値のどれかを設定して返す:" #. type: Plain text -#: build/C/man2/shmop.2:195 +#: build/C/man2/shmop.2:197 msgid "" "The calling process does not have the required permissions for the requested " "attach type, and does not have the B capability." @@ -9743,7 +10274,7 @@ msgstr "" "B ケーパビリティ (capability) がない。" #. type: Plain text -#: build/C/man2/shmop.2:209 +#: build/C/man2/shmop.2:214 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 " @@ -9755,20 +10286,20 @@ msgstr "" "れているが、 I が NULL であった。" #. type: Plain text -#: build/C/man2/shmop.2:212 +#: build/C/man2/shmop.2:217 msgid "Could not allocate memory for the descriptor or for the page tables." msgstr "" "ディスクリプター (descriptor) やページ・テーブルのためのメモリを 割り当てるこ" "とができない。" #. type: Plain text -#: build/C/man2/shmop.2:218 +#: build/C/man2/shmop.2:223 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:226 +#: build/C/man2/shmop.2:231 msgid "" "There is no shared memory segment attached at I; or, I is " "not aligned on a page boundary." @@ -9777,20 +10308,20 @@ msgstr "" "I がページ境界に合っていない。" #. type: Plain text -#: build/C/man2/shmop.2:245 +#: build/C/man2/shmop.2:250 msgid "" "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.)" +"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.)" msgstr "" -"SVID 3 で (たぶんそれより前だと思うが) I 引き数の型は I か" -"ら I に、I() の返り値の型は I から I に" -"変更された (Linux では libc4 と libc5 のプロトタイプは I であり、" -"glibc2 のプロトタイプは I である)。" +"SVID 3 で (たぶんそれより前だと思うが) I 引き数の型は I " +"から I に、I() の返り値の型は I から I に変更された (Linux では libc4 と libc5 のプロトタイプは I で" +"あり、glibc2 のプロトタイプは I である)。" #. type: Plain text -#: build/C/man2/shmop.2:257 +#: build/C/man2/shmop.2:262 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 " @@ -9807,7 +10338,7 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man2/shmop.2:262 +#: build/C/man2/shmop.2:267 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 " @@ -9818,14 +10349,14 @@ msgstr "" "を指定しておらず、 他の多くの実装もこれをサポートしていない。" #. type: Plain text -#: build/C/man2/shmop.2:265 +#: build/C/man2/shmop.2:270 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:265 +#: build/C/man2/shmop.2:270 #, no-wrap msgid "B" msgstr "B" @@ -9834,7 +10365,7 @@ msgstr "B" #. architectures (i.e., SHMLBA != PAGE_SIZE for some architectures) #. -- MTK, Nov 04 #. type: Plain text -#: build/C/man2/shmop.2:278 +#: build/C/man2/shmop.2:283 msgid "" "Segment low boundary address multiple. Must be page aligned. For the " "current implementation the B value is B." @@ -9843,7 +10374,7 @@ msgstr "" "の実装では B の値は B である。" #. type: Plain text -#: build/C/man2/shmop.2:282 +#: build/C/man2/shmop.2:287 msgid "" "The implementation places no intrinsic limit on the per-process maximum " "number of shared memory segments (B)." @@ -9852,7 +10383,7 @@ msgstr "" "関する実装依存の制限はない。" #. type: Plain text -#: build/C/man2/shmop.2:290 +#: build/C/man2/shmop.2:295 msgid "" "B(2), B(2), B(2), B(2), B(7), " "B(7), B(7)" @@ -9861,24 +10392,24 @@ msgstr "" "B(7), B(7)" #. type: TH -#: build/C/man2/subpage_prot.2:28 +#: build/C/man2/subpage_prot.2:30 #, no-wrap msgid "SUBPAGE_PROT" msgstr "SUBPAGE_PROT" #. type: TH -#: build/C/man2/subpage_prot.2:28 +#: build/C/man2/subpage_prot.2:30 #, no-wrap -msgid "2010-10-30" -msgstr "2010-10-30" +msgid "2012-07-13" +msgstr "2012-07-13" #. type: Plain text -#: build/C/man2/subpage_prot.2:31 +#: build/C/man2/subpage_prot.2:33 msgid "subpage_prot - define a subpage protection for an address range" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:35 +#: build/C/man2/subpage_prot.2:37 #, no-wrap msgid "" "BIB<, unsigned long >IB<,>\n" @@ -9888,7 +10419,14 @@ msgstr "" "B< uint32_t *>IB<);>\n" #. type: Plain text -#: build/C/man2/subpage_prot.2:42 +#: build/C/man2/subpage_prot.2:41 +msgid "I: There is no glibc wrapper for this system call; see NOTES." +msgstr "" +"I<注>: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節" +"を参照。" + +#. type: Plain text +#: build/C/man2/subpage_prot.2:47 msgid "" "The PowerPC-specific B() system call provides the facility to " "control the access permissions on individual 4kB subpages on systems " @@ -9896,7 +10434,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:49 +#: build/C/man2/subpage_prot.2:54 msgid "" "The protection map is applied to the memory pages in the region starting at " "I and continuing for I bytes. Both of these arguments must be " @@ -9904,7 +10442,7 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:61 +#: build/C/man2/subpage_prot.2:66 msgid "" "The protection map is specified in the buffer pointed to by I. The map " "has 2 bits per 4kB subpage; thus each 32-bit word specifies the protections " @@ -9915,19 +10453,19 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:66 +#: build/C/man2/subpage_prot.2:71 msgid "" "On success, B() returns 0. Otherwise, one of the error codes " "specified below is returned." msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:72 +#: build/C/man2/subpage_prot.2:77 msgid "The buffer referred to by I is not accessible." msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:82 +#: build/C/man2/subpage_prot.2:87 msgid "" "The I or I arguments are incorrect. Both of these arguments must " "be aligned to a multiple of the system page size, and they must not refer to " @@ -9936,12 +10474,12 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:85 build/C/man2/sync_file_range.2:166 +#: build/C/man2/subpage_prot.2:90 build/C/man2/sync_file_range.2:166 msgid "Out of memory." msgstr "メモリ不足である。" #. type: Plain text -#: build/C/man2/subpage_prot.2:91 +#: build/C/man2/subpage_prot.2:96 msgid "" "This system call is provided on the PowerPC architecture since Linux " "2.6.25. The system call is provided only if the kernel is configured with " @@ -9949,7 +10487,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:98 +#: build/C/man2/subpage_prot.2:101 +msgid "" +"Glibc does not provide a wrapper for this system call; call it using " +"B(2)." +msgstr "" + +#. type: Plain text +#: build/C/man2/subpage_prot.2:106 msgid "" "Normal page protections (at the 64-kB page level) also apply; the subpage " "protection mechanism is an additional constraint, so putting 0 in a 2-bit " @@ -9957,7 +10502,7 @@ msgid "" msgstr "" #. type: SS -#: build/C/man2/subpage_prot.2:98 +#: build/C/man2/subpage_prot.2:106 #, no-wrap msgid "Rationale" msgstr "" @@ -9969,7 +10514,7 @@ msgstr "" #. But Paul Mackerass says (Oct 2010): I'm pretty sure we now only switch #. the affected segment, not the whole process. #. type: Plain text -#: build/C/man2/subpage_prot.2:120 +#: build/C/man2/subpage_prot.2:128 msgid "" "This system call is provided to assist writing emulators that operate using " "64-kB pages on PowerPC systems. When emulating systems such as x86, which " @@ -9987,14 +10532,14 @@ msgid "" msgstr "" #. type: Plain text -#: build/C/man2/subpage_prot.2:123 -msgid "B(2), B(2);" -msgstr "" +#: build/C/man2/subpage_prot.2:131 +msgid "B(2), B(2)" +msgstr "B(2), B(2)" #. type: Plain text -#: build/C/man2/subpage_prot.2:126 -msgid "the kernel source file I." -msgstr "" +#: build/C/man2/subpage_prot.2:134 +msgid "I in the Linux kernel source tree" +msgstr "Linux カーネルソースの I" #. type: TH #: build/C/man2/sync_file_range.2:30 @@ -10125,12 +10670,12 @@ msgid "" "Therefore, unless the application is strictly performing overwrites of " "already-instantiated disk blocks, there are no guarantees that the data will " "be available after a crash. There is no user interface to know if a write " -"is purely an overwrite. On file systems using copy-on-write semantics (e." -"g., I) an overwrite of existing allocated blocks is impossible. " -"When writing into preallocated space, many file systems also require calls " -"into the block allocator, which this system call does not sync out to disk. " -"This system call does not flush disk write caches and thus does not provide " -"any data integrity on systems with volatile disk write caches." +"is purely an overwrite. On filesystems using copy-on-write semantics (e.g., " +"I) an overwrite of existing allocated blocks is impossible. When " +"writing into preallocated space, many filesystems also require calls into " +"the block allocator, which this system call does not sync out to disk. This " +"system call does not flush disk write caches and thus does not provide any " +"data integrity on systems with volatile disk write caches." msgstr "" "このシステムコールは非常に危険であり、 移植性が必要なプログラムで使用すべきで" "はない。 これらの操作ではどれもファイルのメタデータの書き出しを行わない。 し" @@ -10262,7 +10807,7 @@ msgid "Out of disk space." msgstr "ディスク領域不足である。" #. FIXME . (bug?) Actually, how can 'fd' refer to a symbolic link (S_ISLNK)? -#. (In userspace at least) it isn't possible to obtain a file descriptor +#. (In user space at least) it isn't possible to obtain a file descriptor #. for a symbolic link. #. type: Plain text #: build/C/man2/sync_file_range.2:177 @@ -10289,18 +10834,24 @@ msgstr "" #. See kernel commit edd5cd4a9424f22b0fa08bef5e299d41befd5622 #. type: Plain text -#: build/C/man2/sync_file_range.2:196 +#: build/C/man2/sync_file_range.2:200 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() is flawed, since it forces a register to be wasted " -"as padding between the I and I arguments. Therefore, these " -"architectures define a different system call that orders the arguments " -"suitably:" +"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:" msgstr "" +"いくつかのアーキテクチャ (例えば、 PowerPC や ARM) では、 64 ビットの引き数は" +"適切なレジスタの組に割り当てる必要がある。 このようなアーキテクチャでは、 " +"「書式」に書かれている B() の呼び出しシグネチャーで、 引き" +"数 I と I の間のパディング (詰めもの) でレジスタが一つ消費されて" +"しまう (詳細は B(2) 参照)。 そのため、 これらのアーキテクチャでは引" +"き数が適切な順序になった別のシステムコールが定義されている。" #. type: Plain text -#: build/C/man2/sync_file_range.2:201 +#: build/C/man2/sync_file_range.2:205 #, no-wrap msgid "" "BIB<, unsigned int >IB<,>\n" @@ -10310,14 +10861,17 @@ msgstr "" "B< off64_t >IB<, off64_t >IB<);>\n" #. type: Plain text -#: build/C/man2/sync_file_range.2:206 +#: build/C/man2/sync_file_range.2:210 msgid "" "The behavior of this system call is otherwise exactly the same as " "B()." msgstr "" +"上記の点以外は、このシステムコールの動作は B() と\n" +"全く同じである。このシステムコールに対するライブラリによるサポートは\n" +"glibc では提供されていない。" #. type: Plain text -#: build/C/man2/sync_file_range.2:217 +#: build/C/man2/sync_file_range.2:221 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 " @@ -10325,29 +10879,72 @@ msgid "" "architectures where glibc support is provided, glibc transparently wraps " "B() under the name B()." msgstr "" +"このバージョンのシステムコールは、Linux 2.6.20 で ARM アーキテクチャで\n" +"初めて登場し、 B() という名前であった。\n" +"Linux 2.6.22 で、同様のシステムコールが PowerPC 用に追加された際に、\n" +"システムコールの名前が変更された。\n" +"glibc によるサポートが提供されているアーキテクチャでは、\n" +"glibc のラッパー関数は B() という名前で\n" +"B() を適切に使用するようになっている。" #. type: Plain text -#: build/C/man2/sync_file_range.2:222 +#: build/C/man2/sync_file_range.2:226 msgid "B(2), B(2), B(2), B(2)" msgstr "B(2), B(2), B(2), B(2)" -#~ msgid "2011-09-18" -#~ msgstr "2011-09-18" +#~ msgid "2013-05-12" +#~ msgstr "2013-05-12" + +#~ msgid "2013-04-17" +#~ msgstr "2013-04-17" + +#~ 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 "" +#~ "成功した場合、有効なセグメント識別子 I が返される。エラーの場合、 " +#~ "-1 が返される。" #~ msgid "" -#~ " if (argc E 1) {\n" -#~ " if (argc != 2) {\n" -#~ " fprintf(stderr, \"%s EM_CHECK_ACTION-valueE\\en\", argv[0]);\n" -#~ " exit(EXIT_FAILURE);\n" -#~ " }\n" -#~ " }\n" +#~ "The ARM architecture needs 64-bit arguments to be aligned in a suitable " +#~ "pair of registers. On this architecture, the call signature of " +#~ "B() is flawed, since it forces a register to be wasted as " +#~ "padding between the I and I arguments. Therefore, since Linux " +#~ "2.6.14, ARM defines a different system call that orders the arguments " +#~ "suitably:" #~ msgstr "" -#~ " if (argc E 1) {\n" -#~ " if (argc != 2) {\n" -#~ " fprintf(stderr, \"%s EM_CHECK_ACTION-valueE\\en\", argv[0]);\n" -#~ " exit(EXIT_FAILURE);\n" -#~ " }\n" -#~ " }\n" +#~ "ARM アーキテクチャでは、64 ビットの引き数は適切なレジスタの組に割り当て\n" +#~ "る必要がある。このアーキテクチャでは、B() の呼び出し方に\n" +#~ "は欠陥があり、それはこのシステムコールでは引き数 I と I の間の\n" +#~ "パディング (詰めもの) でレジスタが一つ消費されてしまうというものである。\n" +#~ "そのため、Linux 2.6.14 以降では、ARM では引き数が適切な順序になった別の\n" +#~ "システムコールが定義されている。" + +#~ msgid "" +#~ "The behavior of this system call is otherwise exactly the same as " +#~ "B(). No library support is provided for this system call " +#~ "in glibc." +#~ msgstr "" +#~ "上記の点以外は、このシステムコールの動作は B() と全く\n" +#~ "同じである。このシステムコールに対するライブラリによるサポートは glibc\n" +#~ "では提供されていない。" #~ msgid "" #~ "The I is not supported by the file system containing the file " @@ -10374,9 +10971,6 @@ msgstr "B(2), B(2), B(2), B(2)" #~ "権限がない場合、 B() は何もしない。 ファイルが空でない場合、ファ" #~ "イルの元の内容を上書きする。" -#~ msgid "These are GNU extensions." -#~ msgstr "この関数は GNU 拡張である。" - #~ msgid "" #~ "The output of B() will be ASCII but not in a friendly format. " #~ "So glibc comes with a perl-script called mtrace to make sense of it."