msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2013-03-26 16:48+0900\n"
+"POT-Creation-Date: 2013-09-28 04:06+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#. type: SH
-#: build/C/man2/alloc_hugepages.2:109 build/C/man3/alloca.3:60 build/C/man2/cacheflush.2:53 build/C/man2/fallocate.2:112 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:141 build/C/man2/readahead.2:65 build/C/man2/remap_file_pages.2:124 build/C/man3/shm_open.3:169 build/C/man2/shmctl.2:274 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
+#: build/C/man2/alloc_hugepages.2:109 build/C/man3/alloca.3:60 build/C/man2/cacheflush.2:53 build/C/man2/fallocate.2:112 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:65 build/C/man2/remap_file_pages.2:124 build/C/man3/shm_open.3:171 build/C/man2/shmctl.2:279 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"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man2/alloc_hugepages.2:118 build/C/man2/cacheflush.2:59 build/C/man2/fallocate.2:115 build/C/man2/madvise.2:275 build/C/man3/malloc_info.3:53 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:155 build/C/man2/readahead.2:71 build/C/man2/remap_file_pages.2:131 build/C/man3/shm_open.3:178 build/C/man2/shmctl.2:296 build/C/man2/shmget.2:184 build/C/man2/shmop.2:185 build/C/man2/subpage_prot.2:71 build/C/man2/sync_file_range.2:147
+#: build/C/man2/alloc_hugepages.2:118 build/C/man2/cacheflush.2:59 build/C/man2/fallocate.2:119 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:71 build/C/man2/remap_file_pages.2:131 build/C/man3/shm_open.3:180 build/C/man2/shmctl.2:301 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:154
+#: build/C/man2/alloc_hugepages.2:119 build/C/man2/fallocate.2:158
#, no-wrap
msgid "B<ENOSYS>"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man2/alloc_hugepages.2:130 build/C/man3/alloca.3:65 build/C/man2/cacheflush.2:75 build/C/man2/fallocate.2:195 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: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/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:180 build/C/man2/readahead.2:87 build/C/man2/remap_file_pages.2:153 build/C/man3/shm_open.3:249 build/C/man7/shm_overview.7:101 build/C/man2/shmctl.2:368 build/C/man2/shmget.2:231 build/C/man2/shmop.2:231 build/C/man2/subpage_prot.2:96 build/C/man2/sync_file_range.2:180
+#: build/C/man2/alloc_hugepages.2:130 build/C/man3/alloca.3:65 build/C/man2/cacheflush.2:75 build/C/man2/fallocate.2:199 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:87 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:373 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 ""
msgstr ""
#. type: SH
-#: build/C/man2/alloc_hugepages.2:133 build/C/man3/alloca.3:73 build/C/man2/madvise.2:346 build/C/man3/malloc_get_state.3:88 build/C/man3/malloc_hook.3:82 build/C/man3/malloc_info.3:63 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:219 build/C/man3/shm_open.3:255 build/C/man7/shm_overview.7:103 build/C/man2/shmctl.2:373 build/C/man2/shmget.2:237 build/C/man2/shmop.2:250 build/C/man2/subpage_prot.2:98 build/C/man2/sync_file_range.2:183
+#: build/C/man2/alloc_hugepages.2:133 build/C/man3/alloca.3:73 build/C/man2/madvise.2:346 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:92 build/C/man3/shm_open.3:257 build/C/man7/shm_overview.7:103 build/C/man2/shmctl.2:378 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"
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<mmap>(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<mmap>(2) to "
+"map files in this virtual filesystem."
msgstr ""
#. type: Plain text
msgstr ""
#. type: SH
-#: build/C/man2/alloc_hugepages.2:150 build/C/man3/alloca.3:155 build/C/man2/cacheflush.2:89 build/C/man2/fallocate.2:203 build/C/man2/madvise.2:379 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:260 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:730 build/C/man2/mmap2.2:98 build/C/man2/mprotect.2:229 build/C/man2/mremap.2:214 build/C/man2/msync.2:122 build/C/man3/mtrace.3:172 build/C/man2/posix_fadvise.2:189 build/C/man3/posix_fallocate.3:133 build/C/man3/posix_memalign.3:275 build/C/man2/readahead.2:98 build/C/man2/remap_file_pages.2:164 build/C/man3/shm_open.3:280 build/C/man7/shm_overview.7:127 build/C/man2/shmctl.2:425 build/C/man2/shmget.2:313 build/C/man2/shmop.2:295 build/C/man2/subpage_prot.2:134 build/C/man2/sync_file_range.2:222
+#: build/C/man2/alloc_hugepages.2:150 build/C/man3/alloca.3:157 build/C/man2/cacheflush.2:89 build/C/man2/fallocate.2:207 build/C/man2/madvise.2:379 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:98 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:103 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:431 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:162 build/C/man2/cacheflush.2:96 build/C/man2/fallocate.2:210 build/C/man2/madvise.2:386 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:267 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:737 build/C/man2/mmap2.2:105 build/C/man2/mprotect.2:236 build/C/man2/mremap.2:221 build/C/man2/msync.2:129 build/C/man3/mtrace.3:179 build/C/man2/posix_fadvise.2:196 build/C/man3/posix_fallocate.3:140 build/C/man3/posix_memalign.3:282 build/C/man2/readahead.2:105 build/C/man2/remap_file_pages.2:171 build/C/man3/shm_open.3:287 build/C/man7/shm_overview.7:134 build/C/man2/shmctl.2:432 build/C/man2/shmget.2:320 build/C/man2/shmop.2:302 build/C/man2/subpage_prot.2:141 build/C/man2/sync_file_range.2:229
+#: build/C/man2/alloc_hugepages.2:157 build/C/man3/alloca.3:164 build/C/man2/cacheflush.2:96 build/C/man2/fallocate.2:214 build/C/man2/madvise.2:386 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:105 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:110 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:438 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.50 of the Linux I<man-pages> project. A "
+"This page is part of release 3.54 of the Linux I<man-pages> 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 ""
#. type: TH
#. type: TH
#: build/C/man3/alloca.3:43
#, no-wrap
-msgid "2008-01-24"
+msgid "2013-05-12"
msgstr ""
#. type: TH
msgid ""
"Normally, B<gcc>(1) translates calls to B<alloca>() 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 I<E<lt>alloca.hE<gt>> is not "
-"included). But beware! By default the glibc version of "
-"I<E<lt>stdlib.hE<gt>> includes I<E<lt>alloca.hE<gt>> and that contains the "
-"line:"
+"I<-std=c11> option is given B<and> the header I<E<lt>alloca.hE<gt>> is not "
+"included. Otherwise (without an -ansi or -std=c* option) the glibc version "
+"of I<E<lt>stdlib.hE<gt>> includes I<E<lt>alloca.hE<gt>> and that contains "
+"the lines:"
msgstr ""
#. type: Plain text
-#: build/C/man3/alloca.3:127
+#: build/C/man3/alloca.3:129
#, no-wrap
-msgid " #define alloca(size) __builtin_alloca (size)\n"
+msgid ""
+" #ifdef __GNUC__\n"
+" #define alloca(size) __builtin_alloca (size)\n"
+" #endif\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/alloca.3:130
+#: build/C/man3/alloca.3:132
msgid "with messy consequences if one has a private version of this function."
msgstr ""
#. type: Plain text
-#: build/C/man3/alloca.3:134
+#: build/C/man3/alloca.3:136
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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/alloca.3:138
+#: build/C/man3/alloca.3:140
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 "
msgstr ""
#. type: SH
-#: build/C/man3/alloca.3:138 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:178 build/C/man2/shmget.2:299
+#: build/C/man3/alloca.3:140 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/shmget.2:300
#, no-wrap
msgid "BUGS"
msgstr ""
#. type: Plain text
-#: build/C/man3/alloca.3:143
+#: build/C/man3/alloca.3:145
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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/alloca.3:151
+#: build/C/man3/alloca.3:153
msgid ""
"On many systems B<alloca>() cannot be used inside the list of arguments of "
"a function call, because the stack space reserved by B<alloca>() would "
msgstr ""
#. type: SH
-#: build/C/man3/alloca.3:151 build/C/man2/fallocate.2:198 build/C/man2/madvise.2:371 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:254 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:92 build/C/man2/mprotect.2:226 build/C/man2/mremap.2:199 build/C/man2/msync.2:118 build/C/man3/mtrace.3:167 build/C/man2/posix_fadvise.2:183 build/C/man3/posix_fallocate.3:128 build/C/man3/posix_memalign.3:270 build/C/man2/readahead.2:92 build/C/man2/remap_file_pages.2:157 build/C/man3/shm_open.3:269 build/C/man7/shm_overview.7:114 build/C/man2/shmctl.2:418 build/C/man2/shmget.2:305 build/C/man2/shmop.2:287 build/C/man2/subpage_prot.2:128 build/C/man2/sync_file_range.2:217
+#: build/C/man3/alloca.3:153 build/C/man2/fallocate.2:202 build/C/man2/madvise.2:371 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:92 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:97 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:424 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:155
+#: build/C/man3/alloca.3:157
msgid "B<brk>(2), B<longjmp>(3), B<malloc>(3)"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/cacheflush.2:60 build/C/man2/mmap2.2:62 build/C/man2/mremap.2:142 build/C/man2/shmctl.2:305 build/C/man2/subpage_prot.2:72
+#: build/C/man2/cacheflush.2:60 build/C/man2/mmap2.2:62 build/C/man2/mremap.2:142 build/C/man2/shmctl.2:310 build/C/man2/subpage_prot.2:72
#, no-wrap
msgid "B<EFAULT>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/cacheflush.2:67 build/C/man2/fallocate.2:127 build/C/man2/madvise.2:282 build/C/man3/malloc_info.3:54 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:156 build/C/man2/readahead.2:76 build/C/man2/remap_file_pages.2:132 build/C/man2/remap_file_pages.2:139 build/C/man3/shm_open.3:211 build/C/man2/shmctl.2:319 build/C/man2/shmget.2:198 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
+#: build/C/man2/cacheflush.2:67 build/C/man2/fallocate.2:131 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:76 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:324 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<EINVAL>"
msgstr ""
#. type: Plain text
#: 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 ""
msgstr ""
#. type: TH
-#: build/C/man2/fallocate.2:11 build/C/man3/posix_fallocate.3:25 build/C/man2/shmop.2:41
+#: build/C/man2/fallocate.2:11
#, no-wrap
-msgid "2013-02-12"
+msgid "2013-06-10"
msgstr ""
#. type: Plain text
"Specifying the B<FALLOC_FL_PUNCH_HOLE> flag (available since Linux 2.6.38) "
"in I<mode> deallocates space (i.e., creates a hole) in the byte range "
"starting at I<offset> and continuing for I<len> 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 ""
#. type: Plain text
#. type: Plain text
#: build/C/man2/fallocate.2:112
msgid ""
-"Not all file systems support B<FALLOC_FL_PUNCH_HOLE>; if a file system "
-"doesn't support the operation, an error is returned."
+"Not all filesystems support B<FALLOC_FL_PUNCH_HOLE>; if a filesystem doesn't "
+"support the operation, an error is returned."
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:115
-msgid "B<fallocate>() returns zero on success, and -1 on failure."
+#: build/C/man2/fallocate.2:119
+msgid ""
+"On success, B<fallocate>() returns zero. On error, -1 is returned and "
+"I<errno> is set to indicate the error."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:116 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:72 build/C/man2/sync_file_range.2:148
+#: build/C/man2/fallocate.2:120 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:72 build/C/man2/sync_file_range.2:148
#, no-wrap
msgid "B<EBADF>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:120 build/C/man3/posix_fallocate.3:77
+#: build/C/man2/fallocate.2:124 build/C/man3/posix_fallocate.3:77
msgid "I<fd> is not a valid file descriptor, or is not opened for writing."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:120 build/C/man3/posix_fallocate.3:77
+#: build/C/man2/fallocate.2:124 build/C/man3/posix_fallocate.3:77
#, no-wrap
msgid "B<EFBIG>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:124
+#: build/C/man2/fallocate.2:128
msgid "I<offset>+I<len> exceeds the maximum file size."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:124
+#: build/C/man2/fallocate.2:128
#, no-wrap
msgid "B<EINTR>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:127
+#: build/C/man2/fallocate.2:131
msgid "A signal was caught during execution."
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:139 build/C/man3/posix_fallocate.3:87
+#: build/C/man2/fallocate.2:143 build/C/man3/posix_fallocate.3:87
msgid "I<offset> was less than 0, or I<len> was less than or equal to 0."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:139 build/C/man2/madvise.2:310 build/C/man2/sync_file_range.2:160
+#: build/C/man2/fallocate.2:143 build/C/man2/madvise.2:310 build/C/man2/sync_file_range.2:160
#, no-wrap
msgid "B<EIO>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:142
-msgid "An I/O error occurred while reading from or writing to a file system."
+#: build/C/man2/fallocate.2:146
+msgid "An I/O error occurred while reading from or writing to a filesystem."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:142 build/C/man2/mmap.2:452 build/C/man3/posix_fallocate.3:87
+#: build/C/man2/fallocate.2:146 build/C/man2/mmap.2:452 build/C/man3/posix_fallocate.3:87
#, no-wrap
msgid "B<ENODEV>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:149
+#: build/C/man2/fallocate.2:153
msgid ""
"I<fd> does not refer to a regular file or a directory. (If I<fd> is a pipe "
"or FIFO, a different error results.)"
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:149 build/C/man3/posix_fallocate.3:91 build/C/man2/shmget.2:216 build/C/man2/sync_file_range.2:166
+#: build/C/man2/fallocate.2:153 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<ENOSPC>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:154 build/C/man3/posix_fallocate.3:96
+#: build/C/man2/fallocate.2:158 build/C/man3/posix_fallocate.3:96
msgid ""
"There is not enough space left on the device containing the file referred to "
"by I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:158
+#: build/C/man2/fallocate.2:162
msgid "This kernel does not implement B<fallocate>()."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:158
+#: build/C/man2/fallocate.2:162
#, no-wrap
msgid "B<EOPNOTSUPP>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:167
+#: build/C/man2/fallocate.2:171
msgid ""
-"The file system containing the file referred to by I<fd> does not support "
-"this operation; or the I<mode> is not supported by the file system "
-"containing the file referred to by I<fd>."
+"The filesystem containing the file referred to by I<fd> does not support "
+"this operation; or the I<mode> is not supported by the filesystem containing "
+"the file referred to by I<fd>."
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:167 build/C/man2/mlock.2:143 build/C/man2/mlock.2:182 build/C/man2/mmap.2:460 build/C/man2/shmctl.2:344 build/C/man2/shmget.2:224
+#: build/C/man2/fallocate.2:171 build/C/man2/mlock.2:143 build/C/man2/mlock.2:182 build/C/man2/mmap.2:460 build/C/man2/shmctl.2:349 build/C/man2/shmget.2:225
#, no-wrap
msgid "B<EPERM>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:183
+#: build/C/man2/fallocate.2:187
msgid ""
"The file referred to by I<fd> is marked immutable (see B<chattr>(1)). Or: "
"I<mode> specifies B<FALLOC_FL_PUNCH_HOLE> and the file referred to by I<fd> "
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:183 build/C/man2/posix_fadvise.2:97 build/C/man3/posix_fallocate.3:96 build/C/man2/sync_file_range.2:169
+#: build/C/man2/fallocate.2:187 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<ESPIPE>"
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:187
+#: build/C/man2/fallocate.2:191
msgid "I<fd> refers to a pipe or FIFO."
msgstr ""
#. type: SH
-#: build/C/man2/fallocate.2:187 build/C/man3/malloc_info.3:58 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:165 build/C/man2/readahead.2:82 build/C/man2/remap_file_pages.2:148 build/C/man3/shm_open.3:247 build/C/man2/subpage_prot.2:90 build/C/man2/sync_file_range.2:177
+#: build/C/man2/fallocate.2:191 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:82 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:195
+#: build/C/man2/fallocate.2:199
msgid ""
"B<fallocate>() is available on Linux since kernel 2.6.23. Support is "
"provided by glibc since version 2.10. The B<FALLOC_FL_*> flags are defined "
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:198
+#: build/C/man2/fallocate.2:202
msgid "B<fallocate>() is Linux-specific."
msgstr ""
#. type: Plain text
-#: build/C/man2/fallocate.2:203
+#: build/C/man2/fallocate.2:207
msgid "B<fallocate>(1), B<ftruncate>(2), B<posix_fadvise>(3), B<posix_fallocate>(3)"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man2/madvise.2:35 build/C/man3/malloc_info.3:25
+#: build/C/man2/madvise.2:35
#, no-wrap
msgid "2012-04-28"
msgstr ""
#: 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<ENOSYS>."
msgstr ""
#: 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<CAP_SYS_ADMIN>) processes. "
+"operation is available only for privileged (B<CAP_SYS_ADMIN>) processes. "
"This operation may result in the calling process receiving a B<SIGBUS> 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<CONFIG_MEMORY_FAILURE>."
msgstr ""
"out of normal memory management). The effect of the B<MADV_SOFT_OFFLINE> "
"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 "
+"error-handling code; it is available only if the kernel was configured with "
"B<CONFIG_MEMORY_FAILURE>."
msgstr ""
"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<mmap>(2)). The KSM "
+"page). KSM merges only private anonymous pages (see B<mmap>(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 Linux kernel source file "
"I<Documentation/vm/ksm.txt> for more details. The B<MADV_MERGEABLE> and "
-"B<MADV_UNMERGEABLE> operations are only available if the kernel was "
+"B<MADV_UNMERGEABLE> operations are available only if the kernel was "
"configured with B<CONFIG_KSM>."
msgstr ""
#: build/C/man2/madvise.2:243
msgid ""
"Enables Transparent Huge Pages (THP) for pages in the range specified by "
-"I<addr> and I<length>. Currently, Transparent Huge Pages only work with "
+"I<addr> and I<length>. Currently, Transparent Huge Pages work only with "
"private anonymous pages (see B<mmap>(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 "
"that only ever accesses 1 byte will result in 2MB of wired memory instead of "
"one 4KB page). See the Linux kernel source file "
"I<Documentation/vm/transhuge.txt> for more details. The B<MADV_HUGEPAGE> "
-"and B<MADV_NOHUGEPAGE> operations are only available if the kernel was "
+"and B<MADV_NOHUGEPAGE> operations are available only if the kernel was "
"configured with B<CONFIG_TRANSPARENT_HUGEPAGE>."
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/madvise.2:316 build/C/man2/madvise.2:321 build/C/man2/mlock.2:123 build/C/man2/mlock.2:131 build/C/man2/mlock.2:169 build/C/man2/mmap.2: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:162 build/C/man2/shmctl.2:328 build/C/man2/shmget.2:213 build/C/man2/shmop.2:214 build/C/man2/subpage_prot.2:87 build/C/man2/sync_file_range.2:163
+#: build/C/man2/madvise.2:316 build/C/man2/madvise.2:321 build/C/man2/mlock.2:123 build/C/man2/mlock.2:131 build/C/man2/mlock.2:169 build/C/man2/mmap.2: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:333 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<ENOMEM>"
msgstr ""
msgstr ""
#. type: SS
-#: build/C/man2/madvise.2:347 build/C/man2/mlock.2:267 build/C/man2/shmget.2:293
+#: build/C/man2/madvise.2:347 build/C/man2/mlock.2:267 build/C/man2/shmget.2:294
#, no-wrap
msgid "Linux notes"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/mallinfo.3:134 build/C/man3/malloc_hook.3:89 build/C/man3/malloc_info.3:82 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
+#: 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 ""
msgstr ""
#. type: SS
-#: build/C/man3/mallinfo.3:203 build/C/man3/malloc_info.3:165 build/C/man3/mallopt.3:532 build/C/man3/mcheck.3:176 build/C/man2/mprotect.2:165
+#: 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/mprotect.2:165
#, no-wrap
msgid "Program source"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/mallinfo.3:269 build/C/man3/malloc_info.3:253 build/C/man3/mallopt.3:565 build/C/man3/mcheck.3:203 build/C/man2/mmap.2:711
+#: 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"
msgid "MALLOC_INFO"
msgstr ""
+#. type: TH
+#: build/C/man3/malloc_info.3:25 build/C/man2/shmget.2:38
+#, no-wrap
+msgid "2013-04-19"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/malloc_info.3:28
msgid "malloc_info - export malloc state to a stream"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:53
-msgid "On success, B<malloc_info>() returns 0; on error, it returns -1."
+#: build/C/man3/malloc_info.3:55
+msgid ""
+"On success, B<malloc_info>() returns 0; on error, it returns -1, with "
+"I<errno> set to indicate the cause."
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:58
+#: build/C/man3/malloc_info.3:60
msgid "I<options> was nonzero."
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:61
+#: build/C/man3/malloc_info.3:63
msgid "B<malloc_info>() was added to glibc in version 2.10."
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:63 build/C/man3/malloc_stats.3:57 build/C/man3/malloc_trim.3:62 build/C/man3/malloc_usable_size.3:50
+#: build/C/man3/malloc_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 ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:69
+#: 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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:75
+#: build/C/man3/malloc_info.3:77
msgid ""
"The B<open_memstream>(3) function can be used to send the output of "
"B<malloc_info>() directly into a buffer in memory, rather than to a file."
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:82
+#: build/C/man3/malloc_info.3:84
msgid ""
"The B<malloc_info>() function is designed to address deficiencies in "
"B<malloc_stats>(3) and B<mallinfo>(3)."
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:93
+#: 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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:100
+#: build/C/man3/malloc_info.3:102
msgid ""
"The program calls B<malloc_info>() twice to display the memory-allocation "
"state. The first call takes place before any threads are created or memory "
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:108
+#: 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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:133
+#: build/C/man3/malloc_info.3:135
#, no-wrap
msgid ""
"$ B<getconf GNU_LIBC_VERSION>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:163
+#: build/C/man3/malloc_info.3:165
#, no-wrap
msgid ""
"============ After allocating blocks ============\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:173
+#: build/C/man3/malloc_info.3:175
#, no-wrap
msgid ""
"#include E<lt>unistd.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:176
+#: build/C/man3/malloc_info.3:178
#, no-wrap
msgid ""
"static size_t blockSize;\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:179
+#: build/C/man3/malloc_info.3:181
#, no-wrap
msgid ""
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\e\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:185
+#: build/C/man3/malloc_info.3:187
#, no-wrap
msgid ""
"static void *\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:188
+#: build/C/man3/malloc_info.3:190
#, no-wrap
msgid ""
" /* The multiplier \\(aq(2 + tn)\\(aq ensures that each thread "
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:192
+#: build/C/man3/malloc_info.3:194
#, no-wrap
msgid ""
" for (j = 0; j E<lt> numBlocks; j++)\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:196
+#: build/C/man3/malloc_info.3:198
#, no-wrap
msgid ""
" sleep(100); /* Sleep until main thread terminates */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:202
+#: build/C/man3/malloc_info.3:204
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:209
+#: build/C/man3/malloc_info.3:211
#, no-wrap
msgid ""
" if (argc E<lt> 4) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:214
+#: build/C/man3/malloc_info.3:216
#, no-wrap
msgid ""
" numThreads = atoi(argv[1]);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:218
+#: build/C/man3/malloc_info.3:220
#, no-wrap
msgid ""
" thr = calloc(numThreads, sizeof(pthread_t));\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:221
+#: build/C/man3/malloc_info.3:223
#, no-wrap
msgid ""
" printf(\"============ Before allocating blocks ============\\en\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:223
+#: build/C/man3/malloc_info.3:225
#, no-wrap
msgid " /* Create threads that allocate different amounts of memory */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:229
+#: build/C/man3/malloc_info.3:231
#, no-wrap
msgid ""
" for (tn = 0; tn E<lt> numThreads; tn++) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:234
+#: build/C/man3/malloc_info.3:236
#, no-wrap
msgid ""
" /* If we add a sleep interval after the start-up of each\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:238
+#: build/C/man3/malloc_info.3:240
#, no-wrap
msgid ""
" if (sleepTime E<gt> 0)\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:240
+#: build/C/man3/malloc_info.3:242
#, no-wrap
msgid " /* The main thread also allocates some memory */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:244
+#: build/C/man3/malloc_info.3:246
#, no-wrap
msgid ""
" for (j = 0; j E<lt> numBlocks; j++)\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:247
+#: build/C/man3/malloc_info.3:249
#, no-wrap
msgid ""
" sleep(2); /* Give all threads a chance to\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:250
+#: build/C/man3/malloc_info.3:252
#, no-wrap
msgid ""
" printf(\"\\en============ After allocating blocks ============\\en\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_info.3:260
+#: build/C/man3/malloc_info.3:262
msgid ""
"B<mallinfo>(3), B<malloc>(3), B<malloc_stats>(3), B<mallopt>(3), "
"B<open_memstream>(3)"
#: build/C/man3/mcheck.3:78
msgid ""
"The B<mcheck_check_all>() function causes an immediate check on all "
-"allocated blocks. This call is only effective if B<mcheck>() is called "
+"allocated blocks. This call is effective only if B<mcheck>() is called "
"beforehand."
msgstr ""
#. type: TH
#: build/C/man2/mmap.2:40
#, no-wrap
-msgid "2013-02-25"
+msgid "2013-04-17"
msgstr ""
#. type: Plain text
#: 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 "
"zero. The I<fd> and I<offset> arguments are ignored; however, some "
"implementations require I<fd> to be -1 if B<MAP_ANONYMOUS> (or B<MAP_ANON>) "
"is specified, and portable applications should ensure this. The use of "
-"B<MAP_ANONYMOUS> in conjunction with B<MAP_SHARED> is only supported on "
-"Linux since kernel 2.4."
+"B<MAP_ANONYMOUS> in conjunction with B<MAP_SHARED> is supported on Linux "
+"only since kernel 2.4."
msgstr ""
#. type: TP
#: build/C/man2/mmap.2:257
msgid ""
"Only meaningful in conjunction with B<MAP_POPULATE>. Don't perform "
-"read-ahead: only create page tables entries for pages that are already "
+"read-ahead: create page tables entries only for pages that are already "
"present in RAM. Since Linux 2.6.23, this flag causes B<MAP_POPULATE> to do "
"nothing. One day the combination of B<MAP_POPULATE> and B<MAP_NONBLOCK> may "
"be reimplemented."
"space is not reserved one might get B<SIGSEGV> upon a write if no physical "
"memory is available. See also the discussion of the file "
"I</proc/sys/vm/overcommit_memory> in B<proc>(5). In kernels before 2.6, "
-"this flag only had effect for private writable mappings."
+"this flag had effect only for private writable mappings."
msgstr ""
#. type: TP
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<MAP_POPULATE> is only supported for private "
-"mappings since Linux 2.6.23."
+"blocked by page faults. B<MAP_POPULATE> is supported for private mappings "
+"only since Linux 2.6.23."
msgstr ""
#. type: TP
#: 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<CONFIG_MMAP_ALLOW_UNINITIALIZED> 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 "
msgstr ""
#. type: TP
-#: build/C/man2/mmap.2:393 build/C/man2/mprotect.2:86 build/C/man3/shm_open.3:185 build/C/man3/shm_open.3:190 build/C/man2/shmctl.2:297 build/C/man2/shmget.2:188 build/C/man2/shmop.2:191
+#: 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:302 build/C/man2/shmget.2:189 build/C/man2/shmop.2:191
#, no-wrap
msgid "B<EACCES>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mmap.2:444 build/C/man3/shm_open.3:227 build/C/man2/shmget.2:204
+#: build/C/man2/mmap.2:444 build/C/man3/shm_open.3:229 build/C/man2/shmget.2:205
#, no-wrap
msgid "B<ENFILE>"
msgstr ""
#. [2.6.7] shmem_zero_setup()-->shmem_file_setup()-->get_empty_filp()
#. type: Plain text
-#: build/C/man2/mmap.2:452 build/C/man2/shmget.2:208
+#: 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: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 ""
#: build/C/man2/mmap.2:469
msgid ""
"The I<prot> argument asks for B<PROT_EXEC> 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 ""
#. type: TP
msgstr ""
#. type: TP
-#: build/C/man2/mmap.2:475 build/C/man2/shmctl.2:339
+#: build/C/man2/mmap.2:475 build/C/man2/shmctl.2:344
#, no-wrap
msgid "B<EOVERFLOW>"
msgstr ""
#. type: Plain text
#: build/C/man2/mmap.2:599
msgid ""
-"In kernels before 2.6.7, the B<MAP_POPULATE> flag only has effect if I<prot> "
+"In kernels before 2.6.7, the B<MAP_POPULATE> flag has effect only if I<prot> "
"is specified as B<PROT_NONE>."
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man2/mmap.2:730 build/C/man2/msync.2:122
+#: build/C/man2/mmap.2:732
+msgid ""
+"The descriptions of the following files in B<proc>(5): I</proc/[pid]/maps>, "
+"I</proc/[pid]/map_files>, and I</proc/[pid]/smaps>."
+msgstr ""
+
+#. 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 ""
#. type: Plain text
#: build/C/man2/mmap2.2:43
msgid ""
-"This is probably not the system call you are interested; instead, see "
-"B<mmap>(2), which describes the glibc wrapper function that invokes this "
+"This is probably not the system call that you are interested in; instead, "
+"see B<mmap>(2), which describes the glibc wrapper function that invokes this "
"system call."
msgstr ""
#. type: Plain text
#: build/C/man2/mmap2.2:70
msgid ""
-"(Various platforms where the page size is not 4096 bytes.) I<offset * 4096> "
-"is not a multiple of the system page size."
+"(Various platforms where the page size is not 4096 bytes.) I<offset\\ *\\ "
+"4096> is not a multiple of the system page size."
msgstr ""
#. type: Plain text
#: build/C/man2/mprotect.2:148
msgid ""
"POSIX.1-2001 says that an implementation may permit access other than that "
-"specified in I<prot>, but at a minimum can only allow write access if "
+"specified in I<prot>, but at a minimum can allow write access only if "
"B<PROT_WRITE> has been set, and must not allow any access if B<PROT_NONE> "
"has been set."
msgstr ""
msgid ""
"This flag serves a similar purpose to the B<MAP_FIXED> flag of B<mmap>(2). "
"If this flag is specified, then B<mremap>() accepts a fifth argument, "
-"I<void *new_address>, which specifies a page-aligned address to which the "
+"I<void\\ *new_address>, which specifies a page-aligned address to which the "
"mapping must be moved. Any previous mapping at the address range specified "
"by I<new_address> and I<new_size> is unmapped. If B<MREMAP_FIXED> is "
"specified, then B<MREMAP_MAYMOVE> must also be specified."
msgstr ""
#. type: Plain text
-#: build/C/man2/msync.2:98 build/C/man3/posix_fallocate.3:105 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 ""
#. -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<msync>() is available, both "
"B<_POSIX_MAPPED_FILES> and B<_POSIX_SYNCHRONIZED_IO> are defined in "
msgstr ""
#. 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<mmap>(2)"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man2/posix_fadvise.2:28 build/C/man2/sync_file_range.2:30
+#: build/C/man2/posix_fadvise.2:28 build/C/man2/readahead.2:28 build/C/man2/sync_file_range.2:30
#, no-wrap
-msgid "2010-10-09"
+msgid "2013-04-01"
msgstr ""
#. type: Plain text
#. type: SS
#: build/C/man2/posix_fadvise.2:154
#, no-wrap
-msgid "arm_fadvise()"
+msgid "Architecture-specific variants"
msgstr ""
#. type: Plain text
-#: build/C/man2/posix_fadvise.2:166
+#: 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<posix_fadvise>() is flawed, since it forces a register to be wasted as "
-"padding between the I<fd> and I<len> 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<syscall>(2) for further detail). On such "
+"architectures, the call signature of B<posix_fadvise>() shown in the "
+"SYNOPSIS would force a register to be wasted as padding between the I<fd> "
+"and I<len> 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<posix_fadvise>()."
msgstr ""
#. type: Plain text
-#: build/C/man2/posix_fadvise.2:171
+#: build/C/man2/posix_fadvise.2:173
+msgid "For example, since Linux 2.6.14, ARM has the following system call:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/posix_fadvise.2:178
#, no-wrap
msgid ""
"B<long arm_fadvise64_64(int >I<fd>B<, int >I<advice>B<,>\n"
"B< loff_t >I<offset>B<, loff_t >I<len>B<);>\n"
msgstr ""
-#. No ARM support in glibc.
#. type: Plain text
-#: build/C/man2/posix_fadvise.2:178
+#: build/C/man2/posix_fadvise.2:186
msgid ""
-"The behavior of this system call is otherwise exactly the same as "
-"B<posix_fadvise>(). No library support is provided for this system call in "
-"glibc."
+"These architecture-specific details are generally hidden from applications "
+"by the glibc B<posix_fadvise>() wrapper function, which invokes the "
+"appropriate architecture-specific system call."
msgstr ""
#. type: Plain text
-#: build/C/man2/posix_fadvise.2:183
+#: build/C/man2/posix_fadvise.2:191
msgid ""
"In kernels before 2.6.6, if I<len> was specified as 0, then this was "
"interpreted literally as \"zero bytes\", rather than as meaning \"all bytes "
#. FIXME . Write a posix_fadvise(3) page.
#. type: Plain text
-#: build/C/man2/posix_fadvise.2:189
+#: build/C/man2/posix_fadvise.2:197
msgid ""
"B<readahead>(2), B<sync_file_range>(2), B<posix_fallocate>(3), "
"B<posix_madvise>(3)"
msgid "POSIX_FALLOCATE"
msgstr ""
+#. type: TH
+#: build/C/man3/posix_fallocate.3:25 build/C/man2/shmop.2:41
+#, no-wrap
+msgid "2013-02-12"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/posix_fallocate.3:28
msgid "posix_fallocate - allocate file space"
#. type: TH
#: build/C/man3/posix_memalign.3:29
#, no-wrap
-msgid "2012-03-23"
+msgid "2013-09-02"
msgstr ""
#. type: Plain text
#. glibc does this:
#. type: Plain text
-#: build/C/man3/posix_memalign.3:103
+#: build/C/man3/posix_memalign.3:104
msgid ""
"The function B<posix_memalign>() allocates I<size> bytes and places the "
"address of the allocated memory in I<*memptr>. The address of the allocated "
"memory will be a multiple of I<alignment>, which must be a power of two and "
-"a multiple of I<sizeof(void *)>. If I<size> is 0, then B<posix_memalign>() "
-"returns either NULL, or a unique pointer value that can later be "
+"a multiple of I<sizeof(void\\ *)>. If I<size> 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<free>(3)."
msgstr ""
#. 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:114
+#: build/C/man3/posix_memalign.3:115
msgid ""
"The obsolete function B<memalign>() allocates I<size> bytes and returns a "
"pointer to the allocated memory. The memory address will be a multiple of "
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:123
+#: build/C/man3/posix_memalign.3:124
msgid ""
"The function B<aligned_alloc>() is the same as B<memalign>(), except for "
"the added restriction that I<size> should be a multiple of I<alignment>."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:132
+#: build/C/man3/posix_memalign.3:133
msgid ""
"The obsolete function B<valloc>() allocates I<size> bytes and returns a "
"pointer to the allocated memory. The memory address will be a multiple of "
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:139
+#: build/C/man3/posix_memalign.3:140
msgid ""
"The obsolete function B<pvalloc>() is similar to B<valloc>(), but rounds "
"the size of the allocation up to the next multiple of the system page size."
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<aligned_alloc>(), B<memalign>(), B<valloc>(), and B<pvalloc>() return a "
"pointer to the allocated memory, or NULL if the request fails."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:155
+#: build/C/man3/posix_memalign.3:157
msgid ""
"B<posix_memalign>() returns zero on success, or one of the error values "
-"listed in the next section on failure. Note that I<errno> is not set."
+"listed in the next section on failure. The value of I<errno> is "
+"indeterminate after a call to B<posix_memalign>()."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:162
+#: build/C/man3/posix_memalign.3:164
msgid ""
"The I<alignment> argument was not a power of two, or was not a multiple of "
-"I<sizeof(void *)>."
+"I<sizeof(void\\ *)>."
msgstr ""
#. 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<memalign>(), B<valloc>(), and B<pvalloc>() have been "
"available in all Linux libc libraries."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:176
+#: build/C/man3/posix_memalign.3:178
msgid "The function B<aligned_alloc>() was added to glibc in version 2.16."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:180
+#: build/C/man3/posix_memalign.3:182
msgid "The function B<posix_memalign>() is available since glibc 2.1.91."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:187
+#: build/C/man3/posix_memalign.3:189
msgid ""
"The function B<valloc>() appeared in 3.0BSD. It is documented as being "
"obsolete in 4.3BSD, and as legacy in SUSv2. It does not appear in "
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:191
+#: build/C/man3/posix_memalign.3:193
msgid "The function B<pvalloc>() is a GNU extension."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:195
+#: build/C/man3/posix_memalign.3:197
msgid "The function B<memalign>() appears in SunOS 4.1.3 but not in 4.4BSD."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:199
+#: build/C/man3/posix_memalign.3:201
msgid "The function B<posix_memalign>() comes from POSIX.1d."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:204
+#: build/C/man3/posix_memalign.3:206
msgid "The function B<aligned_alloc>() is specified in the C11 standard."
msgstr ""
#. 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<posix_memalign>() is declared in "
"I<E<lt>stdlib.hE<gt>>."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:212
+#: build/C/man3/posix_memalign.3:214
msgid ""
"On some systems B<memalign>() is declared in I<E<lt>stdlib.hE<gt>> instead "
"of I<E<lt>malloc.hE<gt>>."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:219
+#: build/C/man3/posix_memalign.3:221
msgid ""
"According to SUSv2, B<valloc>() is declared in I<E<lt>stdlib.hE<gt>>. "
"Libc4,5 and glibc declare it in I<E<lt>malloc.hE<gt>>, and also in "
msgstr ""
#. 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 "
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:237
+#: build/C/man3/posix_memalign.3:239
msgid ""
"B<posix_memalign>() verifies that I<alignment> matches the requirements "
"detailed above. B<memalign>() may not check that the I<alignment> argument "
#. 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<posix_memalign>() can be freed "
"using B<free>(3). Some systems provide no way to reclaim memory allocated "
-"with B<memalign>() or B<valloc>() (because one can only pass to B<free>(3) "
-"a pointer gotten from B<malloc>(3), while, for example, B<memalign>() would "
-"call B<malloc>(3) and then align the obtained value). The glibc "
+"with B<memalign>() or B<valloc>() (because one can pass to B<free>(3) "
+"only a pointer obtained from B<malloc>(3), while, for example, B<memalign>() "
+"would call B<malloc>(3) and then align the obtained value). The glibc "
"implementation allows memory obtained from any of these functions to be "
"reclaimed with B<free>(3)."
msgstr ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:270
+#: build/C/man3/posix_memalign.3:272
msgid ""
"The glibc B<malloc>(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 ""
#. type: Plain text
-#: build/C/man3/posix_memalign.3:275
+#: build/C/man3/posix_memalign.3:277
msgid "B<brk>(2), B<getpagesize>(2), B<free>(3), B<malloc>(3)"
msgstr ""
msgid "READAHEAD"
msgstr ""
-#. type: TH
-#: build/C/man2/readahead.2:28 build/C/man7/shm_overview.7:27
-#, no-wrap
-msgid "2010-09-10"
-msgstr ""
-
#. type: Plain text
#: build/C/man2/readahead.2:31
msgid "readahead - perform file readahead into page cache"
msgstr ""
#. type: Plain text
-#: build/C/man2/readahead.2:98
+#: build/C/man2/readahead.2:97
+msgid ""
+"On some 32-bit architectures, the calling signature for this system call "
+"differs, for the reasons described in B<syscall>(2)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/readahead.2:103
msgid "B<lseek>(2), B<madvise>(2), B<mmap>(2), B<posix_fadvise>(2), B<read>(2)"
msgstr ""
msgstr ""
#. 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<mmap>(2)ed for read (B<PROT_READ>) access."
+"can be B<mmap>(2)ed only for read (B<PROT_READ>) access."
msgstr ""
#. type: TP
-#: build/C/man3/shm_open.3:87
+#: build/C/man3/shm_open.3:89
#, no-wrap
msgid "B<O_RDWR>"
msgstr ""
#. 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<O_CREAT>"
msgstr ""
-#. 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 "
msgstr ""
#. 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<ftruncate>(2). The newly allocated bytes of a "
msgstr ""
#. type: TP
-#: build/C/man3/shm_open.3:116
+#: build/C/man3/shm_open.3:118
#, no-wrap
msgid "B<O_EXCL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:125
+#: build/C/man3/shm_open.3:127
msgid ""
"If B<O_CREAT> was also specified, and a shared memory object with the given "
"I<name> already exists, return an error. The check for the existence of the "
msgstr ""
#. type: TP
-#: build/C/man3/shm_open.3:125
+#: build/C/man3/shm_open.3:127
#, no-wrap
msgid "B<O_TRUNC>"
msgstr ""
#. 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 ""
#. 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 "
"I<E<lt>fcntl.hE<gt>>."
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:142
+#: build/C/man3/shm_open.3:144
msgid ""
"On successful completion B<shm_open>() returns a new file descriptor "
"referring to the shared memory object. This file descriptor is guaranteed "
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<ftruncate>(2) "
"(for a newly created object) and B<mmap>(2). After a call to B<mmap>(2) "
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:169
+#: build/C/man3/shm_open.3:171
msgid ""
"The operation of B<shm_unlink>() is analogous to B<unlink>(2): it removes a "
"shared memory object name, and, once all processes have unmapped the object, "
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:178
+#: build/C/man3/shm_open.3:180
msgid ""
"On success, B<shm_open>() returns a nonnegative file descriptor. On "
"failure, B<shm_open>() returns -1. B<shm_unlink>() returns 0 on success, "
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:185
+#: build/C/man3/shm_open.3:187
msgid ""
"On failure, I<errno> is set to indicate the cause of the error. Values "
"which may appear in I<errno> include the following:"
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:190
+#: build/C/man3/shm_open.3:192
msgid "Permission to B<shm_unlink>() the shared memory object was denied."
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:200
+#: build/C/man3/shm_open.3:202
msgid ""
"Permission was denied to B<shm_open>() I<name> in the specified I<mode>, or "
"B<O_TRUNC> was specified and the caller does not have write permission on "
msgstr ""
#. type: TP
-#: build/C/man3/shm_open.3:200 build/C/man2/shmget.2:194
+#: build/C/man3/shm_open.3:202 build/C/man2/shmget.2:195
#, no-wrap
msgid "B<EEXIST>"
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:211
+#: build/C/man3/shm_open.3:213
msgid ""
"Both B<O_CREAT> and B<O_EXCL> were specified to B<shm_open>() and the "
"shared memory object specified by I<name> already exists."
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:218
+#: build/C/man3/shm_open.3:220
msgid "The I<name> argument to B<shm_open>() was invalid."
msgstr ""
#. type: TP
-#: build/C/man3/shm_open.3:218
+#: build/C/man3/shm_open.3:220
#, no-wrap
msgid "B<EMFILE>"
msgstr ""
#. 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<ENAMETOOLONG>"
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:227
+#: build/C/man3/shm_open.3:229
msgid "The length of I<name> exceeds B<PATH_MAX>."
msgstr ""
#. 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:208
+#: build/C/man3/shm_open.3:233 build/C/man3/shm_open.3:242 build/C/man2/shmget.2:209
#, no-wrap
msgid "B<ENOENT>"
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:240
+#: build/C/man3/shm_open.3:242
msgid ""
"An attempt was made to B<shm_open>() a I<name> that did not exist, and "
"B<O_CREAT> was not specified."
msgstr ""
#. 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<shm_unlink>() a I<name> that does not exist."
msgstr ""
#. 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 ""
#. 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 "
msgstr ""
#. 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<O_RDONLY> and B<O_TRUNC> "
"unspecified. On Linux, this will successfully truncate an existing shared "
msgstr ""
#. 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</dev/shm>."
+"dedicated filesystem, which is normally mounted under I</dev/shm>."
msgstr ""
#. type: Plain text
-#: build/C/man3/shm_open.3:280
+#: build/C/man3/shm_open.3:282
msgid ""
"B<close>(2), B<fchmod>(2), B<fchown>(2), B<fcntl>(2), B<fstat>(2), "
"B<ftruncate>(2), B<mmap>(2), B<open>(2), B<umask>(2), B<shm_overview>(7)"
msgid "SHM_OVERVIEW"
msgstr ""
+#. type: TH
+#: build/C/man7/shm_overview.7:27
+#, no-wrap
+msgid "2010-09-10"
+msgstr ""
+
#. type: Plain text
#: build/C/man7/shm_overview.7:30
msgid "shm_overview - overview of POSIX shared memory"
#. 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<tmpfs>) virtual file "
-"system, normally mounted under I</dev/shm>. Since kernel 2.6.19, Linux "
+"On Linux, shared memory objects are created in a (I<tmpfs>) virtual "
+"filesystem, normally mounted under I</dev/shm>. 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 ""
#. type: Plain text
msgstr ""
#. type: TH
-#: build/C/man2/shmctl.2:45 build/C/man2/shmget.2:38
+#: build/C/man2/shmctl.2:45
#, no-wrap
-msgid "2012-05-31"
+msgid "2013-03-18"
msgstr ""
#. type: Plain text
#: build/C/man2/shmctl.2:48
-msgid "shmctl - shared memory control"
+msgid "shmctl - System V shared memory control"
msgstr ""
#. type: Plain text
#: build/C/man2/shmctl.2:62
msgid ""
"B<shmctl>() performs the control operation specified by I<cmd> on the "
-"shared memory segment whose identifier is given in I<shmid>."
+"System V shared memory segment whose identifier is given in I<shmid>."
msgstr ""
#. type: Plain text
"its pages that were faulted in will remain in memory or swap."
msgstr ""
+#. type: Plain text
+#: build/C/man2/shmctl.2:161
+msgid ""
+"See also the description of I</proc/sys/kernel/shm_rmid_forced> in "
+"B<proc>(5)."
+msgstr ""
+
#. type: TP
-#: build/C/man2/shmctl.2:156
+#: build/C/man2/shmctl.2:161
#, no-wrap
msgid "B<IPC_INFO> (Linux-specific)"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:169
+#: build/C/man2/shmctl.2:174
msgid ""
"Returns information about system-wide shared memory limits and parameters in "
"the structure pointed to by I<buf>. This structure is of type I<shminfo> "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:183
+#: build/C/man2/shmctl.2:188
#, no-wrap
msgid ""
"struct shminfo {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:196
+#: build/C/man2/shmctl.2:201
msgid ""
"The I<shmmni>, I<shmmax>, and I<shmall> settings can be changed via I</proc> "
"files of the same name; see B<proc>(5) for details."
msgstr ""
#. type: TP
-#: build/C/man2/shmctl.2:196
+#: build/C/man2/shmctl.2:201
#, no-wrap
msgid "B<SHM_INFO> (Linux-specific)"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:207
+#: build/C/man2/shmctl.2:212
msgid ""
"Returns a I<shm_info> structure whose fields contain information about "
"system resources consumed by shared memory. This structure is defined in "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:224
+#: build/C/man2/shmctl.2:229
#, no-wrap
msgid ""
"struct shm_info {\n"
msgstr ""
#. type: TP
-#: build/C/man2/shmctl.2:226
+#: build/C/man2/shmctl.2:231
#, no-wrap
msgid "B<SHM_STAT> (Linux-specific)"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:237
+#: build/C/man2/shmctl.2:242
msgid ""
"Returns a I<shmid_ds> structure as for B<IPC_STAT>. However, the I<shmid> "
"argument is not a segment identifier, but instead an index into the kernel's "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:240
+#: build/C/man2/shmctl.2:245
msgid ""
"The caller can prevent or allow swapping of a shared memory segment with the "
"following I<cmd> values:"
msgstr ""
#. type: TP
-#: build/C/man2/shmctl.2:241
+#: build/C/man2/shmctl.2:246
#, no-wrap
msgid "B<SHM_LOCK> (Linux-specific)"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:253
+#: build/C/man2/shmctl.2:258
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 "
msgstr ""
#. type: TP
-#: build/C/man2/shmctl.2:253
+#: build/C/man2/shmctl.2:258
#, no-wrap
msgid "B<SHM_UNLOCK> (Linux-specific)"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:256
+#: build/C/man2/shmctl.2:261
msgid "Unlock the segment, allowing it to be swapped out."
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:274
+#: build/C/man2/shmctl.2:279
msgid ""
"In kernels before 2.6.10, only a privileged process could employ B<SHM_LOCK> "
"and B<SHM_UNLOCK>. Since kernel 2.6.10, an unprivileged process can employ "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:292
+#: build/C/man2/shmctl.2:297
msgid ""
"A successful B<IPC_INFO> or B<SHM_INFO> operation returns the index of the "
"highest used entry in the kernel's internal array recording information "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:296
+#: build/C/man2/shmctl.2:301
msgid "On error, -1 is returned, and I<errno> is set appropriately."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:305
+#: build/C/man2/shmctl.2:310
msgid ""
"B<IPC_STAT> or B<SHM_STAT> is requested and I<shm_perm.mode> does not allow "
"read access for I<shmid>, and the calling process does not have the "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:316
+#: build/C/man2/shmctl.2:321
msgid ""
"The argument I<cmd> has value B<IPC_SET> or B<IPC_STAT> but the address "
"pointed to by I<buf> isn't accessible."
msgstr ""
#. type: TP
-#: build/C/man2/shmctl.2:316 build/C/man2/shmop.2:197
+#: build/C/man2/shmctl.2:321 build/C/man2/shmop.2:197
#, no-wrap
msgid "B<EIDRM>"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:319 build/C/man2/shmop.2:200
+#: build/C/man2/shmctl.2:324 build/C/man2/shmop.2:200
msgid "I<shmid> points to a removed identifier."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:328
+#: build/C/man2/shmctl.2:333
msgid ""
"I<shmid> is not a valid identifier, or I<cmd> is not a valid command. Or: "
"for a B<SHM_STAT> operation, the index value specified in I<shmid> referred "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:339
+#: build/C/man2/shmctl.2:344
msgid ""
"(In kernels since 2.6.9), B<SHM_LOCK> was specified and the size of the "
"to-be-locked segment would mean that the total bytes in locked shared memory "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:344
+#: build/C/man2/shmctl.2:349
msgid ""
"B<IPC_STAT> is attempted, and the GID or UID value is too large to be stored "
"in the structure pointed to by I<buf>."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:356
+#: build/C/man2/shmctl.2:361
msgid ""
"B<IPC_SET> or B<IPC_RMID> is attempted, and the effective user ID of the "
"calling process is not that of the creator (found in I<shm_perm.cuid>), or "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:368
+#: build/C/man2/shmctl.2:373
msgid ""
"Or (in kernels before 2.6.9), B<SHM_LOCK> or B<SHM_UNLOCK> was specified, "
"but the process was not privileged (Linux: did not have the B<CAP_IPC_LOCK> "
#. SVr4 documents an additional error condition EMFILE.
#. type: Plain text
-#: build/C/man2/shmctl.2:373 build/C/man2/shmget.2:234 build/C/man2/shmop.2:234
+#: build/C/man2/shmctl.2:378 build/C/man2/shmget.2:235 build/C/man2/shmop.2:234
msgid "SVr4, POSIX.1-2001."
msgstr ""
#. Like Linux, the FreeBSD man pages still document
#. the inclusion of these header files.
#. type: Plain text
-#: build/C/man2/shmctl.2:386 build/C/man2/shmget.2:250
+#: build/C/man2/shmctl.2:391 build/C/man2/shmget.2:251
msgid ""
"The inclusion of I<E<lt>sys/types.hE<gt>> and I<E<lt>sys/ipc.hE<gt>> isn't "
"required on Linux or by any version of POSIX. However, some old "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:397
+#: build/C/man2/shmctl.2:403
msgid ""
"The B<IPC_INFO>, B<SHM_STAT> and B<SHM_INFO> operations are used by the "
"B<ipcs>(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</proc> filesystem interface."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:405
+#: build/C/man2/shmctl.2:411
msgid ""
"Linux permits a process to attach (B<shmat>(2)) a shared memory segment "
"that has already been marked for deletion using I<shmctl(IPC_RMID)>. This "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:418
+#: build/C/man2/shmctl.2:424
msgid ""
"Various fields in a I<struct shmid_ds> were typed as I<short> under Linux "
"2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmctl.2:425
+#: build/C/man2/shmctl.2:431
msgid ""
"B<mlock>(2), B<setrlimit>(2), B<shmget>(2), B<shmop>(2), B<capabilities>(7), "
"B<svipc>(7)"
#. type: Plain text
#: build/C/man2/shmget.2:41
-msgid "shmget - allocates a shared memory segment"
+msgid "shmget - allocates a System V shared memory segment"
msgstr ""
#. type: Plain text
#. type: Plain text
#: build/C/man2/shmget.2:72
msgid ""
-"B<shmget>() returns the identifier of the shared memory segment associated "
-"with the value of the argument I<key>. A new shared memory segment, with "
-"size equal to the value of I<size> rounded up to a multiple of B<PAGE_SIZE>, "
-"is created if I<key> has the value B<IPC_PRIVATE> or I<key> isn't "
-"B<IPC_PRIVATE>, no shared memory segment corresponding to I<key> exists, and "
-"B<IPC_CREAT> is specified in I<shmflg>."
+"B<shmget>() returns the identifier of the System V shared memory segment "
+"associated with the value of the argument I<key>. A new shared memory "
+"segment, with size equal to the value of I<size> rounded up to a multiple of "
+"B<PAGE_SIZE>, is created if I<key> has the value B<IPC_PRIVATE> or I<key> "
+"isn't B<IPC_PRIVATE>, no shared memory segment corresponding to I<key> "
+"exists, and B<IPC_CREAT> is specified in I<shmflg>."
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:184
-msgid "A valid segment identifier, I<shmid>, is returned on success, -1 on error."
+#: build/C/man2/shmget.2:185
+msgid ""
+"On success, a valid shared memory identifier is returned. On errir, -1 is "
+"returned, and I<errno> is set to indicate the error."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:188
+#: build/C/man2/shmget.2:189
msgid "On failure, I<errno> is set to one of the following:"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:194
+#: 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<CAP_IPC_OWNER> capability."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:198
+#: build/C/man2/shmget.2:199
msgid "B<IPC_CREAT | IPC_EXCL> was specified and the segment exists."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:204
+#: build/C/man2/shmget.2:205
msgid ""
"A new segment was to be created and I<size> E<lt> B<SHMMIN> or I<size> E<gt> "
"B<SHMMAX>, or no new segment was to be created, a segment with given key "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:213
+#: build/C/man2/shmget.2:214
msgid "No segment exists for the given I<key>, and B<IPC_CREAT> was not specified."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:216
+#: build/C/man2/shmget.2:217
msgid "No memory could be allocated for segment overhead."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:224
+#: build/C/man2/shmget.2:225
msgid ""
"All possible shared memory IDs have been taken (B<SHMMNI>), or allocating a "
"segment of the requested I<size> would cause the system to exceed the "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:231
+#: build/C/man2/shmget.2:232
msgid ""
"The B<SHM_HUGETLB> flag was specified, but the caller was not privileged "
"(did not have the B<CAP_IPC_LOCK> capability)."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:237
+#: build/C/man2/shmget.2:238
msgid "B<SHM_HUGETLB> is a nonportable Linux extension."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:260
+#: build/C/man2/shmget.2:261
msgid ""
"B<IPC_PRIVATE> isn't a flag field but a I<key_t> type. If this special "
"value is used for I<key>, the system call ignores everything but the least "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:264
+#: build/C/man2/shmget.2:265
msgid ""
"The following limits on shared memory segment resources affect the "
"B<shmget>() call:"
msgstr ""
#. type: TP
-#: build/C/man2/shmget.2:264
+#: build/C/man2/shmget.2:265
#, no-wrap
msgid "B<SHMALL>"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:269
+#: 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</proc/sys/kernel/shmall>)."
msgstr ""
#. type: TP
-#: build/C/man2/shmget.2:269
+#: build/C/man2/shmget.2:270
#, no-wrap
msgid "B<SHMMAX>"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:274
+#: 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</proc/sys/kernel/shmmax>)."
msgstr ""
#. type: TP
-#: build/C/man2/shmget.2:274
+#: build/C/man2/shmget.2:275
#, no-wrap
msgid "B<SHMMIN>"
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:280
+#: build/C/man2/shmget.2:281
msgid ""
"Minimum size in bytes for a shared memory segment: implementation dependent "
"(currently 1 byte, though B<PAGE_SIZE> is the effective minimum size)."
msgstr ""
#. type: TP
-#: build/C/man2/shmget.2:280
+#: build/C/man2/shmget.2:281
#, no-wrap
msgid "B<SHMMNI>"
msgstr ""
#. 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:289
+#: 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 "
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:293
+#: build/C/man2/shmget.2:294
msgid ""
"The implementation has no specific limits for the per-process maximum number "
"of shared memory segments (B<SHMSEG>)."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:299
+#: build/C/man2/shmget.2:300
msgid ""
"Until version 2.3.30 Linux would return B<EIDRM> for a B<shmget>() on a "
"shared memory segment scheduled for deletion."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:305
+#: build/C/man2/shmget.2:306
msgid ""
"The name choice B<IPC_PRIVATE> was perhaps unfortunate, B<IPC_NEW> would "
"more clearly show its function."
msgstr ""
#. type: Plain text
-#: build/C/man2/shmget.2:313
+#: build/C/man2/shmget.2:314
msgid ""
"B<shmat>(2), B<shmctl>(2), B<shmdt>(2), B<ftok>(3), B<capabilities>(7), "
"B<shm_overview>(7), B<svipc>(7)"
#. type: Plain text
#: build/C/man2/shmop.2:44
-msgid "shmat, shmdt - shared memory operations"
+msgid "shmat, shmdt - System V shared memory operations"
msgstr ""
#. type: Plain text
#. type: Plain text
#: build/C/man2/shmop.2:61
msgid ""
-"B<shmat>() attaches the shared memory segment identified by I<shmid> to the "
-"address space of the calling process. The attaching address is specified by "
-"I<shmaddr> with one of the following criteria:"
+"B<shmat>() attaches the System V shared memory segment identified by "
+"I<shmid> to the address space of the calling process. The attaching address "
+"is specified by I<shmaddr> with one of the following criteria:"
msgstr ""
#. type: Plain text
#: build/C/man2/shmop.2:250
msgid ""
"In SVID 3 (or perhaps earlier) the type of the I<shmaddr> argument was "
-"changed from I<char *> into I<const void *>, and the returned type of "
-"B<shmat>() from I<char *> into I<void *>. (Linux libc4 and libc5 have the "
-"I<char *> prototypes; glibc2 has I<void *>.)"
+"changed from I<char\\ *> into I<const void\\ *>, and the returned type of "
+"B<shmat>() from I<char\\ *> into I<void\\ *>. (Linux libc4 and libc5 have "
+"the I<char\\ *> prototypes; glibc2 has I<void\\ *>.)"
msgstr ""
#. type: Plain text
"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<btrfs>) 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<btrfs>) 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 ""
#. type: SS
#. 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<sync_file_range>() is flawed, since it forces a register to be wasted "
-"as padding between the I<fd> and I<offset> arguments. Therefore, these "
-"architectures define a different system call that orders the arguments "
-"suitably:"
+"of B<sync_file_range>() shown in the SYNOPSIS would force a register to be "
+"wasted as padding between the I<fd> and I<offset> arguments. (See "
+"B<syscall>(2) for details.) Therefore, these architectures define a "
+"different system call that orders the arguments suitably:"
msgstr ""
#. type: Plain text
-#: build/C/man2/sync_file_range.2:201
+#: build/C/man2/sync_file_range.2:205
#, no-wrap
msgid ""
"B<int sync_file_range2(int >I<fd>B<, unsigned int >I<flags>B<,>\n"
msgstr ""
#. 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<sync_file_range>()."
msgstr ""
#. 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<arm_sync_file_range>(). It was renamed in "
msgstr ""
#. type: Plain text
-#: build/C/man2/sync_file_range.2:222
+#: build/C/man2/sync_file_range.2:226
msgid "B<fdatasync>(2), B<fsync>(2), B<msync>(2), B<sync>(2)"
msgstr ""