🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1109

sys/wait.h problem

#1109
From: dewerk
Date: Sun, 08 Nov 1992 00:36
45 lines
1527 bytes
while using g++ (version unknown) i came across a problem with one of the
include files (sys/wait.h to be exact)...  

the problem is in the wait3() and wait4() prototyping lines...  it seems
that WaitStatus is undefined...  any help would be appreciated...  i'll
include the file sisnce it isn't too long...

thanks in advance...

 -- Paul-Joseph

--- start: sys/wait.h ---
#ifndef wait_h

#include <sys/resource.h>

#define wait WaitStatus

extern "C" {

#ifdef VMS
#include "GNU_CC_INCLUDE:[sys]wait.h"
#else
#include "//usr/include/sys/wait.h"
#endif

#undef wait

#ifndef wait_h
#define wait_h 1
#endif

extern int wait3(WaitStatus*, int options, struct rusage*);
extern int wait4(int, WaitStatus*, int, struct rusage*);
}

#endif
--- end: sys/wait.h ---

                                * - * - *

Paul-Joseph "Dragon" de Werk        | "Therefore you shall love the Lord
Department of Computer Science      | your God with all your heart, with
California State University, Fresno | all your soul, with all your mind,
dewerk@csufres.CSUFresno.EDU        | and with all your strength." Mk 12, 30
Technical Details
Message-ID: <9211080036.AA12087@yosemite.csufresno.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!yosemite!dewerk

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!yosemite!dewerk
From: dewerk@yosemite (<dewerk@cis.ohio-state.edu>)
Subject: sys/wait.h problem
Message-ID: <9211080036.AA12087@yosemite.csufresno.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 8 Nov 1992 00:36:16 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 46