#: 17810 S12/OS9/68000 (OSK)
27-Mar-93 02:56:16
Sb: #17800-Bigger read/write buffer
Fm: Mark Griffith 76070,41
To: William F. McGill/CA 73177,3433 (X)
Bill,
> Can anyone tell me how to increase the size of the system buffer associated
> with the read() and write() commands in C 3.2?
You must be talking about fread() and fwrite(). There is no internal buffering
on read() and write() since they are low-level functions:
read (path, buffer, count)
should explain it. You can make the buffer in your code any size you want.
Actually, 32768 is the largest you can predefine. You need to use malloc() or
something like that to make a larger buffer.
Hope this helps.
/************* /\/\ark ************/
|