| version 1.1, 1993/05/18 07:37:53 |
version 1.1.1.1, 1995/02/25 09:11:39 |
|
|
| .\" Copyright (c) 1992 The Regents of the University of California. |
.\" Copyright (c) 1992, 1993 |
| .\" All rights reserved. |
.\" The Regents of the University of California. All rights reserved. |
| .\" |
.\" |
| .\" This code is derived from software contributed to Berkeley by |
.\" This code is derived from software contributed to Berkeley by |
| .\" Casey Leedom of Lawrence Livermore National Laboratory. |
.\" Casey Leedom of Lawrence Livermore National Laboratory. |
|
|
| .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| .\" SUCH DAMAGE. |
.\" SUCH DAMAGE. |
| .\" |
.\" |
| .\" @(#)getcap.3 5.4 (Berkeley) 8/11/92 |
.\" @(#)getcap.3 8.3 (Berkeley) 4/19/94 |
| .\" |
.\" |
| .Dd "August 11, 1992" |
.Dd "April 19, 1994" |
| .Dt GETCAP 3 |
.Dt GETCAP 3 |
| .Os |
.Os |
| .Sh NAME |
.Sh NAME |
| Line 236 Upon completion of the database 0 is ret |
|
| Line 236 Upon completion of the database 0 is ret |
|
| return of record with possibly more remaining (we haven't reached the end of |
return of record with possibly more remaining (we haven't reached the end of |
| the database yet), 2 is returned if the record contains an unresolved |
the database yet), 2 is returned if the record contains an unresolved |
| .Nm tc |
.Nm tc |
| expansion, \-1 is returned if an system error occured, and \-2 |
expansion, \-1 is returned if an system error occurred, and \-2 |
| is returned if a potential reference loop is detected (see |
is returned if a potential reference loop is detected (see |
| .Ic tc= |
.Ic tc= |
| comments below). |
comments below). |
| Line 339 file in which the |
|
| Line 339 file in which the |
|
| is declared and all subsequent files in the file array. |
is declared and all subsequent files in the file array. |
| .Pp |
.Pp |
| When a database is searched for a capability record, the first matching |
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 |
capability, the first matching capability is returned; the capability |
| .Ic :nameT@: |
.Ic :nameT@: |
| will hide any following definition of a value of type |
will hide any following definition of a value of type |
| Line 464 use `\e\|200' to represent a |
|
| Line 464 use `\e\|200' to represent a |
|
| .Nm cgetfirst , |
.Nm cgetfirst , |
| and |
and |
| .Nm cgetnext |
.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. |
than 0 on failure. |
| .Nm Cgetcap |
.Nm Cgetcap |
| returns a character pointer on success and a |
returns a character pointer on success and a |