What is the Max no of files that can be opened simultaneously within a Single C program.

i want this information for kenel compilation