Different types of Error
There is a number associates to each type of the file.
It is called as file desc.
File is always identified by that.
The information of the file desc to that for the process is in the O.S.
The following are the numbers.
0 - Standard input.
1 - Standard output.
2 - Standard Err.
They are always attached to the redirection symbols.