delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/17/12:17:27

To: babcock AT cfa DOT harvard DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: 1.12 ?
Date: Sun, 17 Jul 94 18:29:36 +0300
From: eliz AT is DOT elta DOT co DOT il

> djgpp prototypes for fread and fwrite in stdio.h are
>    int    fread(void*, int, int, FILE*);
>    int    fwrite(const void*, int, int, FILE*);

ANSI C requires the 2nd and 3rd argument to be size_t, but SunOS C wants them
to be int.  I guess GCC should be ANSI.

	Eli Zaretskii

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019