syscall 0.1.0 copy "syscall: ^0.1.0" to clipboard
syscall: ^0.1.0 copied to clipboard

outdatedDart 1 only

Make System Calls

System Calls #

Make System Calls in Dart. You can rewrite almost any C program now in Dart!

Example #

import "package:syscall/syscall.dart";

void main() {
  print("Prepare to be forked!");
  var pid = fork();
  
  if (pid == 0) {
    print("I am the original process.");
    wait();
  } else {
    print("I am the child process.");
  }
}
0
likes
0
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Make System Calls

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

binary_interop, binary_marshalling

More

Packages that depend on syscall