From 191c62f3e6720c10e05a887018c116ec7de5909c Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 12 Jul 2025 11:18:23 -0400 Subject: Add explanation comment for strlcat --- src/strlcat.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 #include -- cgit v1.2.3