summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-10-09 07:33:58 +0000
committerjkh <jkh@FreeBSD.org>1998-10-09 07:33:58 +0000
commit5845650b4f2138ba92e4b821a7c25cf6ee0de1bf (patch)
treeeacd7c9a77082d5ea46732e3dad6b16cdf18ae54 /lib/libutil
parent5f9952e765ec8cd7e1faad8107ba5f81f0f8b893 (diff)
downloadFreeBSD-src-5845650b4f2138ba92e4b821a7c25cf6ee0de1bf.zip
FreeBSD-src-5845650b4f2138ba92e4b821a7c25cf6ee0de1bf.tar.gz
Update docs to match interface change.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/property.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libutil/property.3 b/lib/libutil/property.3
index 9c365c7..71f4512 100644
--- a/lib/libutil/property.3
+++ b/lib/libutil/property.3
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: property.3,v 1.1 1998/10/08 06:53:32 jkh Exp $
.\" "
.Dd October 7, 1998
.Os
@@ -37,7 +37,7 @@
.Fd #include <sys/types.h>
.Fd #include <libutil.h>
.Ft properties
-.Fn properties_read "FILE *fp"
+.Fn properties_read "int fd"
.Ft char *
.Fn property_find "char *name"
.Ft void
@@ -61,8 +61,8 @@ The function
.Fn properties_read
reads
.Fa name = value
-pairs from the file specified in
-.Fa fp
+pairs from the file descriptor passed in
+.Fa fd
and returns the head of a new property list, assuming that the
file's contents have been parsed properly, or NULL in case
of error. The property list pointer should be passed to
OpenPOWER on IntegriCloud