Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

malloc

by malloc (Pilgrim)
on May 17, 2001 at 18:23 UTC ( #81246=user: print w/replies, xml ) Need Help??

envision the white lotus

<CODE> $email = dan123@ajvar123.123org; $email =~ s/\d//g;


MALLOC(3)           Linux Programmer's Manual      MALLOC(3)
NAME
       calloc,  malloc, free, realloc - Allocate and free dynamic memory

SYNOPSIS
       #include <stdlib.h>

       void *malloc(size_t size);

DES‎CRIP‎TION

malloc() allocates size bytes and returns a pointer to the
         allocated memory.  The memory is not cleared.

RETURN VALUE
       For calloc() and malloc(), the value returned is a
 pointer to the allocated memory, which is suitably aligned
 for any kind of variable, or NULL if the request fails.

CONFORMING TO
       ANSI-C

SEE ALSO
       brk(2)

NOTES
       Crashes in malloc(), free() or realloc() are 
almost always related to heap corruption, such as 
overflowing  an  allocated chunk or freeing the same 
pointer twice.

GNU                       April 4, 1993                  1

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Discipulus]: fall asleep? coffee time!
Discipulus when in motorbike it is impossible to fall asleep.. another advantage
marioroy I once fell asleep while drive and had no collection on how I exited the ramp. Then called my wife not knowing where I was totally lost.
marioroy At a large firm, had to awaken a security guy a few times so that nobody would catch him sleeping.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-05-29 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?