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: musl - and menchmarking libc


On Thu, 6 Sep 2012, Rich Felker wrote:

> One could nit-pick about whether the "a header" condition disallows
> this practice due to off_t, but my understanding of the intended

I think it clearly disallows self-declaring functions whose types involve 
off_t (but a few functions such as "open" have 64-bit versions despite not 
using such types - and unlike declaring functions with the type off_t in 
fact has on the given implementation, it does seem to be allowed to 
declare open and call it with the value O_RDONLY in fact has on the given 
implementation - which could be passed in from another translation unit 
that does include the headers).

-- 
Joseph S. Myers
joseph@codesourcery.com


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