aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/sds.rst2
-rw-r--r--docs/sdsfree.rst22
2 files changed, 23 insertions, 1 deletions
diff --git a/docs/sds.rst b/docs/sds.rst
index 095906f..4f5a0c5 100644
--- a/docs/sds.rst
+++ b/docs/sds.rst
@@ -6,4 +6,4 @@ sds
Functions
---------
-:manpage:`sdsnew(3)`, :manpage:`sdsnewlen(3)`
+:manpage:`sdsnew(3)`, :manpage:`sdsnewlen(3)`, :manpage:`sdsfree(3)`
diff --git a/docs/sdsfree.rst b/docs/sdsfree.rst
new file mode 100644
index 0000000..e4c6cc7
--- /dev/null
+++ b/docs/sdsfree.rst
@@ -0,0 +1,22 @@
+:orphan:
+
+sdsnew
+======
+
+Synopsis
+--------
+
+.. c:function:: #include <sds.h>
+
+.. c:function:: void sdsfree(sds s)
+
+
+Description
+-----------
+
+The function :c:func:`sdsfree()` frees an SDS string, doing nothing if passed a NULL pointer.
+
+See also
+--------
+
+:manpage:`sds(3)`