forked from Imagelibrary/rtems
Removed fork(), execv(), and wait() since they are now stubbed in the
POSIX API.
This commit is contained in:
@@ -94,27 +94,6 @@ char *getcwd( char *_buf, size_t _size)
|
|||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fork() {
|
|
||||||
puts( "fork -- not supported!!!" );
|
|
||||||
assert( 0 );
|
|
||||||
errno = ENOSYS;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
#if 0
|
|
||||||
int execv(const char *_path, char * const _argv[] ) {
|
|
||||||
puts( "execv -- not supported!!!" );
|
|
||||||
assert( 0 );
|
|
||||||
errno = ENOSYS;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
int wait() {
|
|
||||||
puts( "wait -- not supported!!!" );
|
|
||||||
assert( 0 );
|
|
||||||
errno = ENOSYS;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user