This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.
A#11.9: Use the fileno() macro. This is defined in <stdio.h> as of GNO v2.0.6. For earlier versions you will have to add it in yourself. The proper macro definition for the ORCA/C headers is: #define fileno(p) ((p)->_file)
 
Continue to: