Skip to content

Instantly share code, notes, and snippets.

View anilmuppalla's full-sized avatar
👋
Always be creating…

Anil Muppalla anilmuppalla

👋
Always be creating…
View GitHub Profile
@anilmuppalla
anilmuppalla / fork.c
Created December 14, 2012 19:51 — forked from anonymous/fork.c
#include <unistd.h> /* Symbolic Constants */
#include <sys/types.h> /* Primitive System Data Types */
#include <errno.h> /* Errors */
#include <stdio.h> /* Input/Output */
#include <sys/wait.h> /* Wait for Process Termination */
#include <stdlib.h> /* General Utilities */
int main()
{
pid_t childpid; /* variable to store the child's pid */