[comp.windows.interviews] waitpid in ibuild + postscript file of Unidraw paper

addie@shiva.trl.oz (Ron Addie - Network Analysis) (04/30/91)

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