| Function |
Header |
Standard |
VBCC |
GCC |
SAS/C |
DICE |
libnix |
clib2 |
Description |
| strcpy |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Copy string |
| strncpy |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Copy string with length limit |
| strcat |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Concatenate string |
| strncat |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Concatenate string with length limit |
| strcmp |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Compare strings |
| strncmp |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Compare strings with length limit |
| strlen |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Get string length |
| strchr |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Find character in string |
| strrchr |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Find last occurrence of character |
| strstr |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Find substring |
| strspn |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Get span of character set |
| strcspn |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Get span of complement of character set |
| strpbrk |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Find character from set |
| strtok |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Split string into tokens |
| strtok_r |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Split string into tokens (reentrant) |
| strcoll |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Compare strings using locale |
| strxfrm |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Transform string for comparison |
| memcpy |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Copy memory |
| memmove |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Move memory |
| memcmp |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Compare memory |
| memchr |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Find character in memory |
| memset |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Set memory |
| strdup |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Duplicate string |
| strndup |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Missing |
Duplicate string with length limit |
| strerror |
string.h |
C89 |
vc.lib |
|
Compliant |
Compliant |
Compliant |
Compliant |
Get error message string |
| strerror_r |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Missing |
Missing |
Get error message string (reentrant) |
| strcasecmp |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Compare strings ignoring case |
| strncasecmp |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Compare strings ignoring case with length limit |
| strlcpy |
string.h |
BSD |
Missing |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Safe string copy |
| strlcat |
string.h |
BSD |
Missing |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Safe string concatenation |
| index |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Find character in string (alias for strchr) |
| rindex |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Find last occurrence of character (alias for strrchr) |
| bcopy |
string.h |
BSD |
Missing |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Copy memory (alias for memcpy) |
| bcmp |
string.h |
BSD |
Missing |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Compare memory (alias for memcpy) |
| bzero |
string.h |
BSD |
Missing |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Zero memory (alias for memset) |
| ffs |
string.h |
POSIX |
POSIX |
|
Missing |
Missing |
Missing |
Compliant |
Compliant |
Find first set bit |
| TOTALS |
|
|
31/36 |
0/36 |
22/36 |
22/36 |
22/36 |
35/36 |
|