What does POSIX say about putting stubs in libc?
Patrick TJ McPhee wrote: > I’d like to know what Posix has to say about putting stubs in libc. > Is it permitted? Is it required? What return code can we expect to > receive from such a stub, and how can we portably ignore it? POSIX doesn’t have ANYTHING to say. POSIX 1003.1 doesn’t really recognize the existance of the concept of a “library”. It defines a set of SOURCE LEVEL interfaces that shall be provided by implementations and that may be used by applications to achieve certain portable semantics. Now, 1003.2 says a little about libraries. That is, there’s something with a “.