Article View: gnu.g++.bug
Article #1108sys/wait.h problem
From: dewerk
Date: Sat, 07 Nov 1992 09:13
Date: Sat, 07 Nov 1992 09:13
45 lines
1596 bytes
1596 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:
<1992Nov7.011353.3096@nic.csu.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!yosemite.csufresno.edu!dewerkShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!yosemite.csufresno.edu!dewerk From: dewerk@yosemite.csufresno.edu (<dewerk@yosemite.csufresno.edu>) Subject: sys/wait.h problem Message-ID: <1992Nov7.011353.3096@nic.csu.net> Sender: gnulists@ai.mit.edu Organization: California State University, Fresno Distribution: gnu Date: Sat, 7 Nov 1992 09:13:51 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 46