Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/Attic/getcap.3,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- src/lib/libc/gen/Attic/getcap.3 1994/01/10 23:32:26 1.3 +++ src/lib/libc/gen/Attic/getcap.3 1995/02/25 13:41:21 1.4 @@ -1,5 +1,7 @@ -.\" Copyright (c) 1992 The Regents of the University of California. -.\" All rights reserved. +.\" $NetBSD: getcap.3,v 1.4 1995/02/25 13:41:21 cgd Exp $ +.\" +.\" Copyright (c) 1992, 1993 +.\" The Regents of the University of California. All rights reserved. .\" .\" This code is derived from software contributed to Berkeley by .\" Casey Leedom of Lawrence Livermore National Laboratory. @@ -32,10 +34,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" from: @(#)getcap.3 5.4 (Berkeley) 8/11/92 -.\" $Id: getcap.3,v 1.3 1994/01/10 23:32:26 jtc Exp $ +.\" @(#)getcap.3 8.3 (Berkeley) 4/19/94 .\" -.Dd "August 11, 1992" +.Dd "April 19, 1994" .Dt GETCAP 3 .Os .Sh NAME @@ -340,7 +341,7 @@ file in which the is declared and all subsequent files in the file array. .Pp When a database is searched for a capability record, the first matching -record in the search is returned. When an record is scanned for a +record in the search is returned. When a record is scanned for a capability, the first matching capability is returned; the capability .Ic :nameT@: will hide any following definition of a value of type @@ -465,7 +466,7 @@ use `\e\|200' to represent a .Nm cgetfirst , and .Nm cgetnext -return a a value greater than or equal to 0 on success and a value less +return a value greater than or equal to 0 on success and a value less than 0 on failure. .Nm Cgetcap returns a character pointer on success and a