Missing functions core.sys.linux.sched

Begah mathieu.roux222 at gmail.com
Mon Jun 15 14:52:45 UTC 2020


On Monday, 15 June 2020 at 14:19:50 UTC, Sebastiaan Koppe wrote:
> On Monday, 15 June 2020 at 13:34:14 UTC, Begah wrote:
>> Hey everyone!
>>
>> I started working with network namespaces in linux and there's 
>> a function is sched.h in C that allows a threat to switch 
>> namespace : setns 
>> (https://man7.org/linux/man-pages/man2/setns.2.html)
>> I have checked both sched.d files from dmd and ldc and both 
>> are missing this function, although dmd's sched.d seems to be 
>> more complete than ldc's.
>>
>> Is there a reason for the missing function aside from not 
>> being up to date? What are the options for adding it? A C 
>> library for just this function?
>
> Laeeth ran dpp across a few missing ones as well. 
> https://github.com/symmetryinvestments/symmetry-linux
>
> No idea if it is in there, but just so that you know.

It wasn't in there but thanks for the heads up!


More information about the Digitalmars-d mailing list