syscall-d 0.4.0
syscall interface for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
syscall-d
Raw syscall interface for D.
Supported Platforms
- Linux-x86_64
- Linux-x86
- OSX-x86_64
- FreeBSD-x86_64
Build
$ cd syscall-d
$ dub build --build=release
Example
import syscalld : syscall, WRITE;
size_t write(size_t fd, string buf)
{
return syscall(WRITE, fd, cast(size_t) buf.ptr, cast(size_t) buf.length);
}
void main()
{
size_t stdout = 1;
write(stdout, "Hello\n");
}
- 0.4.0 released 7 years ago
- kubo39/syscall-d
- MIT
- Authors:
- Dependencies:
- none
- Versions:
-
0.5.0 2021-Dec-20 0.4.0 2017-Jan-30 0.3.0 2016-Dec-27 0.2.0 2016-Apr-23 0.1.0 2016-Jan-31 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
1 downloads this month
-
30939 downloads total
-
- Score:
- 0.5
- Short URL:
- syscall-d.dub.pm