mescc: Tinycc support: execvp stub.
* mlibc/include/unistd.h (execvp): Declare. * mlibc/libc-mes+tcc.c (execvp): Add stub.
This commit is contained in:
parent
8296c8ec2c
commit
91f9817a44
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue