msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-05-10 20:03+0900\n"
+"POT-Creation-Date: 2012-05-28 07:16+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: 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/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: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
#, no-wrap
msgid "Linux"
msgstr ""
#. 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/malloc_get_state.3:23 build/C/man3/malloc_hook.3:6 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: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
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr ""
#. 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/malloc_get_state.3:24 build/C/man3/malloc_hook.3:7 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: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
#, no-wrap
msgid "NAME"
msgstr ""
msgstr ""
#. 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/malloc_get_state.3:26 build/C/man3/malloc_hook.3:11 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: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
#, no-wrap
msgid "SYNOPSIS"
msgstr ""
msgstr ""
#. 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/malloc_get_state.3:34 build/C/man3/malloc_hook.3:29 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: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
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
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:250 build/C/man3/malloc_get_state.3:59 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/sync_file_range.2:141
+#: 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/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:58 build/C/man2/fallocate.2:112 build/C/man2/madvise.2:257 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/sync_file_range.2:147
+#: 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/sync_file_range.2:147
#, no-wrap
msgid "ERRORS"
msgstr ""
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:307 build/C/man3/malloc_get_state.3:84 build/C/man3/malloc_hook.3:76 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: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
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man2/alloc_hugepages.2:133 build/C/man3/alloca.3:71 build/C/man2/madvise.2:328 build/C/man3/malloc_get_state.3:86 build/C/man3/malloc_hook.3:78 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/sync_file_range.2:183
+#: 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/sync_file_range.2:183
#, no-wrap
msgid "NOTES"
msgstr ""
msgstr ""
#. 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:360 build/C/man3/malloc_get_state.3:112 build/C/man3/malloc_hook.3:138 build/C/man3/malloc_trim.3:80 build/C/man3/malloc_usable_size.3:62 build/C/man3/mallopt.3:580 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: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
#, 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:367 build/C/man3/malloc_get_state.3:119 build/C/man3/malloc_hook.3:145 build/C/man3/malloc_trim.3:87 build/C/man3/malloc_usable_size.3:69 build/C/man3/mallopt.3:587 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
+#: 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
msgid ""
-"This page is part of release 3.40 of the Linux I<man-pages> project. A "
+"This page is part of release 3.41 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/."
msgstr ""
msgstr ""
#. 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_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: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
#, no-wrap
msgid "GNU"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/alloca.3:136 build/C/man2/cacheflush.2:81 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: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
#, no-wrap
msgid "BUGS"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/alloca.3:149 build/C/man2/fallocate.2:191 build/C/man2/madvise.2:353 build/C/man3/malloc_get_state.3:109 build/C/man3/malloc_hook.3:133 build/C/man3/malloc_trim.3:76 build/C/man3/malloc_usable_size.3:60 build/C/man3/mallopt.3:568 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: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
#, no-wrap
msgid "SEE ALSO"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/cacheflush.2:66 build/C/man2/fallocate.2:124 build/C/man2/madvise.2:264 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: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
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:113 build/C/man2/madvise.2:261 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/sync_file_range.2:148
+#: 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/sync_file_range.2:148
#, no-wrap
msgid "B<EBADF>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/fallocate.2:136 build/C/man2/madvise.2:292 build/C/man2/sync_file_range.2:160
+#: build/C/man2/fallocate.2:136 build/C/man2/madvise.2:310 build/C/man2/sync_file_range.2:160
#, no-wrap
msgid "B<EIO>"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man2/fallocate.2:184 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: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
#, no-wrap
msgid "VERSIONS"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man2/madvise.2:35
+#: build/C/man2/madvise.2:35 build/C/man3/malloc_info.3:23
#, no-wrap
-msgid "2011-09-18"
+msgid "2012-04-28"
msgstr ""
#. type: Plain text
"The kernel will also allocate huge pages directly when the region is "
"naturally aligned to the huge page size (see B<posix_memalign>(2)). This "
"feature is primarily aimed at applications that use large mappings of data "
-"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 "
+"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<Documentation/vm/transhuge.txt> "
"for more details. The B<MADV_HUGEPAGE> and B<MADV_NOHUGEPAGE> operations "
"will not be collapsed into huge pages."
msgstr ""
+#. type: TP
+#: build/C/man2/madvise.2:250
+#, no-wrap
+msgid "B<MADV_DONTDUMP> (since Linux 3.4)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/madvise.2:264
+msgid ""
+"Exclude from a core dump those pages in the range specified by I<addr> and "
+"I<length>. This is useful in applications that have large areas of memory "
+"that are known not to be useful in a core dump. The effect of "
+"B<MADV_DONTDUMP> takes precedence over the bit mask that is set via the "
+"I</proc/PID/coredump_filter> file (see B<core>(5))."
+msgstr ""
+
+#. type: TP
+#: build/C/man2/madvise.2:264
+#, no-wrap
+msgid "B<MADV_DODUMP> (since Linux 3.4)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/madvise.2:268
+msgid "Undo the effect of an earlier B<MADV_DONTDUMP>."
+msgstr ""
+
#. type: Plain text
-#: build/C/man2/madvise.2:257
+#: build/C/man2/madvise.2:275
msgid ""
"On success B<madvise>() returns zero. On error, it returns -1 and I<errno> "
"is set appropriately."
msgstr ""
#. type: TP
-#: build/C/man2/madvise.2:258 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:155 build/C/man2/mmap.2:411 build/C/man2/mremap.2:137
#, no-wrap
msgid "B<EAGAIN>"
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:261
+#: build/C/man2/madvise.2:279
msgid "A kernel resource was temporarily unavailable."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:264
+#: build/C/man2/madvise.2:282
msgid "The map exists, but the area maps something that isn't a file."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:267
+#: build/C/man2/madvise.2:285
msgid "This error can occur for the following reasons:"
msgstr ""
#. type: IP
-#: build/C/man2/madvise.2:268 build/C/man2/madvise.2:274 build/C/man2/madvise.2:277 build/C/man2/madvise.2:280 build/C/man2/madvise.2:283 build/C/man3/mallopt.3:233 build/C/man3/mallopt.3:239
+#: 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 ""
#. .I len
#. is zero,
#. type: Plain text
-#: build/C/man2/madvise.2:274
+#: build/C/man2/madvise.2:292
msgid "The value I<len> is negative."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:277
+#: build/C/man2/madvise.2:295
msgid "I<addr> is not page-aligned."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:280
+#: build/C/man2/madvise.2:298
msgid "I<advice> is not a valid value"
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:283
+#: build/C/man2/madvise.2:301
msgid ""
"The application is attempting to release locked or shared pages (with "
"B<MADV_DONTNEED>)."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:291
+#: build/C/man2/madvise.2:309
msgid ""
"B<MADV_MERGEABLE> or B<MADV_UNMERGEABLE> was specified in I<advice>, but the "
"kernel was not configured with B<CONFIG_KSM>."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:298
+#: build/C/man2/madvise.2:316
msgid ""
"(for B<MADV_WILLNEED>) Paging in this area would exceed the process's "
"maximum resident set size."
msgstr ""
#. type: TP
-#: build/C/man2/madvise.2:298 build/C/man2/madvise.2:303 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/sync_file_range.2:163
+#: 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/sync_file_range.2:163
#, no-wrap
msgid "B<ENOMEM>"
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:303
+#: build/C/man2/madvise.2:321
msgid "(for B<MADV_WILLNEED>) Not enough memory: paging in failed."
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:307
+#: build/C/man2/madvise.2:325
msgid ""
"Addresses in the specified range are not currently mapped, or are outside "
"the address space of the process."
msgstr ""
-#. FIXME . Write a posix_fadvise(3) page.
+#. FIXME . Write a posix_madvise(3) page.
#. type: Plain text
-#: build/C/man2/madvise.2:319
+#: build/C/man2/madvise.2:337
msgid ""
"POSIX.1b. POSIX.1-2001 describes B<posix_madvise>(3) with constants "
"B<POSIX_MADV_NORMAL>, etc., with a behavior close to that described here. "
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:328
+#: build/C/man2/madvise.2:346
msgid ""
"B<MADV_REMOVE>, B<MADV_DONTFORK>, B<MADV_DOFORK>, B<MADV_HWPOISON>, "
"B<MADV_MERGEABLE>, and B<MADV_UNMERGEABLE> are Linux-specific."
msgstr ""
#. type: SS
-#: build/C/man2/madvise.2:329 build/C/man2/mlock.2:268 build/C/man2/shmget.2:278
+#: build/C/man2/madvise.2:347 build/C/man2/mlock.2:268 build/C/man2/shmget.2:278
#, no-wrap
msgid "Linux Notes"
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:337
+#: build/C/man2/madvise.2:355
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 "
#. .BR madvise ()
#. function first appeared in 4.4BSD.
#. type: Plain text
-#: build/C/man2/madvise.2:353
+#: build/C/man2/madvise.2:371
+msgid ""
+"The Linux implementation requires that the address I<addr> be page-aligned, "
+"and allows I<length> to be zero. If there are some parts of the specified "
+"address range that are not mapped, the Linux version of B<madvise>() "
+"ignores them and applies the call to the rest (but returns B<ENOMEM> from "
+"the system call, as it should)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/madvise.2:379
+msgid ""
+"B<getrlimit>(2), B<mincore>(2), B<mmap>(2), B<mprotect>(2), B<msync>(2), "
+"B<munmap>(2), B<core>(5)"
+msgstr ""
+
+#. type: TH
+#: build/C/man3/mallinfo.3:24
+#, no-wrap
+msgid "MALLINFO"
+msgstr ""
+
+#. type: TH
+#: build/C/man3/mallinfo.3:24 build/C/man3/malloc_stats.3:24
+#, no-wrap
+msgid "2012-05-06"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:27
+msgid "mallinfo - obtain memory allocation information"
+msgstr ""
+
+#. 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
+msgid "B<#include E<lt>malloc.hE<gt>>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:31
+msgid "B<struct mallinfo mallinfo(void);>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:39
+msgid ""
+"The B<mallinfo>() function returns a copy of a structure containing "
+"information about memory allocations performed by B<malloc>(3) and related "
+"functions. This structure is defined as follows:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:54
+#, no-wrap
+msgid ""
+"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"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:60
+msgid "The fields of the I<mallinfo> structure contain the following information:"
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:61
+#, no-wrap
+msgid "I<arena>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:67
+msgid ""
+"The total amount of memory allocated by means other than B<mmap>(2) (i.e., "
+"memory allocated on the heap). This figure includes both in-use blocks and "
+"blocks on the free list."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:67
+#, no-wrap
+msgid "I<ordblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:70
+msgid "The number of ordinary (i.e., non-fastbin) free blocks."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:70
+#, no-wrap
+msgid "I<smblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:74
+msgid "The number of fastbin free blocks (see B<mallopt>(3))."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:74
+#, no-wrap
+msgid "I<hblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:82
+msgid ""
+"The number of blocks currently allocated using B<mmap>(2). (See the "
+"discussion of B<M_MMAP_THRESHOLD> in B<mallopt>(3).)"
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:82
+#, no-wrap
+msgid "I<hblkhd>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:86
+msgid "The number of bytes in blocks currently allocated using B<mmap>(2)."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:86
+#, no-wrap
+msgid "I<usmblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:91
+msgid ""
+"The \"highwater mark\" for allocated space\\(emthat is, the maximum amount "
+"of space that was ever allocated. This field is maintained only in "
+"nonthreading environments."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:91
+#, no-wrap
+msgid "I<fsmblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:94
+msgid "The total number of bytes in fastbin free blocks."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:94
+#, no-wrap
+msgid "I<uordblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:97
+msgid "The total number of bytes used by in-use allocations."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:97
+#, no-wrap
+msgid "I<fordblks>"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:100
+msgid "The total number of bytes in free blocks."
+msgstr ""
+
+#. type: TP
+#: build/C/man3/mallinfo.3:100
+#, no-wrap
+msgid "I<keepcost>"
+msgstr ""
+
+#. .SH VERSIONS
+#. Available already in glibc 2.0, possibly earlier
+#. type: Plain text
+#: build/C/man3/mallinfo.3:109
+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 "
+"alignment restrictions, and so on) be released by B<malloc_trim>(3)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:113
+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."
+msgstr ""
+
+#. FIXME http://sourceware.org/bugzilla/show_bug.cgi?id=208
+#. See the 24 Aug 2011 mail by Paul Pluzhnikov:
+#. "[patch] Fix mallinfo() to accumulate results for all arenas"
+#. on libc-alpha@sourceware.org
+#. type: Plain text
+#: build/C/man3/mallinfo.3:125
+msgid ""
+"B<Information is returned for only the main memory allocation area.> "
+"Allocations in other arenas are excluded. See B<malloc_stats>(3) and "
+"B<malloc_info>(3) for alternatives that include information about other "
+"arenas."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:133
+msgid ""
+"The fields of the I<mallinfo> structure are typed as I<int>. However, "
+"because some internal bookkeeping values may be of type I<long>, the "
+"reported values may wrap around zero and thus be inaccurate."
+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
+#, no-wrap
+msgid "EXAMPLE"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:139
+msgid ""
+"The program below employs B<mallinfo>() to retrieve memory allocation "
+"statistics before and after allocating and freeing some blocks of memory. "
+"The statistics are displayed on standard output."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:143
+msgid ""
+"The first two command-line arguments specify the number and size of blocks "
+"to be allocated with B<malloc>(3)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:157
+msgid ""
+"The remaining three arguments specify which of the allocated blocks should "
+"be freed with B<free>(3). These three arguments are optional, and specify "
+"(in order): the step size to be used in the loop that frees blocks (the "
+"default is 1, meaning free all blocks in the range); the ordinal position of "
+"the first block to be freed (default 0, meaning the first allocated block); "
+"and a number one greater than the ordinal position of the last block to be "
+"freed (default is one greater than the maximum block number). If these "
+"three arguments are omitted, then the defaults cause all allocated blocks to "
+"be freed."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:161
+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
+#, no-wrap
+msgid ""
+"$ 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"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:188
+#, no-wrap
+msgid ""
+"============== 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"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:200
+#, no-wrap
+msgid ""
+"============== 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"
+msgstr ""
+
+#. 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
+#, no-wrap
+msgid "Program source"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:207
+#, no-wrap
+msgid ""
+"#include E<lt>malloc.hE<gt>\n"
+"#include \"tlpi_hdr.h\"\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:212
+#, no-wrap
+msgid ""
+"static void\n"
+"display_mallinfo(void)\n"
+"{\n"
+" struct mallinfo mi;\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:214
+#, no-wrap
+msgid " mi = mallinfo();\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:226
+#, no-wrap
+msgid ""
+" 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"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:234
+#, no-wrap
+msgid ""
+"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"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:238
+#, no-wrap
+msgid ""
+" if (argc E<lt> 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 ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:244
+#, no-wrap
+msgid ""
+" numBlocks = atoi(argv[1]);\n"
+" blockSize = atoi(argv[2]);\n"
+" freeStep = (argc E<gt> 3) ? atoi(argv[3]) : 1;\n"
+" freeBegin = (argc E<gt> 4) ? atoi(argv[4]) : 0;\n"
+" freeEnd = (argc E<gt> 5) ? atoi(argv[5]) : numBlocks;\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:247
+#, no-wrap
+msgid ""
+" printf(\"============== Before allocating blocks "
+"==============\\en\");\n"
+" display_mallinfo();\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:251
+#, no-wrap
+msgid ""
+" for (j = 0; j E<lt> numBlocks; j++) {\n"
+" if (numBlocks E<gt>= MAX_ALLOCS)\n"
+" fatal(\"Too many allocations\");\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:256
+#, no-wrap
+msgid ""
+" alloc[j] = malloc(blockSize);\n"
+" if (alloc[j] == NULL)\n"
+" errExit(\"malloc\");\n"
+" }\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:259
+#, no-wrap
+msgid ""
+" printf(\"\\en============== After allocating blocks "
+"==============\\en\");\n"
+" display_mallinfo();\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:262
+#, no-wrap
+msgid ""
+" for (j = freeBegin; j E<lt> freeEnd; j += freeStep)\n"
+" free(alloc[j]);\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/mallinfo.3:265
+#, no-wrap
+msgid ""
+" printf(\"\\en============== After freeing blocks "
+"==============\\en\");\n"
+" display_mallinfo();\n"
+msgstr ""
+
+#. 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
+#, no-wrap
msgid ""
-"The Linux implementation requires that the address I<addr> be page-aligned, "
-"and allows I<length> to be zero. If there are some parts of the specified "
-"address range that are not mapped, the Linux version of B<madvise>() "
-"ignores them and applies the call to the rest (but returns B<ENOMEM> from "
-"the system call, as it should)."
+" exit(EXIT_SUCCESS);\n"
+"}\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/madvise.2:360
+#: build/C/man3/mallinfo.3:278
msgid ""
-"B<getrlimit>(2), B<mincore>(2), B<mmap>(2), B<mprotect>(2), B<msync>(2), "
-"B<munmap>(2)"
+"B<mmap>(2), B<malloc>(3), B<malloc_info>(3), B<malloc_stats>(3), "
+"B<malloc_trim>(3), B<mallopt>(3)"
msgstr ""
#. type: TH
#. type: TH
#: build/C/man3/malloc_get_state.3:23
#, no-wrap
-msgid "2012-03-26"
+msgid "2012-05-04"
msgstr ""
#. type: Plain text
#: build/C/man3/malloc_get_state.3:26
msgid ""
-"get_malloc_state, set_malloc_state - record and restore state of malloc "
+"malloc_get_state, malloc_set_state - record and restore state of malloc "
"implementation"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_hook.3:14 build/C/man3/posix_memalign.3:40
+#: build/C/man3/malloc_hook.3:14 build/C/man3/malloc_info.3:29 build/C/man3/posix_memalign.3:40
#, no-wrap
msgid "B<#include E<lt>malloc.hE<gt>>\n"
msgstr ""
"and \"free\"."
msgstr ""
-#. type: SH
-#: build/C/man3/malloc_hook.3:85 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
-#, no-wrap
-msgid "EXAMPLE"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/malloc_hook.3:87
msgid "Here is a short example of how to use these variables."
msgstr ""
#. type: TH
+#: build/C/man3/malloc_info.3:23
+#, no-wrap
+msgid "MALLOC_INFO"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:26
+msgid "malloc_info - export malloc state to a stream"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:31
+#, no-wrap
+msgid "B<int malloc_info(int >I<options>B<, FILE *>I<fp>B<);>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:42
+msgid ""
+"The B<malloc_info>() 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<fp>. The exported string includes "
+"information about all arenas (see B<malloc>(3))."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:46
+msgid "As currently implemented, I<options> must be zero."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:51
+msgid "On success, B<malloc_info>() returns 0; on error, it returns -1."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:56
+msgid "I<options> was nonzero."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:59
+msgid "B<malloc_info>(3) was added to glibc in version 2.10."
+msgstr ""
+
+#. 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
+msgid "This function is a GNU extension."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:67
+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 ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:73
+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:80
+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:91
+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 "
+"threads that the program should create. All of the threads, including the "
+"main thread, allocate the number of blocks of memory specified by the second "
+"argument. The third argument controls the size of the blocks to be "
+"allocated. The main thread creates blocks of this size, the second thread "
+"created by the program allocates blocks of twice this size, the third thread "
+"allocates blocks of three times this size, and so on."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:98
+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 "
+"allocated. The second call is performed after all threads have allocated "
+"memory."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:106
+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<malloc_info>() shows the state of two allocation arenas."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:131
+#, no-wrap
+msgid ""
+"$ B<getconf GNU_LIBC_VERSION>\n"
+"glibc 2.13\n"
+"$ B<./a.out 1 10000 100>\n"
+"============ Before allocating blocks ============\n"
+"E<lt>malloc version=\"1\"E<gt>\n"
+"E<lt>heap nr=\"0\"E<gt>\n"
+"E<lt>sizesE<gt>\n"
+"E<lt>/sizesE<gt>\n"
+"E<lt>total type=\"fast\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>total type=\"rest\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>system type=\"current\" size=\"135168\"/E<gt>\n"
+"E<lt>system type=\"max\" size=\"135168\"/E<gt>\n"
+"E<lt>aspace type=\"total\" size=\"135168\"/E<gt>\n"
+"E<lt>aspace type=\"mprotect\" size=\"135168\"/E<gt>\n"
+"E<lt>/heapE<gt>\n"
+"E<lt>total type=\"fast\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>total type=\"rest\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>system type=\"current\" size=\"135168\"/E<gt>\n"
+"E<lt>system type=\"max\" size=\"135168\"/E<gt>\n"
+"E<lt>aspace type=\"total\" size=\"135168\"/E<gt>\n"
+"E<lt>aspace type=\"mprotect\" size=\"135168\"/E<gt>\n"
+"E<lt>/mallocE<gt>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:161
+#, no-wrap
+msgid ""
+"============ After allocating blocks ============\n"
+"E<lt>malloc version=\"1\"E<gt>\n"
+"E<lt>heap nr=\"0\"E<gt>\n"
+"E<lt>sizesE<gt>\n"
+"E<lt>/sizesE<gt>\n"
+"E<lt>total type=\"fast\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>total type=\"rest\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>system type=\"current\" size=\"1081344\"/E<gt>\n"
+"E<lt>system type=\"max\" size=\"1081344\"/E<gt>\n"
+"E<lt>aspace type=\"total\" size=\"1081344\"/E<gt>\n"
+"E<lt>aspace type=\"mprotect\" size=\"1081344\"/E<gt>\n"
+"E<lt>/heapE<gt>\n"
+"E<lt>heap nr=\"1\"E<gt>\n"
+"E<lt>sizesE<gt>\n"
+"E<lt>/sizesE<gt>\n"
+"E<lt>total type=\"fast\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>total type=\"rest\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>system type=\"current\" size=\"1032192\"/E<gt>\n"
+"E<lt>system type=\"max\" size=\"1032192\"/E<gt>\n"
+"E<lt>aspace type=\"total\" size=\"1032192\"/E<gt>\n"
+"E<lt>aspace type=\"mprotect\" size=\"1032192\"/E<gt>\n"
+"E<lt>/heapE<gt>\n"
+"E<lt>total type=\"fast\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>total type=\"rest\" count=\"0\" size=\"0\"/E<gt>\n"
+"E<lt>system type=\"current\" size=\"2113536\"/E<gt>\n"
+"E<lt>system type=\"max\" size=\"2113536\"/E<gt>\n"
+"E<lt>aspace type=\"total\" size=\"2113536\"/E<gt>\n"
+"E<lt>aspace type=\"mprotect\" size=\"2113536\"/E<gt>\n"
+"E<lt>/mallocE<gt>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:171
+#, no-wrap
+msgid ""
+"#include E<lt>unistd.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>pthread.hE<gt>\n"
+"#include E<lt>malloc.hE<gt>\n"
+"#include E<lt>errno.hE<gt>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:174
+#, no-wrap
+msgid ""
+"static size_t blockSize;\n"
+"static int numThreads, numBlocks;\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:177
+#, no-wrap
+msgid ""
+"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\e\n"
+" } while (0)\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:183
+#, no-wrap
+msgid ""
+"static void *\n"
+"thread_func(void *arg)\n"
+"{\n"
+" int j;\n"
+" int tn = (int) arg;\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:186
+#, 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 ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:190
+#, no-wrap
+msgid ""
+" for (j = 0; j E<lt> numBlocks; j++)\n"
+" if (malloc(blockSize * (2 + tn)) == NULL)\n"
+" errExit(\"malloc-thread\");\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:194
+#, no-wrap
+msgid ""
+" sleep(100); /* Sleep until main thread terminates */\n"
+" return NULL;\n"
+"}\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:200
+#, no-wrap
+msgid ""
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int j, tn, sleepTime;\n"
+" pthread_t *thr;\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:207
+#, no-wrap
+msgid ""
+" if (argc E<lt> 4) {\n"
+" fprintf(stderr,\n"
+" \"%s num-threads num-blocks block-size [sleep-time]\\en\",\n"
+" argv[0]);\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:212
+#, no-wrap
+msgid ""
+" numThreads = atoi(argv[1]);\n"
+" numBlocks = atoi(argv[2]);\n"
+" blockSize = atoi(argv[3]);\n"
+" sleepTime = (argc E<gt> 4) ? atoi(argv[4]) : 0;\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:216
+#, no-wrap
+msgid ""
+" thr = calloc(numThreads, sizeof(pthread_t));\n"
+" if (thr == NULL)\n"
+" errExit(\"calloc\");\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:219
+#, no-wrap
+msgid ""
+" printf(\"============ Before allocating blocks ============\\en\");\n"
+" malloc_info(0, stdout);\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:221
+#, no-wrap
+msgid " /* Create threads that allocate different amounts of memory */\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:227
+#, no-wrap
+msgid ""
+" for (tn = 0; tn E<lt> numThreads; tn++) {\n"
+" errno = pthread_create(&thr[tn], NULL, thread_func,\n"
+" (void *) tn);\n"
+" if (errno != 0)\n"
+" errExit(\"pthread_create\");\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:232
+#, no-wrap
+msgid ""
+" /* 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"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:236
+#, no-wrap
+msgid ""
+" if (sleepTime E<gt> 0)\n"
+" sleep(sleepTime);\n"
+" }\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:238
+#, no-wrap
+msgid " /* The main thread also allocates some memory */\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:242
+#, no-wrap
+msgid ""
+" for (j = 0; j E<lt> numBlocks; j++)\n"
+" if (malloc(blockSize) == NULL)\n"
+" errExit(\"malloc\");\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:245
+#, no-wrap
+msgid ""
+" sleep(2); /* Give all threads a chance to\n"
+" complete allocations */\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:248
+#, no-wrap
+msgid ""
+" printf(\"\\en============ After allocating blocks ============\\en\");\n"
+" malloc_info(0, stdout);\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_info.3:258
+msgid ""
+"B<mallinfo>(3), B<malloc>(3), B<malloc_stats>(3), B<mallopt>(3), "
+"B<open_memstream>(3)"
+msgstr ""
+
+#. type: TH
+#: build/C/man3/malloc_stats.3:24
+#, no-wrap
+msgid "MALLOC_STATS"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_stats.3:27
+msgid "malloc_stats - print memory allocation statistics"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_stats.3:31
+msgid "B<void malloc_stats(void);>"
+msgstr ""
+
+#. .SH VERSIONS
+#. Available already in glibc 2.0, possibly earlier
+#. type: Plain text
+#: build/C/man3/malloc_stats.3:53
+msgid ""
+"The B<malloc_stats>() function prints (on standard error) statistics about "
+"memory allocated by B<malloc>(3) and related functions. For each arena "
+"(allocation area), this function prints the total amount of memory allocated "
+"and the total number of bytes consumed by in-use allocations. (These two "
+"values correspond to the I<arena> and I<uordblks> fields retrieved by "
+"B<mallinfo>(3).) In addition, the function prints the sum of these two "
+"statistics for all arenas, and the maximum number of blocks and bytes that "
+"were ever simultaneously allocated using B<mmap>(2)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_stats.3:59
+msgid ""
+"More detailed information about memory allocations in the main arena can be "
+"obtained using B<mallinfo>(3)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/malloc_stats.3:65
+msgid "B<mmap>(2), B<mallinfo>(3), B<malloc>(3), B<malloc_info>(3), B<mallopt>(3)"
+msgstr ""
+
+#. type: TH
#: build/C/man3/malloc_trim.3:24
#, no-wrap
msgid "MALLOC_TRIM"
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_trim.3:29 build/C/man3/malloc_usable_size.3:28 build/C/man3/mallopt.3:29
-msgid "B<#include E<lt>malloc.hE<gt>>"
-msgstr ""
-
-#. type: Plain text
#: build/C/man3/malloc_trim.3:31
msgid "B<void malloc_trim(size_t >I<pad>B<);>"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/malloc_trim.3:60 build/C/man3/malloc_usable_size.3:48
-msgid "This function is a GNU extension."
-msgstr ""
-
-#. type: Plain text
#: build/C/man3/malloc_trim.3:69
msgid ""
"This function is automatically called by B<free>(3) in certain "
msgstr ""
#. type: TH
-#: build/C/man3/mallopt.3:24 build/C/man3/mcheck.3:23 build/C/man3/mtrace.3:23
+#: build/C/man3/mallopt.3:24
#, no-wrap
-msgid "2012-04-18"
+msgid "2012-04-30"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:496
+#: build/C/man3/mallopt.3:497
#, no-wrap
msgid ""
"$ B<./a.out>\n"
+"main(): returned from first free() call\n"
"*** glibc detected *** ./a.out: double free or corruption (top): 0x09d30008 "
"***\n"
"======= Backtrace: =========\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:501
+#: build/C/man3/mallopt.3:502
msgid ""
"The following runs show the results when employing other values for "
"B<M_CHECK_ACTION>:"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:514
+#: build/C/man3/mallopt.3:515
#, no-wrap
msgid ""
"$ B<./a.out 1> # Diagnose error and continue\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:520
+#: build/C/man3/mallopt.3:521
msgid ""
"The next run shows how to set the same parameter using the B<MALLOC_CHECK_> "
"environment variable:"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:527
+#: build/C/man3/mallopt.3:528
#, no-wrap
msgid ""
"$ B<MALLOC_CHECK_=1 ./a.out>\n"
"main(): returned from second free() call\n"
msgstr ""
-#. type: SS
-#: build/C/man3/mallopt.3:529 build/C/man3/mcheck.3:176 build/C/man2/mprotect.2:159
-#, no-wrap
-msgid "Program source"
-msgstr ""
-
#. type: Plain text
-#: build/C/man3/mallopt.3:535
+#: build/C/man3/mallopt.3:536
#, no-wrap
msgid ""
"#include E<lt>malloc.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:540 build/C/man3/mcheck.3:187
+#: build/C/man3/mallopt.3:541 build/C/man3/mcheck.3:187
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:547
+#: build/C/man3/mallopt.3:548
#, no-wrap
msgid ""
" if (argc E<gt> 1) {\n"
-" if (argc != 2) {\n"
-" fprintf(stderr, \"%s E<lt>M_CHECK_ACTION-valueE<gt>\\en\", "
-"argv[0]);\n"
+" if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n"
+" fprintf(stderr, \"mallopt() failed\");\n"
" exit(EXIT_FAILURE);\n"
" }\n"
" }\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:552
-#, no-wrap
-msgid ""
-" if (mallopt(M_CHECK_ACTION, atoi(argv[1])) != 1) {\n"
-" fprintf(stderr, \"mallopt() failed\");\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/mallopt.3:558
+#: build/C/man3/mallopt.3:554
#, no-wrap
msgid ""
" p = malloc(1000);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:561
+#: build/C/man3/mallopt.3:557
#, no-wrap
msgid ""
" free(p);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:564
+#: build/C/man3/mallopt.3:560
#, no-wrap
msgid ""
" free(p);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/mallopt.3:567 build/C/man3/mcheck.3:203 build/C/man2/mmap.2:652
-#, no-wrap
-msgid ""
-" exit(EXIT_SUCCESS);\n"
-"}\n"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/mallopt.3:580
+#: build/C/man3/mallopt.3:578
msgid ""
"B<mmap>(2) B<sbrk>(2), B<mallinfo>(3), B<malloc>(3), B<malloc_hook>(3), "
-"B<malloc_trim>(3), B<mcheck>(3), B<mtrace>(3), B<posix_memalign>(3)"
+"B<malloc_info>(3), B<malloc_stats>(3), B<malloc_trim>(3), B<mcheck>(3), "
+"B<mtrace>(3), B<posix_memalign>(3)"
msgstr ""
#. type: TH
msgid "MCHECK"
msgstr ""
+#. type: TH
+#: build/C/man3/mcheck.3:23 build/C/man3/mtrace.3:23
+#, no-wrap
+msgid "2012-04-18"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/mcheck.3:26
msgid ""