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

Aliases

locale_t (from core.sys.posix.locale)
alias locale_t = _LC_locale_t** via public import core.sys.posix.locale : locale_t;

Functions

ffs
int ffs(int i)

Find first bit set in a word

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

Compare two strings ignoring case

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

Compare two strings ignoring case, with the specified locale

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

Compare two strings ignoring case, up to n characters

strncasecmp_l
int strncasecmp_l(char* s1, 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