How to define syscall() in freebsd?

Heromyth bitworld at qq.com
Fri Jul 13 02:56:23 UTC 2018


On Thursday, 12 July 2018 at 20:19:17 UTC, Brian wrote:
>
> freebsd syscall()
> https://www.freebsd.org/cgi/man.cgi?query=syscall&sektion=2
>
> How to define it in D?

It should be fine like this:

extern (C) nothrow @nogc size_t syscall(size_t ident, ...);


More information about the Digitalmars-d mailing list