aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_site_destroy.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libcontacts_site_destroy.334
1 files changed, 34 insertions, 0 deletions
diff --git a/libcontacts_site_destroy.3 b/libcontacts_site_destroy.3
new file mode 100644
index 0000000..5e4a0ac
--- /dev/null
+++ b/libcontacts_site_destroy.3
@@ -0,0 +1,34 @@
+.TH LIBCONTACTS_SITE_DESTROY 3 LIBCONTACTS
+.SH NAME
+libcontacts_site_destroy \- Deallocate memory for a contact Internet site entry
+.SH SYNOPSIS
+.nf
+#include <libcontacts.h>
+
+int libcontacts_site_destroy(struct libcontacts_site *\fIentry\fP);
+.fi
+.PP
+Link with
+.IR -lcontacts .
+
+.SH DESCRIPTION
+The
+.BR libcontacts_site_destroy ()
+function deallocates the memory stored in
+.IR *entry .
+The caller must manually call
+.BR free (3)
+on the pointer
+.I entry
+afterwards if it a freeable pointer.
+
+.SH RETURN VALUE
+None.
+
+.SH ERRORS
+None.
+
+.SH SEE ALSO
+.BR libcontacts.h (0),
+.BR libcontacts (7),
+.BR libcontacts_contact_destroy (3)