Sign in Join
FPDoc Onlineexperiment

global_dos_free function

In unit go32

Free DOS memory block.

Declaration

pascal
function global_dos_free(selector: Word): Boolean

Description

Frees a previously allocated dos memory block.

Parameters:

selector
selector to the dos memory block.

Return value: True if successful, False otherwise.

The descriptor allocated for the memory block is automatically freed and hence invalid for further use. This function should only be used for memory allocated by global_dos_alloc.

For an example, see global_dos_alloc.

Errors

Check the int31error variable.

See also

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