Skip to content

abhinav-upadhyay/fork_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fork_test

A sample program to demonstrate the use of fork and execve system calls on Linux.

This repository support code for my article explaining the internals of the fork system call.


Building

There are two programs here, one is a C program in fork_test.c and a similar program but in x86 assembly in fork.s file.

To compile both of these, you need to have GNU Make installed on your system. To build, simple run make on the command line.

It will generate two binaries: fork_test from fork_test.c and fork from fork.s.

About

A sample program to demonstrate the use of fork and execve system calls on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published