Thread: Question on sbrk()!!!!!!!!!!!!!!help!!!!!!!

  1. #1
    Registered User
    Join Date
    Sep 2005

    Talking Question on sbrk()!!!!!!!!!!!!!!help!!!!!!!

    i am new user of linux programming!!
    as i know. some Unix implementations of malloc () user sbrk () system call to get more memory for use.
    but, i have a question---> how sbrk () gets memory from the operationg system??
    and what does sbrk (0) do ?? what can it be used for ??
    what if i change it to sbrk (1)??
    will be it be any different??

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Is there something wrong with your ! key?

    man sbrk

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM