1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\" the glibc-info pages are very helpful here
5 .\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI all rights reserved.
6 .\" Translated Thu 05 Dec 2002 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
8 .TH MTRACE 3 2002-07-20 "GNU" "Linux Programmer's Manual"
10 .\"O mtrace, muntrace \- malloc debugging
12 mtrace, muntrace \- malloc debugging
15 .B "#include <mcheck.h>"
17 .B "void mtrace(void);"
19 .B "void muntrace(void);"
24 .\"O installs handlers for
31 .\"O disables these handlers.
43 .\"O The environment variable
45 .\"O defines a file where
47 .\"O writes its output.
53 .\"O This file must be writable to the user or
56 ユーザが書き込み権限を持つファイルを指定しなければならない。
60 .\"O If the file is not empty it will be truncated.
61 .\" motoki: truncate って「後ろを切ってしまう」ような意味のはずだけど
62 .\" motoki: 実際に試してみると、元のファイルを上書きするようです・・・
63 ファイルが空でない場合、ファイルの元の内容を上書きする。
64 .\"O .SH "CONFORMING TO"
66 .\"O These are GNU extensions.
72 .\"O will be ASCII but not in a friendly format.
73 .\"O So glibc comes with a perl-script called mtrace to make sense of it.
75 の出力は ASCII 形式だが、人が読みやすいフォーマットではない。
76 そこで、glibc には mtrace 出力を分かりやすい形式に変換する