Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!ames!pasteur!cory.Berkeley.EDU!fadden From: fadden@cory.Berkeley.EDU (Andy McFadden) Newsgroups: comp.sys.apple Subject: APW C buffered I/O routines Message-ID: <20704@pasteur.Berkeley.EDU> Date: 15 Dec 89 07:41:56 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: fadden@cory.Berkeley.EDU (Andy McFadden) Organization: University of California, Berkeley Lines: 15 It appears that the buffered I/O in the APW C library (calls like fopen(), fread, fwrite, getc(), ...) uses a 1K buffer. It would dramatically speed up a program I ported from UNIX if the buffer size were larger (like 8 or 16K). Does anybody have a set of routines similar to the library ones? Or could somebody at Apple DTS crank up the buffer size and send the OBJ file for me to link? I tried setting BUFSIZ, but it appears that doesn't apply to stdin, stdout, and stderr. Thanks... -- fadden@cory.berkeley.edu (Andy McFadden) ...!ucbvax!cory!fadden