aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-02-06 16:06:14 +0100
committerantirez <antirez@gmail.com>2014-02-06 16:06:14 +0100
commit46293bda3315cfa3adcba3084deddf115f28b7db (patch)
tree9441dacfdaff817e1f31db01de2edfdc813ea625
parentc120b51d0f62141dbe4193d57321d83bef3434a8 (diff)
downloadsds-46293bda3315cfa3adcba3084deddf115f28b7db.tar.xz
Markdown fix try #2.
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6490159..adffc46 100644
--- a/README.md
+++ b/README.md
@@ -133,6 +133,7 @@ There are many ways to create SDS strings:
output> ABC of len 3
+
Note: `sdslen` return value is casted to `int` because it returns a `size_t`
type. You can use the right `printf` specifier instead of casting.
@@ -144,6 +145,7 @@ type. You can use the right `printf` specifier instead of casting.
output> 0
+
* The `sdsdup()` function duplicates an already existing SDS string:
@@ -155,6 +157,7 @@ type. You can use the right `printf` specifier instead of casting.
output> Hello Hello
+
Obtaining the string length
---