source:
trunk/libs/newlib/src/libgloss/riscv/sys_wait.c
@
  621
        
        | Last change on this file since 621 was 444, checked in by , 7 years ago | |
|---|---|
| File size: 219 bytes | |
| Line | |
|---|---|
| 1 | #include <machine/syscall.h> | 
| 2 | #include <errno.h> | 
| 3 | |
| 4 | /* Wait for a child process. Minimal implementation for a system without | 
| 5 | processes just causes an error. */ | 
| 6 | int _wait(int *status) | 
| 7 | { | 
| 8 | errno = ECHILD; | 
| 9 | return -1; | 
| 10 | } | 
Note: See TracBrowser
        for help on using the repository browser.
    
