add strdup
[libcext.git] / README.md
index a5126fda69da03a2caf422fd3b627bee7f6e52cc..a10245f5216bf49a464dd99263ef1e9695eed633 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-A (WIP) collection of portable, strict C99, single-header implementations of common libc extensions.
+A collection of portable, strict C99, single-header implementations of common libc extensions.
 
 All functions are implemented as macros expanding to an internal function reference, this allows to use the headers with no meta build system - it compiles even if the extensions are already present, see _How to_ on disabling this behaviour.
 
@@ -59,3 +59,9 @@ permuting, defining those enables it per function (GNU behaviour, can still be d
 includes `strlcat()` and `strlcpy()`
 
 ---
+
+### strdup
+
+includes `strdup()` and `strndup()`
+
+`strndup()` follows the latest standard, meaning that it copies at most _n_ chars, not _n_ + 1.