httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <bh...@gensym.com>
Subject Re: SunOS4 and stdio
Date Wed, 29 Oct 1997 15:11:53 GMT

Oh, isn't this special.  I find that SunOS 4.1.4 as fewer
things in stdio.h than Dirk finds in verision 4.1.3.

 > uname -a; egrep 'fopen|fclose|fgetc' /usr/*include/{*/*.h,*.h}
 SunOS thailand 4.1.4 3 sun4m
 /usr/include/scsi/scsi_ctl.h:extern int scsi_ifgetcap(), scsi_ifsetcap();
 /usr/include/stdio.h:extern FILE	*fopen();
 /usr/ucbinclude/scsi/scsi_ctl.h:extern int scsi_ifgetcap(), scsi_ifsetcap();
 /usr/ucbinclude/stdio.h:extern FILE	*fopen();
 /usr/5include/stdio.h:extern int	fclose(/* FILE *f */);
 /usr/5include/stdio.h:extern int	fgetc(/* FILE *f */);
 /usr/5include/stdio.h:extern FILE	*fopen(/* const char *path, const char *mode */);
 /usr/xpg2include/stdio.h:extern FILE	*fopen(), *fdopen(), *freopen(), *popen(), *tmpfile();
 >

Martin needs is fclose and fgetc.  - ben h.

   From: Dirk-Willem van Gulik <dirkx@elect6.jrc.it>

   On Wed, 29 Oct 1997, Martin Kraemer wrote:

   > Can someone with a SunOS4 please tell me where (in which #include file)
   > they hide the declarations for fclose() and fgetc()?
   > Are they not in <stdio.h>?
   > 

	#include <stdio.h>

	int getc(stream)
	FILE *stream;

       fclose(stream)
	FILE *stream;

	fflush(stream)
	FILE *stream;

   on

   SunOS pacific 4.1.3 3 sun4c


   Cheers,

   Dw.



Mime
View raw message