Missing functions core.sys.linux.sched

Sebastiaan Koppe mail at skoppe.eu
Mon Jun 15 14:19:50 UTC 2020


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.


More information about the Digitalmars-d mailing list