00001 // Copyright (C) Calum Grant 2008 00002 00003 #include <sys/types.h> 00004 #include <sys/stat.h> 00005 #include <process.h> 00006 00007 namespace dynamic 00008 { 00009 namespace api 00010 { 00011 typedef struct _stat stat; 00012 00013 inline int fstat(const char * file, stat * buf) 00014 { 00015 return ::_stat(file, buf); 00016 } 00017 00018 inline int execv(const char *cmd, char *argv[]) 00019 { 00020 return int(::_execv(cmd, argv)); 00021 } 00022 } 00023 }
1.5.7.1