Yes that s true NetBSD having a variadic like argument as well ... etc ... I did not have high expectations just wanted to propose ... :-)
On 18 July 2017 at 14:55, Landry Breuil <lan...@openbsd.org> wrote: > On Tue, Jul 18, 2017 at 01:43:42PM +0100, David CARLIER wrote: > > Ah I recognise you you re Mozilla contributor right ? You re probably > right > > but that was just an example eventhough I admit it s not extremely widely > > used ... > > Note that you'll have to be careful in your arguments for this function: > > - _np prefix is for 'nonportable' so nothing standardises it > - some oses have getname_np, freebsd has get_name_np > - linux and netbsd share the function name but not the prototype for > setname_mp ? > - macos enforces the running thread to set its own name > > (cf https://stackoverflow.com/a/7989973) > > so.... this looks like a shitshow, and a pretty good reason for not > having it :) > >