Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 15:36:17 -0400 (EDT)
From:      rwatson@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/26520: getpgid(2) doesn't describe error conditions for getpgid()
Message-ID:  <200104121936.f3CJaHZ09458@fledge.watson.org>

index | next in thread | raw e-mail


>Number:         26520
>Category:       docs
>Synopsis:       getpgid(2) doesn't describe error conditions for getpgid()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 12:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 4.3-RC i386
>Organization:
>Environment:
System: FreeBSD fledge.watson.org 4.3-RC FreeBSD 4.3-RC #0: Wed Apr 4 11:31:14 EDT 2001 robert@fledge.watson.org:/usr/obj/data/fbsd-stable/src/sys/FLEDGE i386

>Description:

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).

>How-To-Repeat:

man 2 getpgid

>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.

>Release-Note:
>Audit-Trail:
>Unformatted:

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



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104121936.f3CJaHZ09458>