Did you know ... Search Documentation:
Sread_pending()