diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-02-12 02:04:29 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-02-12 02:19:03 +0100 |
commit | ca762637a55c345616411e74a1cadde134a337f9 (patch) | |
tree | 2b6d1182a38de9520cc7302af8ce6d6f0b2dee01 /man3 | |
parent | 7ddc26c10d1644e9f6134eaf45d27af1c249528b (diff) |
man*/: ffix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3')
-rw-r--r-- | man3/stpncpy.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/stpncpy.3 b/man3/stpncpy.3 index 1b7f5c700..9544682fc 100644 --- a/man3/stpncpy.3 +++ b/man3/stpncpy.3 @@ -64,7 +64,7 @@ char * stpncpy(char *restrict dst, const char *restrict src, size_t dsize) { size_t dlen; - +\& dlen = strnlen(src, dsize); return memset(mempcpy(dst, src, dlen), 0, dsize \- dlen); } |