implicit declaration of function 'read' implicit declaration of function 'write' //include this directive to make it work #include <unistd.h>