diff options
Diffstat (limited to 'trywaitp.c')
| -rw-r--r-- | trywaitp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/trywaitp.c b/trywaitp.c new file mode 100644 index 0000000..7e73bfa --- /dev/null +++ b/trywaitp.c | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include <sys/types.h> | ||
| 2 | #include <sys/wait.h> | ||
| 3 | |||
| 4 | void main() | ||
| 5 | { | ||
| 6 | waitpid(0,0,0); | ||
| 7 | } | ||
