Back to index

natlog  0.91.0
handlechildstatus.cc
Go to the documentation of this file.
00001 #include "natfork.ih"
00002 
00003 void NatFork::handleChildStatus()
00004 {
00005     d_pipe.readFrom(STDIN_FILENO);
00006 
00007     int status;
00008     cin >> status;
00009 
00010     if (status != 0)
00011         throw Options::FAILED;
00012 }