Missing functions core.sys.linux.sched

Adam D. Ruppe destructionator at gmail.com
Mon Jun 15 13:57:37 UTC 2020


On Monday, 15 June 2020 at 13:34:14 UTC, Begah wrote:
> 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?

They probably just forgot to add it.

You can add it to your own code easily. Copy paste this into your 
code somewhere:

extern(C)  int setns(int fd, int nstype);


And you can call it. A PR to druntime to add that to the official 
thing would prolly be accepted to.


More information about the Digitalmars-d mailing list