4.104.115
Last change
on this file since 0cd3878 was
0cd3878,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/04/09 at 06:55:02
|
2009-12-04 Ralf Corsépius <ralf.corsepius@…>
- POSIX/Makefile.am: Add wait.
- POSIX/wait.c: New.
|
-
Property mode set to
100644
|
File size:
347 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2009 by |
---|
3 | * Ralf Corsépius, Ulm, Germany. All rights reserved. |
---|
4 | * |
---|
5 | * Permission to use, copy, modify, and distribute this software |
---|
6 | * is freely granted, provided that this notice is preserved. |
---|
7 | */ |
---|
8 | |
---|
9 | #include <sys/types.h> |
---|
10 | #include <sys/wait.h> |
---|
11 | |
---|
12 | int |
---|
13 | main (void) |
---|
14 | { |
---|
15 | int status; |
---|
16 | pid_t pid; |
---|
17 | pid = wait(&status); |
---|
18 | |
---|
19 | return 0; |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.