yoxoman said:
Is there a reason why the FILE type (from stdio) is written uppercase ?
Is it related to its opaque nature ?
Macros are conventionally written in all-caps.
I'm not sure of this, but it's possible that the FILE type was first
introduced when typedef had not yet been added to the language.
If so, the original definition might have been something like:
struct __file_info {
/* ... */
};
#define FILE struct __file_info
In modern C it has to be a typedef (there's no permission to define
it as a macro), but the name stuck.
Another distinct possibility is that whoever invented the name
just thought putting it in all-caps would be a good idea. The C
standard library is not noted for being 100% consistent.