Article View: comp.windows.interviews
Article #1024waitpid in ibuild + postscript file of Unidraw paper
From: Ron Addie - Network Analysis
Date: Tue, 30 Apr 1991 03:24
Date: Tue, 30 Apr 1991 03:24
44 lines
1809 bytes
1809 bytes
This is nearly a repeat posting of a suggested modification to overcome
a problem with the system function waitpid which is not available on
SunOS <4.1.1. It seems to be provided in SunOS 4.1.1, but most of our
machines are running 4.0.3. I have included in this posting a
suggestion someone made which improves the mapping between waitpid and
wait4 over my original suggestion.
In order to get interviews to compile I had to modify the code in two
places in the ibuild directory:
I modified ibcmds.c as follows:
/* this does not compile
extern "C" { // missing from AT&T's headers (sigh)
pid_t waitpid(pid_t, int*, int);
}
so I have replaced it with:
*/
int waitpid(int pid, int*, int options)
{
return wait4(pid, nil, options, nil);
}
and ibdialogs.c:
/* this does not compile
extern "C" { // missing from AT&T's headers (sigh)
pid_t waitpid(pid_t, int*, int);
}
so I have replaced it with:
*/
int waitpid(int pid, int*, int) ;
// the defn is in ibcmds.c
Unidraw Paper.
On another matter -- there was (is?) a paper on Unidraw on the InterViews
server, however I found it to be incomplete. I would appreciate the
replacement of this file by a complete copy of the paper, if at all
possible.
Ron Addie
r.addie@trl.oz.au
Telecom Australia Research Laboratories
Technical Details
Message-ID:
<3450@trlluna.trl.oz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!bruce!trlluna!shiva!addieShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!bruce!trlluna!shiva!addie From: addie@shiva.trl.oz (Ron Addie - Network Analysis) Newsgroups: comp.windows.interviews Subject: waitpid in ibuild + postscript file of Unidraw paper Keywords: wait Message-ID: <3450@trlluna.trl.oz> Date: 30 Apr 91 03:24:39 GMT Sender: news@trlluna.trl.oz Lines: 44