GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  REAPER (3)

.ds Aq ’

NAME

reaper - support for reaping child processes via $SIG{CHLD}

CONTENTS

SYNOPSIS



  use reaper qw( reaper reapPid pidStatus );

  my $pid = fork;
  if ( $pid == 0 ) { # child
    exec $some_command;
  }
  reapPid ( $pid );

  ...

  if ( defined(my $exit = pidStatus($pid)) ) {
    # child exited, check the code...
  }



DESCRIPTION

reaper is just a backwards-compatibility wrapper for Reaper — turns out that only ’pragmas’ are supposed to be named in lower case, so I renamed reaper to Reaper. But existing code contains ’use reaper’, so this allows such code to work without changes.

AUTHOR

Jeremy Slade <jeremy@jkslade.net>

SEE ALSO

Reaper

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 53: =back without =over
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REAPER (3) 2006-06-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.