Mail Archives: djgpp/2002/11/18/22:17:33
Grr, trim.
"A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu> wrote in message
news:Xns92C96010B8C6Aasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8...
> "cwg" <cwg1 AT net DOT net> wrote in
> >> >> http://www.delorie.com/djgpp/doc/libc-2.02/libc_26.html
> >> >> Infor doesn't even list stdlib
> the C lib reference is not organized by header. it is organized by
> functionality. stdlib contains various functions that do not fit together
> (for example, malloc and strtoul and rand). so, if you want to know about
> random numbers, you follow the link for random numbers, find the function
> you are looking for, and the documentation tells you which header to
> include. this way, you don't have to remember which header each and every
> function lives in. (quick, which header do you need to include for abs?)
>
> now, with info, you can do
>
> info libc alpha realloc
>
> to go straight to the documentation for realloc.
>
> if you think things should be organized differently, feel free to make the
> necessary changes.
Ok, then you can do this:
info libc func stdio
And end up with the list for all the functions in stdio
But if you were to do this:
info libc func stdlib
You'd get an error for there's NO NODE for stdlib. And that's what I'm kinda
pointing out. Maybe I'm just plain weird about that, but a listing of
available functions by headers would make the listing seem complete to me.
- Raw text -