diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-19 09:23:48 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-19 09:23:48 +0200 |
commit | 7b466345af0d3a7dc5622617ce443a90c64e34a4 (patch) | |
tree | f276b6bf391ccfe8ec3a2cb62a7f70964249621f /src/user/lib/tce | |
parent | ac10c1a29c44b0cb29960cd0f792c7361bc430ce (diff) | |
download | TCE-7b466345af0d3a7dc5622617ce443a90c64e34a4.tar.gz TCE-7b466345af0d3a7dc5622617ce443a90c64e34a4.zip |
Added ANSI support, minimal readline-like library.
Diffstat (limited to 'src/user/lib/tce')
-rw-r--r-- | src/user/lib/tce/syscall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/user/lib/tce/syscall.c b/src/user/lib/tce/syscall.c index bc8bfd8..4304840 100644 --- a/src/user/lib/tce/syscall.c +++ b/src/user/lib/tce/syscall.c @@ -75,12 +75,12 @@ void brk(void* ptr) { // ********** proc -int run(char* filename, char** args) { - return call(SC_RUN, (unsigned)filename, (unsigned)args, 0, 0, 0); +int run(char* filename, char** args, FILE zero_fd) { + return call(SC_RUN, (unsigned)filename, (unsigned)args, (unsigned)zero_fd, 0, 0); } -int waitpid(int p) { - return call(SC_WAITPID, p, 0, 0, 0, 0); +int waitpid(int p, int block) { + return call(SC_WAITPID, p, block, 0, 0, 0); } // ********** file |