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.
 NameMtimeSizeType
0 Makefile 1994-01-28 01:04:24Z 433 B application/octet-stream
1 README 1991-01-17 20:27:58Z 959 B text/plain; charset=utf-8
2 dbmclose.c 1989-11-29 21:20:08Z 13 B text/x-csrc
3 dbz.c 1990-04-13 17:43:39Z 1.5 KiB text/x-csrc
4 fsync.c 1988-12-31 06:43:13Z 105 B text/x-csrc
5 getopt.3 1986-10-30 15:18:26Z 2.7 KiB application/octet-stream
6 getopt.c 1991-03-13 18:55:09Z 1.0 KiB text/x-csrc
7 memchr.c 1989-05-28 22:23:45Z 577 B text/x-csrc
8 memcmp.c 1989-05-28 22:23:45Z 339 B text/x-csrc
9 memcpy.c 1989-05-28 22:23:46Z 430 B text/x-csrc
10 memset.c 1989-05-28 22:23:46Z 506 B text/x-csrc
11 mkdir.c 1990-10-29 04:22:58Z 791 B text/x-csrc
12 putenv.c 1990-10-26 12:51:21Z 1.3 KiB text/x-csrc
13 strchr.c 1989-05-28 22:23:46Z 408 B text/x-csrc
14 strcspn.c 1989-05-28 22:23:47Z 420 B text/x-csrc
15 strerror.c 1990-10-15 03:51:56Z 363 B text/x-csrc
16 strpbrk.c 1989-05-28 22:23:47Z 402 B text/x-csrc
17 strrchr.c 1989-05-28 22:23:48Z 395 B text/x-csrc
18 strspn.c 1989-05-28 22:23:48Z 436 B text/x-csrc
19 strtok.c 1989-05-28 22:23:49Z 1.1 KiB text/x-csrc
20 symlink.c 1990-11-20 18:43:25Z 128 B text/x-csrc