From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079271218481.tru64-unix-managers.marc@archive.invalid> From: Joerg Bruehe Date: Tue, 11 Jan 2000 17:44:38 +0000 To: tru64-unix-managers Subject: setpgrp: Deviation from manual X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079271218481 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