ast_comparator/test/student_data/anonymized/reference_17_tsh.c
/*
 * Wrapper for fork() function
 * with error handling
 */
Wrapper for fork() function
with error handling
Wrapper for fork () function with error handling
pid_t Fork(void)
{
    pid_t pid = 0;
    if ((pid = fork()) < 0) 
        unix_error("Fork error");
    return pid;
}
pid_t Fork ( void ) { pid_t pid = 0 ; if ( ( pid = fork ( ) ) < 0 ) unix_error ( " " ) ; return pid ; }
Wrapper for fork() function
 with error handling
Wrapper for fork () function with error handling