Query: newt_set_suspend_callback
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NEWT_SET_SUSPEND_CALLBACK(3) 1 NEWT_SET_SUSPEND_CALLBACK(3) newt_set_suspend_callback - Set a callback function which gets invoked when user presses the suspend keySYNOPSISvoid newt_set_suspend_callback (callable $function, mixed $data)DESCRIPTIONSet a callback function which gets invoked when user presses the suspend key (normally ^Z). If no suspend callback is registered, the sus- pend keystroke is ignored.PARAMETERSo $function - A callback function, which accepts one argument: data o $data - This data is been passed to the callback functionRETURN VALUESNo value is returned.SEE ALSOnewt_suspend(3), newt_resume(3). PHP Documentation Group NEWT_SET_SUSPEND_CALLBACK(3)