kbdclt_quit

Synopsis

    
    #include "cltsrvr.h"
    int kbdclt_quit( int argc, char **argv );
    

Description

kbdclt_quit() is an init_options-kind-of-function which sets a keyboard client up to quit gracefully when an experiment terminates. It is referenced by kbdclt.oui. This function invokes a lower-level setup via the function cc_quit_request(). Thatfunction allocates an empty proxy and passes it to CmdCtrl or PBreg. The proxy will be triggered when the appropriate server receives a quit command.

Returns

On success, the PID of the quit proxy is returned. On failure, if nl_response is set low enough to prevent an abort, -1 isreturned.

See Also

cc_quit_request().

Source File

/usr/local/src/nortlib/kbdclt.c

Alphabetical List
Subject List
Return to Manuals Page
webmaster@huarp.harvard.edu
Copyright 2001 by the President and Fellows of Harvard College