Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
|
#include <string.h>
Go to the source code of this file.
Functions | |
int | strcmp (const char *s1, const char *s2) |
Compares two null-terminated byte strings lexicographically. More... | |
int strcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Compares two null-terminated byte strings lexicographically.
Compares two null-terminated byte strings lexicographically.
The behavior is undefined if s1 or s2 are not pointers to null-terminated byte strings.
s1 | pointers to the null-terminated byte strings to compare |
s2 | pointers to the null-terminated byte strings to compare |
Definition at line 12 of file strcmp.c.
References NULL.
Referenced by strcoll(), wctrans(), and wctype().