|
Message-ID: <20130821144552.GD30088@port70.net> Date: Wed, 21 Aug 2013 16:45:52 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com, yukoba@...elart.jp Subject: Re: SUN_LEN * ?$B>.NSM* <yukoba@...il.com> [2013-08-21 22:27:22 +0900]: > > So is this mean, you don't want to add glibc non-standard APIs to musl? i think SUN_LEN can be added, but it should be under _BSD_SOURCE because it violates the posix namespace #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define SUN_LEN(s) (sizeof *(s) - sizeof (s)->sun_path + strlen((s)->sun_path)) #endif
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.