2 ms·
Not a C programmer either. But I've seen projects banning strcpy. The code was littered with strncpy(a, b, strlen(b)). So I'm not sure how useful these warnings
by lawl 11y ago
Not a C programmer either. But I've seen projects banning strcpy. The code was littered with strncpy(a, b, strlen(b)).
So I'm not sure how useful these warnings would be.