tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: constify dirname/basename [was: CVS commit: src]



>>> It means user-space code redeclaring the function will now get an
>>> incompatible redclaration error.
>> [...], user code should never do that.
> Indeed, C99 Example 7.1.4p5 that explicitly lists such a construct as
> an example of how to use standard library functions

No; that's not an exmaple of *re*declaring the library function.  If
they had included the header *and* added the explicit declaration,
*then* it would have been an example of what we're talking about here.

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML               mouse%rodents.montreal.qc.ca@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index