Name

strncmp — Compare two length-limited strings

Synopsis

int strncmp (const char * cs,
 const char * ct,
 size_t count);
 

Arguments

const char * cs

One string

const char * ct

Another string

size_t count

The maximum number of bytes to compare