Index of /Applications/News/C-News/Feb_1993_Release/libfake

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] getopt.3 1986-10-30 16:18 2.7K [TXT] fsync.c 1988-12-31 07:43 105 [TXT] memchr.c 1989-05-29 00:23 577 [TXT] memcmp.c 1989-05-29 00:23 339 [TXT] memcpy.c 1989-05-29 00:23 430 [TXT] memset.c 1989-05-29 00:23 506 [TXT] strchr.c 1989-05-29 00:23 408 [TXT] strcspn.c 1989-05-29 00:23 420 [TXT] strpbrk.c 1989-05-29 00:23 402 [TXT] strrchr.c 1989-05-29 00:23 395 [TXT] strspn.c 1989-05-29 00:23 436 [TXT] strtok.c 1989-05-29 00:23 1.1K [TXT] dbmclose.c 1989-11-29 22:20 13 [TXT] dbz.c 1990-04-13 19:43 1.5K [TXT] strerror.c 1990-10-15 04:51 363 [TXT] putenv.c 1990-10-26 13:51 1.3K [TXT] mkdir.c 1990-10-29 05:22 791 [TXT] symlink.c 1990-11-20 19:43 128 [TXT] getopt.c 1991-03-13 19:55 1.0K [TXT] Makefile 1994-01-28 02:04 433
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.

Dbz is a wrapper that imitates dbz's extra functionality using dbm.

Fsync and symlink are C-News-specific fakes.

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.