atom feed4 messages in org.freebsd.freebsd-docRe: docs/26520: getpgid(2) doesn't de...
FromSent OnAttachments
rwat...@freebsd.orgApr 12, 2001 12:35 pm 
Dima DorfmanApr 13, 2001 12:29 am 
Bruce EvansApr 13, 2001 4:09 am 
dd...@FreeBSD.orgApr 13, 2001 7:35 pm 
Subject:Re: docs/26520: getpgid(2) doesn't describe error conditions for getpgid()
From:Dima Dorfman (di@unixfreak.org)
Date:Apr 13, 2001 12:29:40 am
List:org.freebsd.freebsd-doc

The following reply was made to PR docs/26520; it has been noted by GNATS.

From: Dima Dorfman <di@unixfreak.org> To: rwat@freebsd.org Cc: Free@freebsd.org, bd@freebsd.org Subject: Re: docs/26520: getpgid(2) doesn't describe error conditions for
getpgid() Date: Fri, 13 Apr 2001 00:22:32 -0700

[ cc'd to bde since he has (some copy of) the POSIX spec ]

rwat@freebsd.org writes:

Most system call man pages make an effort to describe potential error return conditions for the call. getpgid(2), however, neglects to note that the returned pid can be (-1), indicating that errno should be inspected, in the style of getsid(2).

Fix:

Probably need to copy the relevant part of getsid(2) into getpgid(2). However, this probably involves first consulting relevant specs defining getpgid(2) to determine if our implementation complies or not.

Bruce, can you check if this is true? If that's the case, I'll fix the man page.

Thanks,

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message