Skip to content
Advertisement

Tag: strcmp

Understanding the strcmp function of gnu libc

Here is the strcmp function that i found in the glibc: This is a pretty simple function where the body of while initiates c1 and c2 with the value of *s1 and *s2 and continues till either c1 is nul or the values of c1 and c2 are equal, then returns the difference between c1 and c2. What i didn’t

Advertisement