Sign in Join
FPDoc Onlineexperiment

Fpmunmap function

In unit BaseUnix

Unmap previously mapped memory block.

Declaration

pascal
function Fpmunmap(start: pointer; len: size_t): cint

Description

FpMUnMap unmaps the memory block of size Len, pointed to by Adr, which was previously allocated with FpMMap.

The function returns True if successful, False otherwise.

For an example, see FpMMap.

Errors

In case of error the function returns a nonzero value, extended error information is returned by the FpGetErrno function. See FpMMap for possible error values.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.