syscall-d 0.4.0

syscall interface for D


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

syscall-d Build Status

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");
}

Authors: kubo39

Dependencies: none

Versions:
0.4.0 2017-Jan-30
0.3.0 2016-Dec-27
0.2.0 2016-Apr-23
0.1.0 2016-Jan-31
~master 2017-Jan-30
Show all 5 versions
Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 64 downloads total