Name

brk
- change data segment size

Library

libc.lib

Synopsis

  #include <sys/types.h>
  #include <unistd.h>
  int brk (const void *addr);

Return values

Function always returns 0.

Detailed description

The brk function is used to change the amount of memory allocated in a process’s data segment. It does this by moving the location of the "break". This functionality is not supported by the symbian platform and hence is only build supported.


See also

mmap, free, malloc

Feedback

For additional information or queries on this page send feedback

© 2005-2007 Nokia

Top