Is there any way to figure out whether the input is buffered or unbuffered (Apart from manual pages.)? Cant we figure out by looking a
input
buffered
unbuffered
You can associate a buffer with a file, including stdin, with setvbuf(). You can change the buffering mode to full, line, or none.
stdin
setvbuf()