From: Byrial J. <bj...@pr...> - 2003-07-08 10:07:00
|
Someone wrote: > Yup. It also seems that the glibc documentation is not > complete either. Looking at the getnetent function man > page, it doesn't mention the word re-entrant anywhere. It > also doesn't mention where the returned data structure came > from and whether or not you are supposed to free it. Glibc > man pages needs patching, too. Igmar Palsenberg wrote: > I don't look at them anymore, I mainly use FreeBSD's manpage. There tons > of functions (ttyname() is a recent one I ran into) that return static > memory, but that isn't mentioned. Please note that the real glibc documentation is *not* in man pages, but can be found in info files. Any existing man pages are not officially part of glibc and may not be accurate. And in fact the glibc manual mentions that getnetent is not reentrant, and that ttyname returns a statically-allocated string. |