Next: PSX_GETEGID - Gets the effective group ID
Up: Routine Descriptions
Previous: PSX_CUSERID - Get the username
PSX_FREE
- Free virtual memory
- Description:
- The routine frees the virtual memory pointed to by PNTR that was
previously allocated by a call to
PSX_CALLOC
or
PSX_MALLOC.
- Invocation:
- CALL PSX_FREE( PNTR, STATUS )
- Arguments:
-
-
PNTR = POINTER (Given and Returned)
-
A pointer to the allocated storage.
-
STATUS = INTEGER (Given)
-
The global status.
- Notes:
- PNTR is declared to be of type POINTER. This is usually
represented in FORTRAN as an INTEGER, although any type that
uses the same amount of storage would be just as good.
-
External Routines Used
- cnf: cnfCptr, cnfFree
-
References
- POSIX standard (1988), section 8.1
- ANSI C standard (1989), section 4.10.3.2
-
Copyright
- Copyright (C) 1991 Science & Engineering Research Council
Next: PSX_GETEGID - Gets the effective group ID
Up: Routine Descriptions
Previous: PSX_CUSERID - Get the username
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