Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2010 16:49:53 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 174155 for review
Message-ID:  <201002021649.o12GnrF1088847@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=174155

Change 174155 by rwatson@rwatson_vimage_client on 2010/02/02 16:49:33

	Various updates and fixes to the fdlist man page.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_fdlist.3#6 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_fdlist.3#6 (text+ko) ====

@@ -57,7 +57,11 @@
 .Ft int
 .Fn lc_fdlist_addcap "struct lc_fdlist *lfp" "const char *subsystem" "const char *classname" "const char *name" "int fd" "cap_rights_t rights"
 .Ft int
-.Fn lc_fdlist_lookup "struct lc_fdlist *lfp" "const char *subsystem" "const char **name" "int *fdp" "int *pos"
+.Fn lc_fdlist_append "struct lc_fdlist *to" "struct lc_fdlist *from"
+.Ft int
+.Fn lc_fdlist_getentry "struct lc_fdlist *lfp" "char **subsystem" "char **classname" "char **name" "int *fdp" "int *pos"
+.Ft int
+.Fn lc_fdlist_lookup "struct lc_fdlist *lfp" "const char *subsystem" "const char *classname" "const char **name" "int *fdp" "int *pos"
 .Sh DESCRIPTION
 These
 .Nm
@@ -147,6 +151,8 @@
 .Fa name
 from the file descriptor list
 .Fa lfp .
+.Fn lc_fdlist_getentry
+may be used to iterate through all descriptors in the list.
 .Sh RETURN VALUES
 The
 .Fn lc_fdlist_new ,



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