[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'oldlinux' (#rtl)

MUnMap

Unmap previously mapped memory block

Declaration

Source position: oldlinux.pp line 1546

function MUnMap(

  P: Pointer;

  Size: LongInt

):Boolean;

Description

MUnMapunmaps the memory block of size Size, pointed to by P, which was previously allocated with MMap.

The function returns Trueif successful, Falseotherwise.

For an example, see MMap.

Errors

In case of error the function returns Falseand LinuxErroris set to an error value. See MMapfor possible error values.

See also

MMap

  

Create memory map of a file