aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/strlcat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/strlcat.c b/src/strlcat.c
index 5c317c6..ccd3720 100644
--- a/src/strlcat.c
+++ b/src/strlcat.c
@@ -1,3 +1,7 @@
+// NOTE: `strlcat` is a safer version of `strcat` that ensures the destination
+// buffer is not overflowed. However, it's not available in all standard
+// libraries. Therefore, we conditionally include it here depending on if the
+// system has it available by default.
#include <stddef.h>
#include <string.h>