[Overview][Constants][Types][Procedures and functions][Variables][Index] 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

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

The function returns True if successful, False otherwise.

For an example, see MMap.

Errors

In case of error the function returns False and LinuxError is set to an error value. See MMap for possible error values.

See also

MMap

  

Create memory map of a file

The latest version of this document can be found at lazarus-ccr.sourceforge.net.