add items to the found posix issue list
[musl-tables] / data / posix2008.bugs
1 wcrtomb should be declared in <wchar.h> not in <stdio.h>
2 see
3 http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcrtomb.html
4 vs
5 http://repo.or.cz/w/c-standard.git/blob_plain/HEAD:/n1256.html#7.24.6.3.3
6
7 pthread_kill(invalid_value, sig); required to return ESRCH which is not possible
8 http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html
9
10 restrict in wcpncpy prototype is at the wrong place
11 wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restrict ws2, size_t n);
12
13 http://pubs.opengroup.org/onlinepubs/9699919799/functions/dirname.html
14 dirname of "usr/" is not specified clearly (it could be "" or "." based on the specs)
15
16 INET_ADDRSTRLEN etc is a symbolic constant not a macro
17 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/arpa_inet.h.html
18
19 in pthread the usual text is used:
20 "The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided."
21 pthread_cleanup_[push|pop] should not need a prototype
22 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html
23
24 PTHREAD_CANCELED symbolic const should be marked as void* (otherwise it's assumed to be int)
25 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html
26
27 "..to access an actual object, or a progrm defines an identifier with the name.."
28 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html
29
30 cx option in unistd.h
31 [CX][Option Start]
32 char        *ctermid(char *);
33 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html
34
35 gets "get a string from a .I stdin stream"
36 http://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html