rendered paste body//gcc -std=gnu99 -o test -test.c// test.c#include <stdlib.h>#include <stdio.h>#include <errno.h>#include <unistd.h>int main(){ int i; pid_t holic; pid_t zakaznik; holic = fork(); if(holic < 0){ printf("Error occoured with fork()\n"); exit(99); } else if (holic == 0){ printf("barber\n"); exit(0); } for (i = 0; i < 9; i++){ zakaznik = fork(); if (zakaznik < 0){ printf("Error occoured with fork()\n"); exit(99); } else if(zakaznik== 0){ printf("customer %d\n", i); exit(0); } } return 0;}