source:
trunk/sys/dietlibc/execv.c
@
5
Last change on this file since 5 was 1, checked in by , 8 years ago | |
---|---|
File size: 249 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <limits.h> |
2 | #include <stdlib.h> | |
3 | #include <string.h> | |
4 | #include <unistd.h> | |
5 | #include <errno.h> | |
6 | #include "dietfeatures.h" | |
7 | ||
8 | int execv(const char *file, char *const argv[]) { | |
9 | if (execve(file,argv,environ)==-1) { | |
10 | return -1; | |
11 | } | |
12 | return -1; | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.