newt_set_suspend_callback(3) php man page | unix.com

Man Page: newt_set_suspend_callback

Operating Environment: php

Section: 3

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 key

SYNOPSIS
void newt_set_suspend_callback (callable $function, mixed $data)
DESCRIPTION
Set 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.
PARAMETERS
o $function - A callback function, which accepts one argument: data o $data - This data is been passed to the callback function
RETURN VALUES
No value is returned.
SEE ALSO
newt_suspend(3), newt_resume(3). PHP Documentation Group NEWT_SET_SUSPEND_CALLBACK(3)
Related Man Pages
eio_dup2(3) - php
eio_fstatvfs(3) - php
eio_truncate(3) - php
gupnp_context_timeout_add(3) - php
gupnp_device_action_callback_set(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch