This is a pointer to a FILE structure, if that is what you are asking for. The file descriptor is an integer. The FILE structure and its associated APIs are part of the C standard. File descriptors and related functions are not. In practice, you can use any set of functions interchangeably, although there are some noticeable differences in the default behavior here and there. You can read the manual pages to find out which functions accept which parameters. On systems with file descriptors, you can usually use the fdopen(3) function to get the FILE structure from the open file descriptor and fileno(3) to go the other way.
source share