Return to previous page | Return to menu | Go to next page
void
Event management function
Release the area acquired by function “slGetEvent”
void slReturnEvent(evptr)
EVENT *evptr ;
evptr Start address of the area to be released
The area acquired by the function “slGetEvent” is released and returned to the system.
None
If the area registered as an event is released with the function “slReturnEvent”, the area is returned to the system, but the event list is not changed (the event is not checked). Problems occur in the functions “slGetEvent”, “slSetEvent”, “slSetEventNext”, etc. For this reason, be sure to call the function “slCloseEvent” to delete the event registration and then release the area with “slReturnEvent”.
Reference: Chapter 10 Event Control
slReturnEvent