Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Oct 2014 23:24:10 -0400
From: Rich Felker <>
Subject: Re: the prototype decl of  memcpy/memcmp/calloc/free should
 not in sched.h

On Fri, Oct 31, 2014 at 11:03:35AM +0800, 黄建忠 wrote:
> Hi, there,
> sched.h in musl should not contains the prototype declarations of "memcpy/memcmp/calloc/free" func.
> memcpy/memcmp already in string.h
> calloc/free already in stdlib.h
> Any reason they should exist in sched.h?

They're present only under _GNU_SOURCE mode, and the reason is that
musl's CPU_* macros for working with cpu sets for affinity use these
functions directly rather than having additional exported symbols in a
protected namespace to do the work. Is this approach causing a problem
for you?


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.