RE: [PATCH v3] lib/string.c: implement stpcpy
From: David Laight
Date: Tue Sep 01 2020 - 04:51:29 EST
> Of course, no "True Scotsman" would accidentally misuse C string.h API!
> https://yourlogicalfallacyis.com/no-true-scotsman
Google will find plenty of:
str[strlen(str)] = 0;
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)