SYNOPSIS
#include <string.h>
int strncmp(const char *s1, const char *s2, size_t n);
DESCRIPTION
The
PARAMETERS
- s1
-
Points to an array of characters terminated by a null character.
- s2
-
Points to a second array of characters terminated by a null character.
- n
-
Specifies the maximum number of characters to compare.
RETURN VALUES
The function
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
memcmp() ,strcasecmp() ,strcmp() ,strcoll() ,strncasecmp()
PTC MKS Toolkit 10.4 Documentation Build 39.