#include #include "compat.h" int lstat(const char* f,struct stat* b){return stat(f,b);} mode_t umask(mode_t mask){errno=ENOTSUP;return(-1);} int execvp(){errno=ENOTSUP;return(-1);} int execlp(const char *file, const char *arg, ...){errno=ENOTSUP;return(-1);} pid_t fork(){errno=ENOTSUP;return(-1);} //kill(){errno=ENOTSUP;return(-1);} pid_t wait(int status){CYG_UNUSED_PARAM(int,status);errno=ENOTSUP;return(-1);} int pipe(int pipefd[2]){errno=ENOTSUP;return(-1);} char *mktemp(char *template){errno=ENOTSUP;return(0);} int mkstemp(char *template){errno=ENOTSUP;return(0);} struct passwd *getpwnam(){errno=ENOTSUP;return(0);} struct passwd *getpwent(void){errno=ENOTSUP;return(0);} struct passwd *getpwuid(uid_t uid){CYG_UNUSED_PARAM(uid_t,uid);errno=ENOTSUP; return(0);} pid_t waitpid(pid_t pid, int *status, int options){errno=ENOTSUP;return(-1);}; void endpwent(){}