malloc

This is a discussion on malloc within the C Programming forums, part of the General Programming Boards category; Hi, my teacher wants us to write malloc. I have no idea where to start..does anybody know? Thanks....

  1. #1
    NoIdea
    Guest

    malloc

    Hi, my teacher wants us to write malloc. I have no idea where to start..does anybody know?

    Thanks.

  2. #2
    NoIdea
    Guest
    yea..I have to make it in UNIX.

    Thanks, I'll look into Mmap().

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    #define mymalloc malloc

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. malloc + segmentation fault
    By ch4 in forum C Programming
    Replies: 5
    Last Post: 04-07-2009, 04:46 PM
  2. Is there a limit on the number of malloc calls ?
    By krissy in forum Windows Programming
    Replies: 3
    Last Post: 03-19-2006, 12:26 PM
  3. Malloc and calloc problem!!
    By xxhimanshu in forum C Programming
    Replies: 19
    Last Post: 08-10-2005, 06:37 AM
  4. malloc and realloc
    By odysseus.lost in forum C Programming
    Replies: 3
    Last Post: 05-27-2005, 09:44 AM
  5. malloc() & address allocation
    By santechz in forum C Programming
    Replies: 6
    Last Post: 03-21-2005, 09:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21