home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.orig.lzh
/
libfake
/
README
< prev
next >
Wrap
Text File
|
1989-06-27
|
1KB
|
26 lines
This is stuff that your system ought to have but might not. Some of these
are just quick fakes that do the right thing for C News but not in general;
some are freely-redistributable portable implementations of the real thing.
The dbm imitation is exceedingly crude and inefficient but provides full
functionality.
Fsync and symlink are C-News-specific fakes.
Ldiv.c is inefficient but provides the full ANSI C functionality. (Do not
confuse it with the prehistoric ldiv function found in some very old Unixes.)
The mem* and str* and *index functions come from Henry Spencer's public-domain
string-functions implementation. Said implementation is somewhat in need of
an updating to match ANSI C, and there are minor portability glitches, but in
general these should do the right thing for you.
Getopt is Henry Spencer's public-domain implementation of System III getopt.
It differs from the System V one in minor ways.
Mkdir may give problems if called from a setuid program and either your
system does not implement setuid(geteuid()) or the program doesn't bother
to do it. Otherwise it's fine.
Putenv is crude but works.