00001 // Copyright (C) Calum Grant 2008 00002 00003 #include <sys/types.h> 00004 #include <sys/stat.h> 00005 00006 namespace dynamic 00007 { 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 * const * argv) 00019 { 00020 return int(::execv(cmd, argv)); 00021 } 00022 } 00023 }
1.5.7.1