File: check-lc_ctype.c

package info (click to toggle)
linux-tools 4.4-4~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 26,236 kB
  • sloc: ansic: 302,415; perl: 15,242; asm: 9,350; sh: 8,158; python: 7,955; makefile: 7,238; yacc: 2,669; cpp: 2,489; lex: 1,561; awk: 770
file content (11 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Check that a specified locale works as LC_CTYPE.  Used by the
 * DocBook build system to probe for C.UTF-8 support.
 */

#include <locale.h>

int main(void)
{
	return !setlocale(LC_CTYPE, "");
}