summaryrefslogtreecommitdiff
path: root/test/README
blob: 0c2b63fc9f0b2f92ff7cacd90ffb337fb6e5987e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
This directory contains C sourcfiles intended to test deheader, and
a check against which to compare the output.

Many of these examples are takem from the Single Unix Standard's list
of section 2 and 3 entry points.  I don't necessarily test anything in
SuS with a structure- or pointer-to-structure type argument; that will
fail as it should on any modern compiler because the struct is neither
defined nor the derived pointer type forward-declared with a stub.  I
also ignore any header that declares only macros.

SuS things excluded by these criteria:

aio.h     - aio_* entry points for asynchronous input and output
time.h    - asctime() and asctime_r()
assert.h  - assert() macro
syslog.h  - closelog(), openlog(), setlogmask(), syslog()
rexgexp.h - advance() is tested, compile() is not.
unistd.h  - confstr(), exec*(), fchdir(), fdatasync() not tested.
math.h    - cos(), cosh(): these will need <math.h>.
stdio.h   - ctermid(), fdopen(), feof(), ferror(), fflush(), fgetc() not tested.
time.h    - ctime_r(), difftime(), and daylight are not tested, but ctime() is.
ctype.h   - not tested; all the macro defs would be unresolved. 
stdio.h   - cuserid() not tested; SuS includes <stdio.h>
ndbm.h    - all functions rely on the DBM datatype
dirent.h  - all entry points depend on struct dirent.
libgen.h  - basename() tested, dirname() not.
stdio.h   - div() not tested; SuS includes <stdio.h>
dlfcn.h   - dlclose(), dlerror(), dlopen(), dlsym() not tested
grp.h     - functions not tested, getgrent() depends on <grp.h>
pwd.h     - functions not tested, getpwent() depends on <pwd.h>
utmpx.h   - functions not tested, most depend on <utmpx.h>
math.h    - erf(), erfc(), exp(), expm1(), fabs(), floor(). fmod() not tested.
stropts.h - fattach(), fdetach() not tested
time.h    - FD_* macros are not tested
strings.h - ffs() not tested.
stdio.h   - fgetpos(), fgets(), fileno(), f*lockfile(), fopen(), not tested.
wchar.h   - fgetwc(), fgetws() not tested.
fmtmsg.h  - fmtmsg() not tested.
fnmatch.h - fnmatch() not tested.
unistd.h  - fork(), fpathconf(), free() not tested.
stdio.h   - *printf*, fputc(), fputwc(), fputws(), fread() not tested.

For other dependencies not tested, see the commented-out lines in deheader's
dependency table.