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 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.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
Show all 7 versions
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