Skip to content

Instantly share code, notes, and snippets.

@dulimarta
Last active January 25, 2024 01:28
Show Gist options
  • Save dulimarta/0d4e9651ddb432eb40e709e0769fa4ef to your computer and use it in GitHub Desktop.
Save dulimarta/0d4e9651ddb432eb40e709e0769fa4ef to your computer and use it in GitHub Desktop.
CS452 Lab02 - Sample 1 (Rust)
use nix::unistd::fork;
fn main() {
println!("Before fork()");
fork();
println!("After fork()");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment