]> sourceware.org Git - glibc.git/blame - CONFORMANCE
Pretty print.
[glibc.git] / CONFORMANCE
CommitLineData
107f8131
UD
1Conformance of the GNU libc with various standards
2==================================================
3
4The GNU libc is designed to be conformant with existing standard as
6a3b5b5c 5far as possible. To ensure this I've run various tests. The results
107f8131
UD
6are presented here.
7
8
9Open Group's hdrchk
10-------------------
11
12The hdrchk test suite is available from the Open Group at
13
14 ftp://ftp.rdg.opengroup.org/pub/unsupported/stdtools/hdrchk/
15
16I've last run the suite on 1998-07-08 on a Linux/ix86 system with the
17following results [*]:
18
19 FIPS No reported problems
20
21 POSIX90 No reported problems
22
23 XPG3 No reported problems
24
25 XPG4 The wide character I/O stuff is missing in glibc.
26
27~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28*** Starting wchar.h
29Missing: extern wint_t fgetwc();
30Missing: extern wchar_t *fgetws();
31Missing: extern wint_t fputwc();
32Missing: extern int fputws();
33Missing: extern wint_t getwc();
34Missing: extern wint_t getwchar();
35Missing: extern wint_t putwc();
36Missing: extern wchar_t putwchar();
37Missing: extern wint_t ungetwc();
38Missing: extern size_t wcsftime();
39*** Completed wchar.h
40~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41
42 Beside this a problem in stdio.h is reported but
43 this is only because the scripts don't understand
44 the sometimes complex constructs in the header.
45
46 POSIX96 Same as UNIX98 [see below].
47 UNIX98 Quite a lot of problems, almost all due to limitations
48 of the Linux kernel (2.1.108):
49
50~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51*** Starting mqueue.h
52Missing #include file: mqueue.h
53*** Completed mqueue.h
54*** Starting semaphore.h
55Missing: #define SEM_FAILED (-1)
56Missing: extern int sem_close();
57Missing: extern sem_t *sem_open();
58Missing: extern int sem_unlink();
59*** Completed semaphore.h
60*** Starting signal.h
61Missing: #define SIGSYS (-1)
62*** Completed signal.h
63*** Starting sys/mman.h
64Missing: extern int shm_open();
65Missing: extern int shm_unlink();
66*** Completed sys/mman.h
67*** Starting sys/stat.h
68Missing: #define S_TYPEISMQ (-1)
69Missing: #define S_TYPEISSEM (-1)
70Missing: #define S_TYPEISSHM (-1)
71*** Completed sys/stat.h
72*** Starting sys/types.h
73Missing: typedef <type> clockid_t;
74Missing: typedef <type> timer_t;
75*** Completed sys/types.h
76*** Starting time.h
77Missing: #define CLOCK_REALTIME (-1)
78Missing: #define TIMER_ABSTIME (-1)
79Missing: extern int clock_getres();
80Missing: extern int clock_gettime();
81Missing: extern int clock_settime();
82Missing: struct itimerspec { <members> };
83Missing: extern int timer_create();
84Missing: extern int timer_delete();
85Missing: extern int timer_getoverrun();
86Missing: extern int timer_gettime();
87Missing: extern int timer_settime();
88*** Completed time.h
89*** Starting unistd.h
90Missing: #define _POSIX_MESSAGE_PASSING (-1)
91Missing: #define _POSIX_SEMAPHORES (-1)
92Missing: #define _POSIX_SHARED_MEMORY_OBJECTS (-1)
93Missing: #define _POSIX_TIMERS (-1)
94*** Completed unistd.h
95*** Starting wchar.h
96Missing: extern wint_t fgetwc();
97Missing: extern wchar_t *fgetws();
98Missing: extern wint_t fputwc();
99Missing: extern int fputws();
100Missing: extern int fwide();
101Missing: extern int fwprintf();
102Missing: extern int fwscanf();
103Missing: extern wint_t getwc();
104Missing: extern wint_t getwchar();
105Missing: extern wint_t putwc();
106Missing: extern wchar_t putwchar();
107Missing: extern int swprintf();
108Missing: extern int swscanf();
109Missing: extern wint_t ungetwc();
110Missing: extern int vfwprintf();
111Missing: extern int vswprintf();
112Missing: extern int vwprintf();
113Missing: extern size_t wcsftime();
114Missing: extern wchar_t *wcswcs();
115Missing: extern int wprintf();
116Missing: extern int wscanf();
117*** Completed wchar.h
118~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
119
120 Only the `wchar.h' problems result from glibc
121 defficiencies since we still don't support wide
122 character I/O.
123
124[*] Since the scripts are not clever enough for the way gcc handles
125include files (namely, putting some of them in gcc-local directory) I
126copied over the iso646.h, float.h, and stddef.h headers and ignored the
127problems resulting from the splitted limits.h file).
This page took 0.068749 seconds and 5 git commands to generate.