ctype_l(3)

ctype_l3

Character classification functions

Usage

#include <ctype.h>

int

digittoint_l(int c, locale_t loc);

int

isalnum_l(int c, locale_t loc);

int

isalpha_l(int c, locale_t loc);

int

iscntrl_l(int c, locale_t loc);

int

isdigit_l(int c, locale_t loc);

int

isgraph_l(int c, locale_t loc);

int

ishexnumber_l(int c, locale_t loc);

int

isideogram_l(int c, locale_t loc);

int

islower_l(int c, locale_t loc);

int

isnumber_l(int c, locale_t loc);

int

isphonogram_l(int c, locale_t loc);

int

isspecial_l(int c, locale_t loc);

int

isprint_l(int c, locale_t loc);

int

ispunct_l(int c, locale_t loc);

int

isrune_l(int c, locale_t loc);

int

isspace_l(int c, locale_t loc);

int

isupper_l(int c, locale_t loc);

int

isxdigit_l(int c, locale_t loc);

int

tolower_l(int c, locale_t loc);

int

toupper_l(int c, locale_t loc);

Library

Standard C Library (libc, -lc)

Overview

The above functions perform character tests and conversions on the integer c in the locale loc. They behave in the same way as the versions without the _l suffix, but use the specified locale rather than the global or per-thread locale. ⟨ctype.h⟩, or as true functions in the C library. See the specific manual pages for more information.

Releases

33 releases since FreeBSD 9.1-RELEASE; the text changed 20 times.

  1. 9.1
  2. 9.2
  3. 9.3
  4. 10.0
  5. 10.1
  6. 10.2
  7. 10.3
  8. 10.4
  9. 11.0
  10. 11.1
  11. 11.2
  12. 11.3
  13. 11.4
  14. 12.0
  15. 12.1
  16. 12.2
  17. 12.3
  18. 12.4
  19. 13.0–13.1
  20. 13.2
  21. 13.3–16.0

Standards

These functions conform to IEEE Std 1003.1-2008 (“POSIX.1”), except for digittoint_l(), ishexnumber_l(), isideogram_l(), isnumber_l(), isphonogram_l(), isrune_l() and isspecial_l() which are FreeBSD extensions.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.