diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-20 16:01:39 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-20 16:19:48 +0100 |
commit | b294eef2d5f83de97439b4fa37f020c3b9f636b4 (patch) | |
tree | 1da4f471a6b82a40ec0f5585f97179ce5d0d6ad1 /docs/sdsnew.rst | |
parent | 3e840a66ade625c6f2576edd65f59ae1b7e595d3 (diff) | |
download | sds-b294eef2d5f83de97439b4fa37f020c3b9f636b4.tar.xz |
Update manpages for rename
Diffstat (limited to 'docs/sdsnew.rst')
-rw-r--r-- | docs/sdsnew.rst | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/docs/sdsnew.rst b/docs/sdsnew.rst deleted file mode 100644 index 7217b2c..0000000 --- a/docs/sdsnew.rst +++ /dev/null @@ -1,34 +0,0 @@ -:orphan: - -sdsnew -====== - -Synopsis --------- - -.. c:function:: #include <sds.h> - -.. c:function:: sds sdsnew(const char *init) - sds sdsnewlen(const void *init, size_t initlen) - - -Description ------------ - -The function :c:func:`sdsnew()` creates an SDS string from a C null terminated string. - -The function :c:func:`sdsnewlen()` is similar to :c:func:`sdsnew()` but -instead of creating the string assuming that the input string is null -terminated, it gets an additional length parameter. This way you can create a -string from binary data. - -Return value ------------- - -Upon successful completion, these functions will allocate and return a new SDS -string. If the allocation fails they will return :c:data:`NULL`. - -See also --------- - -:manpage:`sds(3)` |