Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ malloc(3F) — Sun FORTRAN 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

free(3F)

MALLOC(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

malloc − allocate an amount of memory and return the address

SYNOPSIS

function malloc()

DESCRIPTION

The function MALLOC() allocates an area of memory and returns the address of the start of that area.  The argument to the function is an integer specifying the amount of memory to be allocated, in bytes.  If successful, it returns a pointer to the first element of the region, otherwise it returns an integer 0.  The region of memory is not initialized in any way — assume it is garbage. 

FILES

/usr/lib/libU77.a

SEE ALSO

free(3F)

Sun Release 4.0  —  Last change: 18 Oct  1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026