## EXIT_CB (since 3.28)

Global callback for an exit. Used when main is not possible, such as in iOS and Android systems.

It is called every time the last main loop is ended. For regular systems is called right after the actual event loop is ended, every time when the main loop level returns to 0.

### Callback

    void function(void); [in C]

### Notes

It can only be set using IupSetFunction(name, func).

#### Lua Binding

To modify this action use the iup.SetGlobalCallback(name, func) function.

### See Also

IupSetFunction, ENTRY_POINT,