diff options
author | Andreas Jaeger <aj@suse.de> | 2000-03-10 08:41:39 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-03-10 08:41:39 +0000 |
commit | e8b1163ed03e17558e918116b2ab594a60161154 (patch) | |
tree | 79aa1e06f5a24d3fa6d23c007cf141aacaf4d4f0 /manual/memory.texi | |
parent | f25da8d01f8d783fff627a95628a73b037526245 (diff) | |
download | glibc-e8b1163ed03e17558e918116b2ab594a60161154.zip glibc-e8b1163ed03e17558e918116b2ab594a60161154.tar.gz glibc-e8b1163ed03e17558e918116b2ab594a60161154.tar.bz2 |
2000-03-09 Martin Buchholz <martin@xemacs.org>
* sysdeps/unix/sysv/linux/alpha/syscall.S:
* manual/message.texi (Using gettextized software):
* manual/message.texi (Message Translation): Doc Fixes.
* manual/filesys.texi (File Size):
* manual/charset.texi (glibc iconv Implementation):
* locale/programs/ld-collate.c (collate_output):
* iconv/gconv_db.c (find_derivation):
* manual/install.texi:
* manual/search.texi (Hash Search Function):
* manual/stdio.texi (Output Conversion Syntax):
* FAQ.in:
* config.h.in:
* sysdeps/generic/dl-sysdep.c:
Doc Fixes. `allows to' is not correct English.
* elf/rtld.c: Doc fixes.
* manual/creature.texi (Feature Test Macros): Doc fixes.
* manual/memory.texi (Hooks for Malloc): Doc Fixes.
* manual/filesys.texi (Working Directory): Check for ERANGE to
avoid infloop.
Diffstat (limited to 'manual/memory.texi')
-rw-r--r-- | manual/memory.texi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/manual/memory.texi b/manual/memory.texi index 28c619f..40f0389 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -519,7 +519,7 @@ choices for @var{param}, as defined in @file{malloc.h}, are: @table @code @item M_TRIM_THRESHOLD -This is the minimum size (in bytes) of the top-most, releaseable chunk +This is the minimum size (in bytes) of the top-most, releasable chunk that will cause @code{sbrk} to be called with a negative argument in order to return memory to the system. @item M_TOP_PAD @@ -691,7 +691,7 @@ void *@var{function} (void *@var{ptr}, size_t @var{size}, void *@var{caller}) @end smallexample The value of @var{caller} is the return address found on the stack when -the @code{realloc} function was called. This value allows to trace the +the @code{realloc} function was called. This value allows you to trace the memory consumption of the program. @end defvar @@ -707,7 +707,7 @@ void @var{function} (void *@var{ptr}, void *@var{caller}) @end smallexample The value of @var{caller} is the return address found on the stack when -the @code{free} function was called. This value allows to trace the +the @code{free} function was called. This value allows you to trace the memory consumption of the program. @end defvar @@ -887,7 +887,7 @@ This is the total size of memory occupied by chunks handed out by This is the total size of memory occupied by free (not in use) chunks. @item int keepcost -This is the size of the top-most releaseable chunk that normally +This is the size of the top-most releasable chunk that normally borders the end of the heap (i.e. the ``brk'' of the process). @end table @@ -994,12 +994,12 @@ nothing is done. The behaviour of @code{malloc} etc. is not changed. For obvious reasons this also happens if the application is installed with the SUID or SGID bit set. -If the named file is successfully opened @code{mtrace} installs special +If the named file is successfully opened, @code{mtrace} installs special handlers for the functions @code{malloc}, @code{realloc}, and -@code{free} (@pxref{Hooks for Malloc}). From now on all uses of these +@code{free} (@pxref{Hooks for Malloc}). From then on, all uses of these functions are traced and protocolled into the file. There is now of course a speed penalty for all calls to the traced functions so tracing -should not be enabled during their normal use. +should not be enabled during normal use. This function is a GNU extension and generally not available on other systems. The prototype can be found in @file{mcheck.h}. |