property.3 (c6d6e7726fa28ac07232fe53a31ab927c574acb3) | property.3 (3dc329d1be00b8b4ba4a45886b6374289daa8ab0) |
---|---|
1.\" 2.\" Copyright (c) 1998 Jordan Hubbard 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 19 unchanged lines hidden (view full) --- 28.Dd October 7, 1998 29.Os 30.Dt PROPERTIES 3 31.Sh NAME 32.Nm properties_read , 33.Nm propery_find , 34.Nm properties_free 35.Nd functions to allow creating simple property lists from ASCII file data. | 1.\" 2.\" Copyright (c) 1998 Jordan Hubbard 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 19 unchanged lines hidden (view full) --- 28.Dd October 7, 1998 29.Os 30.Dt PROPERTIES 3 31.Sh NAME 32.Nm properties_read , 33.Nm propery_find , 34.Nm properties_free 35.Nd functions to allow creating simple property lists from ASCII file data. |
36.Sh LIBRARY 37.Lb libutil |
|
36.Sh SYNOPSIS 37.Fd #include <sys/types.h> 38.Fd #include <libutil.h> 39.Ft properties 40.Fn properties_read "int fd" 41.Ft char * 42.Fn property_find "properties list" "const char *name" 43.Ft void 44.Fn properties_free "properties list" | 38.Sh SYNOPSIS 39.Fd #include <sys/types.h> 40.Fd #include <libutil.h> 41.Ft properties 42.Fn properties_read "int fd" 43.Ft char * 44.Fn property_find "properties list" "const char *name" 45.Ft void 46.Fn properties_free "properties list" |
45.Pp 46Link with 47.Va -lutil 48on the 49.Xr cc 1 50command line. | |
51.Sh DESCRIPTION 52.nf 53typedef struct _properties { 54 struct _properties *next; 55 char *name; 56 char *value; 57} *properties; 58.fi --- 39 unchanged lines hidden --- | 47.Sh DESCRIPTION 48.nf 49typedef struct _properties { 50 struct _properties *next; 51 char *name; 52 char *value; 53} *properties; 54.fi --- 39 unchanged lines hidden --- |