mescc: Tinycc support: execvp stub.

* mlibc/include/unistd.h (execvp): Declare.
* mlibc/libc-mes+tcc.c (execvp): Add stub.
This commit is contained in:
Jan Nieuwenhuizen 2017-07-24 20:33:15 +02:00
parent 8296c8ec2c
commit 91f9817a44
2 changed files with 7 additions and 0 deletions

View File

@ -46,6 +46,7 @@ typedef long ssize_t;
int access (char const *s, int mode);
int close (int fd);
int execvp (char const *file, char *const argv[]);
char *getcwd (char *buf, size_t size);
off_t lseek (int fd, off_t offset, int whence);
int read (int fd, void* buf, size_t n);

View File

@ -67,6 +67,12 @@ lseek (int fd, off_t offset, int whence)
}
int
execvp (char const *file, char *const argv[])
{
return 0;
}
int
fclose (FILE *stream)
{