Keyboard input/Flush the keyboard buffer: Difference between revisions
Content deleted Content added
Line 807: | Line 807: | ||
=={{header|C}}== |
=={{header|C}}== |
||
===Simple solution for stdin=== |
|||
===POSIX=== |
|||
{{libheader|POSIX}} |
{{libheader|POSIX}} |
||
Code lifted from [[Keyboard input/Obtain a Y or N response]]: |
Code lifted from [[Keyboard input/Obtain a Y or N response]]: |