Online HelpPC 2.10      Quick Reference Utility     Copyright 1991 David Jurgens
 
                           void *sbrk( int incr )                           
                                                                                                                                                                          - prototype in alloc.h (malloc.h for MS C)                                                                                                                        - dynamically changes the amount of space allocated to the calling                 programs data segment.  Amount of allocated space is increased by                amount incr (can be negative).                                                                                                                                  - returns 0 if OK                                                                         -1 & errno is set to ENOMEM                                                                                                                                                                                                        
[helppc.bosbyte.nl]                  sbrk                     Home  Back  Topics