Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: memset_s
Date: Mon, 13 Nov 2017 14:27:05
Message-Id: ouca2t$8vm$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Re: memset_s by Mart Raudsepp
1 On 13/11/17 13:38, Mart Raudsepp wrote:
2 > On E, 2017-11-13 at 12:44 +0200, Nikos Chantziaras wrote:
3 >> explicit_bzero() is available in glibc. It's in <string.h>.
4 >
5 > Interesting. Some Xorg stuff is using libbsd explicitly, but probably
6 > since before glibc gained this. This is new since glibc-2.25.
7
8 Oops, you're right. Didn't notice this. 2.25 is very recent. So from a
9 portability point of view, it might be a good idea to stick to libbsd,
10 or at least have a configure test for it.