Dear admins,
I just encountered a programming problem (Tru64 4.0D):
According to my understanding of 'man setpgrp',
this function can be called either without any parameters
(current standard) or with 2 (old, for backwards compatibility);
and without parameters it is said not to return any errors
(= cannot fail).
I called it without parameters, and I got the return code '-1'
and the errno value 'ESRCH'.
So I ask:
- Did I misunderstand the manual ?
- Do I need some C "define" to get the no-param-version to work ?
TIA
Joerg Bruehe
--
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
(speaking only for himself)
mailto: joerg_at_sql.de
Received on Tue Jan 11 2000 - 17:44:28 NZDT