medfall

A super great game engine
Log | Files | Refs

unix_exec.h (159B)


      1 #pragma once
      2 
      3 #include <unistd.h>
      4 
      5 #include "log.h"
      6 
      7 inline void exec_and_quit( const char * path ) {
      8 	execl( path, path, ( char * ) 0 );
      9 	FATAL( "execl" );
     10 }