Category Archives: C

Coroutines in C/C++

What are coroutines? Coroutines are general control structures where flow control is cooperatively passed between two different routines without returning. If you have used Python… Read More »

Fork() Bomb

Prerequisite : fork() in C Fork Bomb is a program which harms a system by making it run out of memory. It forks processes infinitely… Read More »

Accept system call

The accept() system call with the connection-based socket types(SOCK_STREAM, SOCK_SEQPACKET). It extracts the first connection request on queue of pending connections for the listening socket,… Read More »