Richard Braun, on Wed 17 Aug 2016 10:46:10 +0200, wrote: > On Wed, Aug 17, 2016 at 08:53:51AM +0200, Samuel Thibault wrote: > > - also, in strstr, is it really better to use strncmp instead of strcmp? > > If I understand correctly, strcmp wouldn't behave right since it > compares the terminating null byte.
Oh, right. Samuel