Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1447 → Rev 1446

/uspace/trunk/kbd/generic/kbd.c
39,7 → 39,9
#include <key_buffer.h>
 
#define NAME "KBD"
 
void hello(void *private, int retval, ipc_call_t *data) {
printf("%s: got answer from console with retval %d.\n", NAME, retval);
}
int main(int argc, char **argv)
{
ipc_call_t call;
112,7 → 114,7
break;
}
/*FIXME: detection of closed connection */
ipc_call_async(phoneid, KBD_PUSHCHAR, arg1, 0, NULL);
ipc_call_async(phoneid, KBD_PUSHCHAR, arg1, 0, &hello);
}
 
}