Sun Studio 12: Fortran Library Reference

3.3.3 Memory ¤

None of these functions are part of the FORTRAN 77 Standard.

Table 3–8 Fortran 77 Memory Functions

Intrinsic Function  

Definition  

No. of Args  

Specific Name  

Argument Type  

Function Type  

Location 

Address of 

See Note (17).

LOC

Any

INTEGER*4INTEGER*8

Allocate 

Allocate memory and return address. 

See Note (17).

MALLOC

MALLOC64

INTEGER*4

INTEGER*8

INTEGER

INTEGER*8

Deallocate 

Deallocate memory allocated by MALLOC. See Note (17).

FREE

Any

Size 

Return the size of the argument in bytes. 

See Note (18).

SIZEOF

Any expression

INTEGER