| To: | REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Double-buffering read/write to files |
| From: | "Theodore H. Smith" <delete at elfdata dot com> |
| Date: | Mon, 11 Dec 2006 21:22:45 +0000 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-plugins at lists dot realsoftware dot com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=meA+JmaWx5HIMNKVh/yLnLkSLGgCeoh+AERLL6aho6GPMjP8FjDuRBPCk893iBMz6CwrDwey1Ah2Uv1AE4pDDTEasu0/m3ewVdemUFo2pQsCw4ZDW9qap0umJ6K/iZY726QFzAImLoUB2czFCioLITGGjOELNxvsC2DEjeF7Ss8= |
| References: | <557C772B-523C-457F-9A99-D5E7A0628387 at elfdata dot com> <60300C4A-3D6E-489F-8BAB-AC98685A9DBE at elfdata dot com> <457DBEFE dot 7060808 at Club-Internet dot fr> <E2F791C5-95CD-4FC7-8C40-4AFC38C212C0 at elfdata dot com> <457DC9D0 dot 7010704 at Club-Internet dot fr> |
On 11 Dec 2006, at 21:12, Menneteau wrote: Theodore H. Smith wrote:fopen is a higher level call that gives you access to higher level calls such as fgets/fgetws (get string/wstrinf from afile) that you don"t get with read.On 11 Dec 2006, at 20:26, Menneteau wrote: Thanks Mennetau, nice answer. One more though. What is the difference between fopen and open?Why is there an fopen call when open seems to do it all, and even better? Is fopen better buffered, or what?perhaps with sysctl. For example, you can get the software page size and any I/O operation is a multiple of that valueAnyhow, for my case, I don't want any buffering.Do you have any idea how I can ask the OS what is it's preferred file I/O read/write size? Thanks Mennetau. Always good to have an unix expert handy ;) _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Double-buffering read/write to files, Norman Palardy |
|---|---|
| Next by Date: | Re: Double-buffering read/write to files, Theodore H. Smith |
| Previous by Thread: | Re: Double-buffering read/write to files, Menneteau |
| Next by Thread: | Re: Double-buffering read/write to files, Theodore H. Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |