<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 07 Oct 1986 21:59:36 GMT
From   : William Swan <bill%sigma.uucp@BRL.ARPA>
Subject: standardizing BDS C (sort of)

[]
Has anybody "standardized" BDS C?


I have been working (playing) with a BDS C compiler lately, and have 
been subjected to a number of annoyances related to its non-standard
I/O routines which carry standard names, such as fopen().

A few years back somebody wrote a set of routines, sfopen() et al, 
that work like the "real" thing. I expanded and incorporated those into
"my" libraries, but there is still the problem of finding and changing
names in p/d programs to be compiled with BDS C.

I would like to reorganize the standard libraries so that the "new"
standard functions would work just like the "real" thing. A quick
survey shows the following routines (there may be others) to be
(possibly) nonstandard in some potentially critical way:

       puts()  getline()?
       open()  creat() read()  write() seek()? tell()?
       fopen() fgets()?

If anybody has done this before (or knows of it being done), I would
appreciate sources, pointers, or hints.

---
Bill Swan      {decvax,allegra,ihnp4}!uw-beaver!tikal!sigma!bill
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>