gpm_close¶
Close connection to GPM server.
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.