1\" Generated by c2man from fd_purge.c 2.TH fd_purge 3 3 4.SH LIBRARY 5\" Indicate #includes, library name, -L and -l flags 6#include <xtend/file.h> 7-lxtend 8 9\" Convention: 10\" Underline anything that is typed verbatim - commands, etc. 11.SH SYNOPSIS 12.PP 13void fd_purge(int fd) 14 15.SH ARGUMENTS 16.nf 17.na 18fd: File descriptor to purge 19.ad 20.fi 21 22.SH DESCRIPTION 23 24fd_purge() reads and discards unwanted input data (such as leftover 25input from a keyboard or mouse) from the input file descriptor fd. 26 27.SH SEE ALSO 28 29read(3), fcntl(3) 30