|
Message-ID: <CAOayUkYuO7Z3AeC6S8L7rYGwAu5r+u3ouvWTO=J6A7A5wc3Osw@mail.gmail.com> Date: Thu, 22 Aug 2013 00:25:45 +0900 From: 小林悠 <yukoba@...il.com> To: musl@...ts.openwall.com Subject: Re: SUN_LEN > 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 OK. I tested and I think this is correct. So it is 110 - 108 + strlen. -- Yu Kobayashi <yukoba@...il.com>
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.