On Wed, 14 Aug 2013, Christos Zoulas wrote:
In article <1l7ljcq.aabx667531krM%manu%netbsd.org@localhost>, Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:Hi getnameinfo(3) man page says the function is not thread safe. What is the preferred method for getting the name for an address stored in a sockaddr_t, in a threaded program?Ours is, IIRC. We could remove the restriction from the man page.
Or maybe update it to indicate that the restriction might still be needed for portability to other systems?
------------------------------------------------------------------------- | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -------------------------------------------------------------------------