From swatt@oberon.Lynx.COM  Thu Oct 23 17:57:45 1997
Received: from oberon.Lynx.COM (oberon.Lynx.COM [198.4.254.22])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA10060
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 1997 17:57:44 -0700 (PDT)
          (envelope-from swatt@oberon.Lynx.COM)
Received: (from swatt@localhost)
	by oberon.Lynx.COM (8.8.5/8.8.5) id RAA20250;
	Thu, 23 Oct 1997 17:57:29 -0700 (PDT)
Message-Id: <199710240057.RAA20250@oberon.Lynx.COM>
Date: Thu, 23 Oct 1997 17:57:29 -0700 (PDT)
From: swatt@Lynx.COM
Reply-To: swatt@Lynx.COM
To: FreeBSD-gnats-submit@freebsd.org
Subject: login_cap man page
X-Send-Pr-Version: 3.2

>Number:         4838
>Category:       docs
>Synopsis:       login_cap(3) shows incorrect prototypes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 18:00:00 PDT 1997
>Closed-Date:    Tue Nov 4 20:04:23 PST 1997
>Last-Modified:  Tue Nov  4 20:05:16 PST 1997
>Originator:     Steve Watt
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
Lynx Real Time Systems, Inc.
                 2239 Samaritan Drive, San Jose, CA 95124
>Environment:

FreeBSD 2.2.2-RELEASE off of InfoMagic CDROM

>Description:

Various prototypes disagree between the login_cap(3) manpage and <login_cap.h>:

    manpage: login_cap_t *login_getclassbyname(const char *nam, const char *dir)
login_cap.h: login_cap_t *login_getclassbyname(const char *, const struct passwd *)

    manpage: login_cap_t *login_getclass(const struct passwd *pwd)
login_cap.h: login_cap_t *login_getclass(const char *)

login_getpwclass isn't documented


>How-To-Repeat:

man login_cap

vi /usr/include/login_cap.h

>Fix:
	
Change the manpage to match the prototypes.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Tue Nov 4 20:04:23 PST 1997 
State-Changed-Why:  
Prototype for login_getclassbyname corrected in -current manpage. 
>Unformatted:
