diff options
Diffstat (limited to 'lib/auto/POSIX/waitpid.al')
-rw-r--r-- | lib/auto/POSIX/waitpid.al | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/auto/POSIX/waitpid.al b/lib/auto/POSIX/waitpid.al new file mode 100644 index 0000000000..a7706a7243 --- /dev/null +++ b/lib/auto/POSIX/waitpid.al @@ -0,0 +1,11 @@ +# NOTE: Derived from POSIX.pm. Changes made here will be lost. +package POSIX; + +sub waitpid { + usage "waitpid(pid, statusvariable, options)", caller if @_ != 3; + local $result = waitpid($_[0], $_[2]); + $_[1] = $?; + $result; +} + +1; |