mirror of https://github.com/mkerrisk/man-pages
malloc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bc045fdd60
commit
f57d94ca99
|
@ -273,7 +273,7 @@ in
|
||||||
.BR proc (5),
|
.BR proc (5),
|
||||||
and the Linux kernel source file
|
and the Linux kernel source file
|
||||||
.IR Documentation/vm/overcommit-accounting .
|
.IR Documentation/vm/overcommit-accounting .
|
||||||
|
.PP
|
||||||
Normally,
|
Normally,
|
||||||
.BR malloc ()
|
.BR malloc ()
|
||||||
allocates memory from the heap, and adjusts the size of the heap
|
allocates memory from the heap, and adjusts the size of the heap
|
||||||
|
@ -294,7 +294,7 @@ are unaffected by the
|
||||||
.B RLIMIT_DATA
|
.B RLIMIT_DATA
|
||||||
resource limit (see
|
resource limit (see
|
||||||
.BR getrlimit (2)).
|
.BR getrlimit (2)).
|
||||||
|
.PP
|
||||||
To avoid corruption in multithreaded applications,
|
To avoid corruption in multithreaded applications,
|
||||||
mutexes are used internally to protect the memory-management
|
mutexes are used internally to protect the memory-management
|
||||||
data structures employed by these functions.
|
data structures employed by these functions.
|
||||||
|
@ -312,7 +312,7 @@ by the system
|
||||||
or
|
or
|
||||||
.BR mmap (2)),
|
.BR mmap (2)),
|
||||||
and managed with its own mutexes.
|
and managed with its own mutexes.
|
||||||
|
.PP
|
||||||
SUSv2 requires
|
SUSv2 requires
|
||||||
.BR malloc (),
|
.BR malloc (),
|
||||||
.BR calloc (),
|
.BR calloc (),
|
||||||
|
|
Loading…
Reference in New Issue