Sign in Join
FPDoc Onlineexperiment

gpm_close function

In unit gpm

Close connection to GPM server.

Declaration

pascal
function gpm_close: LongInt

Description

Gpm_Close closes the current connection, and pops the connection stack; this means that the previous connection becomes active again.

The function returns -1 if the current connection is not the last one, and it returns 0 if the current connection is the last one.

for an example, see Gpm_GetEvent.

Errors

None.

See also

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