TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: All
from: William F. McGill/CA 73177,3433
date: 1993-03-25 21:28:45
subject: #Bigger read/write buffer

#: 17800 S12/OS9/68000 (OSK)
    25-Mar-93  21:28:45
Sb: #Bigger read/write buffer
Fm: William F. McGill/CA 73177,3433
To: All

Can anyone tell me how to increase the size of the system buffer associated
with the read() and write() commands in C 3.2?

I need to copy a large file, and it seems the system buffer size is rather
small.  It takes about 4 times as long to copy the file using a read() followed
by a write() than it does when I just use the OS9 copy command, specifying "
-b=64k ".

I've read all the manuals, and OS-0 Insights implies that it is possible to
increase the system buffer size, but I haven't found any way to do it.

Any ideas?

Bill


There are 3 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.