Can I make system calls directly from D?

Ferhat Kurtulmuş aferust at gmail.com
Fri Jul 9 08:18:51 UTC 2021


On Friday, 9 July 2021 at 08:08:57 UTC, rempas wrote:
> I just wonder if I'm able to do system calls directly from D or 
> If I have to create bindings from "unistd.h" from C

I don't know if it covers what you want but, druntime has those 
definitions:

https://github.com/dlang/druntime/blob/master/src/core/sys/posix/unistd.d

import core.sys.posix.unistd;

... do stuff


More information about the Digitalmars-d-learn mailing list