From: Joerg Bruehe <joerg () sql ! de>
To: tru64-unix-managers
Subject: setpgrp: Deviation from manual
Date: Tue, 11 Jan 2000 17:44:38 +0000 [thread overview]
Message-ID: <96079271218481.tru64-unix-managers.marc@archive.invalid> (raw)
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@sql.de
reply other threads:[~2000-01-11 17:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox