aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
---