next up previous 216
Next: Date and Time
Up: Language Specific Services for C (FORTRAN versions)
Previous: Pseudo-Random Numbers

Memory Management

PSX_CALLOC ( NMEMB, TYPE, PNTR, STATUS )
Allocate space for several objects of specified type
PSX_FREE ( PNTR, STATUS )
Free virtual memory
PSX_MALLOC ( SIZE, PNTR, STATUS )
Allocate virtual memory
PSX_REALLOC ( SIZE, PNTR, STATUS )
Change the size of an allocated region of virtual memory



next up previous 216
Next: Date and Time
Up: Language Specific Services for C (FORTRAN versions)
Previous: Pseudo-Random Numbers

PSX POSIX interface routines
Starlink User Note 121
P M Allan
A J Chipperfield
10 April 2003
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils