[comp.sys.apollo] system services calls in Apollo

kjb@zycad.UUCP (Kevin Buchs) (11/11/87)

This is just a plain complaint.  Over the last few weeks I have found
at least 2 things I wanted to do with system service calls and I have not
been able to find the calls to do it.  Apollo Hotline service has given a
crude approach - but I know Apollo has the calls to do it, because their
untilities do what I want to do.  For example:

1) Finding a file's uid.  (Note this is not the same as the type-uid).
Using /com/ld -u (undocumented) is the crude way to get the info,
but how does the code for ld do it?  

2) Sending a signal to a another process.  You can do this with the clib
signal facilities (domain/ix), but I know that the domain/ix calls have to
resort to Aegis system calls at some level.   This becomes even more
troublesome if one uses pgm_$invoke to create a process - because you don't
know the unix process id of the forked process to pass to signal (or kill).
Apollo told us to invoke sigp -u on the process uid.

Why don't Apollo Hotline staffers have the source code for the system
available.  Many questions could easily be answered this way.  By the way,
the same goes for Mentor.  When you call these folks with a traceback and
give them the line number in the code at which an error occurred, all they
would have to do is look in the code.  That is what we do here at Zycad.
-- 
Kevin Buchs   3500 Zycad Dr. Oakdale, MN 55109  (612)779-5548
Zycad Corp.   {rutgers,ihnp4,amdahl,umn-cs}!meccts!nis!zycad!kjb