What is the practical difference, if any, between stdin and STDIN_FILENO in C?
stdin
STDIN_FILENO
stdin is a default FILE pointer used to get input from none other than standard in.
STDIN_FILENO is the default standard input file descriptor number which is 0. It is essentially a defined directive for general use.
0