Skip to main content

isprint_l

Function isprint_l 

Source
#[unsafe(no_mangle)]
pub extern "C" fn isprint_l(c: c_int, _loc: locale_t) -> c_int
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/isprint_l.html.

Tests whether c is a character of class print (a printable character) in the locale specified by loc.

Returns a non-zero value if true, 0 if false.

The list of character classes defined by POSIX is specified here: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap07.html