core.sys.posix.strings

D header file for POSIX's <strings.h>.

Note: Do not mistake this module for <string.h> (singular), available at core.sys.posix.string.

Members

Functions

ffs
int ffs(int i)

Find first bit set in a word

strcasecmp
int strcasecmp(scope const char* s1, scope const char* s2)

Compare two strings ignoring case

strcasecmp_l
int strcasecmp_l(scope const char* s1, scope const char* s2, scope locale_t locale)

Compare two strings ignoring case, with the specified locale

strncasecmp
int strncasecmp(scope const char* s1, scope const char* s2, size_t n)

Compare two strings ignoring case, up to n characters

strncasecmp_l
int strncasecmp_l(scope const char* s1, const char* s2, size_t n, locale_t locale)

Compare two strings ignoring case, with the specified locale, up to n characters

See Also

Meta

Standards

The Open Group Base Specifications Issue 7, 2018 edition

Authors

Mathias 'Geod24' Lang

Suggestion Box / Bug Report