tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* setpgrp: Deviation from manual
@ 2000-01-11 17:44 Joerg Bruehe
  0 siblings, 0 replies; only message in thread
From: Joerg Bruehe @ 2000-01-11 17:44 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-11 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-11 17:44 setpgrp: Deviation from manual Joerg Bruehe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox