Brk and sbrk are not part of C. They shouldn't even be part of UNIX. You can't write portable code with them. The concept of a single linear address space for data and another for subroutine linkage is not a universal concept. Use Malloc. -Ron