[PATCH] [BZ #18970]: Reference of pthread_setcancelstate in libc.a
Roland McGrath
roland@hack.frob.com
Thu Sep 17 22:33:00 GMT 2015
> Does it mean it is OK for all most of, if not all, non-ANSI C functions,
> in glibc to use all POSIX.1 symbols? This is the usage of any non-ANSI C
> functions may pull in any POSIX.1 symbols.
In general I would have said that's true. But as Joseph pointed out, there
are standards we support, such as XPG4, that do not include all of recent
vintages of POSIX.1. So I'd say it's still true for things in POSIX.1-1990
(notably not including pthreads). And sometimes that's enough for it to be
completely obvious: anything outside outside ISO C can use read, write, and
close. But byeond that it quickly becomes so picayune that I think we are
better off looking at the conform/data files rather than trying to use any
easy "rules of thumb" like this.
More information about the Libc-alpha
mailing list