computer-system/CMU15-213/labs/LAB5_tshlab/tsh.c
pid_t Fork(void) {
    pid_t pid;

    if ((pid = fork()) < 0)
	    unix_error("Fork error");
    return pid;
}
/*
 * Some wrappers for Unix process control functions
 */
Some wrappers for Unix process control functions
Some wrappers for Unix process control functions
pid_t Fork(void) {
    pid_t pid;
    if ((pid = fork()) < 0)
	    unix_error("Fork error");
    return pid;
}
pid_t Fork ( void ) { pid_t pid ; if ( ( pid = fork ( ) ) < 0 ) unix_error ( " " ) ; return pid ; }
Some wrappers for Unix process control functions
Some wrappers for Unix process control functions