facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
16 lines
302 B
C
16 lines
302 B
C
/* Prints the system dependent name for the current locale's codeset. */
|
|
|
|
#define _XOPEN_SOURCE 500 /* Needed on AIX 3.2.5 */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <locale.h>
|
|
#include <langinfo.h>
|
|
|
|
int main ()
|
|
{
|
|
setlocale(LC_ALL, "");
|
|
printf("%s\n", nl_langinfo(CODESET));
|
|
exit(0);
|
|
}
|