🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7913

Re: open vs fopen?

#7913
From: Jonas J. Schlein
Date: Thu, 08 Feb 1996 16:20
13 lines
930 bytes
Rajendra Singh <Rajendra_Singh@msn.com> wrote:
|> That's incorrect.  fopen() is used for buffered I/O!  open() is not a
|> UNIX specific function nor is it non-ANSI!

Here's some logic:

If open() is ANSI then all ANSI C compilers must have it.
There exists an ANSI C compiler that does not have open().
Therefore, open() is a non-ANSI C function.
-- 
"If it wasn't for C, we would be using BASI, PASAL, and OBOL."

Jonas J. Schlein  (schlein@gl.umbc.edu)
Technical Details
Message-ID: <4fd7st$kcm@umbc9.umbc.edu>
Path: arc1-ca.pugleaf.net!news.umbc.edu!not-for-mail
References: <uEYFxc9nX8WX083yn@mbnet.mb.ca> <4f8bev$6tr@hermes.louisville.edu> <4fbfno$7f@noc.tor.hookup.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.umbc.edu!not-for-mail
From: schlein@umbc.edu (Jonas J. Schlein)
Newsgroups: comp.os.msdos.programmer,comp.lang.c
Subject: Re: open vs fopen?
Date: 8 Feb 1996 11:20:45 -0500
Organization: University of Maryland Baltimore County
Message-ID: <4fd7st$kcm@umbc9.umbc.edu>
References: <uEYFxc9nX8WX083yn@mbnet.mb.ca> <4f8bev$6tr@hermes.louisville.edu> <4fbfno$7f@noc.tor.hookup.net>
NNTP-Posting-Host: umbc9.umbc.edu
NNTP-Posting-User: schlein