How to define syscall() in freebsd?

Brian zoujiaqing at gmail.com
Fri Jul 13 09:28:20 UTC 2018


On Friday, 13 July 2018 at 02:56:23 UTC, Heromyth wrote:
> 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, ...);

hahaha, thanks MR zhang!

kiss.sys.syscall module is resolved.

https://github.com/huntlabs/kiss/blob/master/source/kiss/sys/syscall/package.d


More information about the Digitalmars-d mailing list