Sean Anderson 9af869c414 lib: string: Implement strlcat
This introduces strlcat, which provides a safer interface than strncat. It
never copies more than its size bytes, including the terminating nul. In
addition, it never reads past dest[size - 1], even if dest is not
nul-terminated.

This also removes the stub for dwc3 now that we have a proper
implementation.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-04-12 17:44:55 -04:00
..
2021-01-31 14:08:56 +01:00
2021-01-27 16:58:57 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2019-05-20 13:50:34 +02:00
2020-05-11 01:30:49 +05:30
2020-08-24 16:37:53 +02:00
2019-11-07 00:24:59 +01:00
2019-12-06 16:44:20 -05:00
2021-03-01 09:54:11 -05:00
2021-04-12 17:44:55 -04:00
2019-12-06 16:44:19 -05:00
2019-05-05 08:48:50 -04:00