lotus

previous page: 11.8: I want to release my library to the GNO community. Is there anythingin particular that I should do?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 11.10: My (ported) source requires <sys/file.h>. Why isn't it there?

11.9: How do I get the file descriptor from a stdio FILE pointer?




Description

This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.

11.9: How do I get the file descriptor from a stdio FILE pointer?

    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:













TOP
previous page: 11.8: I want to release my library to the GNO community. Is there anythingin particular that I should do?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 11.10: My (ported) source requires <sys/file.h>. Why isn't it there?