Re: noreentrant functions on Linux Advance Server 2.1 using gcc 2.96

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

 



Hi Jyotirmoy,

The thread unsafe ones are all the ones that return a pointer to an internal buffer.

The corresponding thread safe versions have the same name with a suffix of _r (for "re-entrant").

For instance, ctime() and ctime_r().

Bionic Buffalo lists these thread safe / unsafe functions:
<http://www.tatanka.com/doc/technote/tn0105.pdf>

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux