diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-02 15:45:58 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-02 15:45:58 -0800 |
commit | b219801fb0e5eaff7778d21701da977104522da3 (patch) | |
tree | 390f716c458a9b052cd431a20112386a8dffb731 | |
parent | b92333ff5e75bf96804359e9fbf464d3b518bd95 (diff) |
Add ao_usb_pollchar to ao.h
-rw-r--r-- | src/ao.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -291,6 +291,12 @@ ao_usb_putchar(char c); char ao_usb_getchar(void); +/* Poll for a charcter on the USB input queue. + * returns AO_READ_AGAIN if none are available + */ +char +ao_usb_pollchar(void); + /* Flush the USB output queue */ void ao_usb_flush(void); |