strtonum: fix `TOOLARGE` macro name
[libcext.git] / README.md
index a10245f5216bf49a464dd99263ef1e9695eed633..8324035f51400315c5fa93d0fd44fadc2e8a7d93 100644 (file)
--- a/README.md
+++ b/README.md
@@ -39,6 +39,12 @@ includes `vasprintf()` and `asprintf()`
 
 ---
 
+### fgetln
+
+includes `fgetln()`
+
+---
+
 ### getopt\_long
 
 includes `getopt()`, `getsubopt()`, `getopt_long()` and `getopt_long_only()`
@@ -54,14 +60,21 @@ permuting, defining those enables it per function (GNU behaviour, can still be d
 
 ---
 
+### strdup
+
+includes `strdup()` and `strndup()`
+
+`strndup()` follows the latest standard, meaning that it copies at most _n_ chars, not _n_ + 1.
+Also, no standard specifies that `strndup()` should return less than _n_ if `strlen(s) + 1` < _n_, but this implementation does so.
+
+---
+
 ### strlcat
 
 includes `strlcat()` and `strlcpy()`
 
 ---
 
-### strdup
-
-includes `strdup()` and `strndup()`
+### strtonum
 
-`strndup()` follows the latest standard, meaning that it copies at most _n_ chars, not _n_ + 1.
+includes `strtonum()`