This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [BZ #18970]: Reference of pthread_setcancelstate in libc.a


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]