poll() implementation
Peter S. Mazinger
ps.m at gmx.net
Fri Aug 4 21:58:35 UTC 2006
On Sat, 29 Jul 2006, Richard Braun wrote:
> On Fri, Jul 28, 2006 at 03:46:27PM -0400, Rich Felker wrote:
> > The original poster seems to have a buggy program that is declaring
> > "extern int errno;" instead of including errno.h, at least in some
> > modules.
>
> No, I checked every binary, every loaded module, the symbol errno is
> nowhere present, and the preprocessor (with right arguments) show
> *errno_location() instead of errno. I'm almost certain the problem
> comes from uClibc.
glibc uses different macros to "create" such functions, the main
difference being in errno handling (E), cancellation (C) and I cant
recall the third I would consider important (it is marked as V iirc).
uClibc has only one way to do it.
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list