🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: open vs fopen?

#7904
From: George C. Lindauer
Date: Tue, 06 Feb 1996 19:50
21 lines
1412 bytes
natewild@mbnet.mb.ca (Nathan T. Wild) writes:

>In C, why would one use open and DOS int handles rather than fopen and
>stdio file handles?

The only reason I know of is UNIX portability.  Whenever I run across a
unix program that uses the old-style open instead of fopen I usually
end up rewriting it anyway though; I've had so many problems with
the unix-style stuff I just rather would deal with the ANSI style.

David
>Is there some speed advantage or differnet functionality?

>     

>|--------------------------------------------------------------------|
>| ooooO (``)   (``) Ooooo | Nathan T. Wild                           | 
>| (   ) )  (   )  ( (   ) | natewild@mbnet.mb.ca                     |
>| )  (  (   ) (   ) )  (  | ftp://ftp.mbnet.mb.ca/pub/natewild       |
>| (__)  ooooO Ooooo (__)  | http://www.mbnet.mb.ca/~natewild         |
>|--------------------------------------------------------------------|
Technical Details
Message-ID: <4f8bev$6tr@hermes.louisville.edu>
Path: arc1-ca.pugleaf.net!hermes.louisville.edu!starbase!gclind01
References: <uEYFxc9nX8WX083yn@mbnet.mb.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!hermes.louisville.edu!starbase!gclind01
From: gclind01@starbase.spd.louisville.edu (George C. Lindauer)
Newsgroups: comp.os.msdos.programmer,comp.lang.c
Subject: Re: open vs fopen?
Date: 6 Feb 1996 19:50:55 GMT
Organization: University of Louisville, Louisville KY USA
Message-ID: <4f8bev$6tr@hermes.louisville.edu>
References: <uEYFxc9nX8WX083yn@mbnet.mb.ca>
NNTP-Posting-Host: starbase.spd.louisville.edu
X-Newsreader: NN version 6.5.0 CURRENT #16