# strings.h ## **Overview** **Related Modules:** [UTILS](UTILS.md) **Description:** Declares commonly used functions for byte sequence operations. You can use the functions provided in this file to perform the mathematical operations required during development. Example operations include comparing, copying byte sequences, and setting a byte sequence to 0. You must pay attention to memory management during function calls. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Functions
bcmp (const void *s1, const void *s2, size_t n) |
|
bcopy (const void *src, void *dest, size_t n) |
|
bzero (void *s, size_t n) |
|
index (const char *s, int c) |
Searches for the first position of the matched character in a string. |
rindex (const char *s, int c) |
Searches for the last position of the matched character in a string. |
ffs (int i) |
|
ffsl (long int i) |
Searches for the first bit in a word of the long integer type. |
ffsll (long long int i) |
Searches for the first bit in a word of the 8-byte long integer type. |
strcasecmp (const char *_l, const char *_r) |
Compares two strings (string 1 and string 2), regardless of the letter case. |
strncasecmp (const char *_l, const char *_r, size_t n) |
Compares a specified length of two strings (string 1 and string 2), regardless of the letter case. |