strcmp (9) - Linux Manuals
strcmp: Compare two strings
Command to display strcmp
manual in Linux: $ man 9 strcmp
NAME
strcmp - Compare two strings
SYNOPSIS
-
int strcmp(const char * cs, const char * ct);
ARGUMENTS
cs
-
- One string
ct
-
Another string
COPYRIGHT
Pages related to strcmp
- strcmp (3) - compare two strings
- strcmp (3p) - compare two strings
- strcat (9) - Append one NUL-terminated string to another
- strchr (9) - Find the first occurrence of a character in a string
- strchrnul (9) - Find and return a character in a string, or end of string
- strcpy (9) - Copy a NUL terminated string
- strcspn (9) - Calculate the length of the initial substring of s which does not contain letters in reject
- strim (9) - Removes leading and trailing whitespace from s.