X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Mon, 25 Feb 2002 14:13:18 -0500 Message-Id: <200202251913.g1PJDIx31078@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <20020225130908.A7403@kendall.sfbr.org> (message from JT Williams on Mon, 25 Feb 2002 13:09:08 -0600) Subject: Re: write, _write, fwrite References: <20020225130908 DOT A7403 AT kendall DOT sfbr DOT org> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > What are the considerations for choosing between the write, _write, and > fwrite procedures? (And the corresponding read, _read, and fread.) From > the libc docs I see some differences in the prototypes, but otherwise the > choice seems mainly related to portability. Is this correct? buffered cr/lf Standard conversion fwrite fread Yes Yes ANSI write read No Yes POSIX _write _read No No DOS