Home | History | Annotate | Line # | Download | only in libhack
      1 /*	$NetBSD: nl_langinfo.c,v 1.1 2019/07/28 10:21:18 martin Exp $	*/
      2 
      3 /*
      4  * Written by Martin Husemann <martin (at) NetBSD.org>
      5  * Public domain.
      6  */
      7 
      8 #include <langinfo.h>
      9 
     10 /*
     11  * Cheap and dirty nl_langinfo() - implements just enough
     12  * for our libcurses in crunched environments.
     13  */
     14 char *
     15 nl_langinfo(nl_item what)
     16 {
     17 	if (what == CODESET)
     18 		return "ASCII";
     19 	return "";
     20 }
     21