/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2015 Joyent, Inc.
*/
#include <string.h>
#include <locale.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <nl_types.h>
/*
* This is designed to check that we properly are honoring the global and
* per-thread locale when opening up a message catalog. To do this, we use the
* locales and thus alternate with our test locale zz_AA.UTF-8 which should not
* have it.
*/
static void
{
} else {
}
}
int
main(void)
{
(void) uselocale(LC_GLOBAL_LOCALE);
return (0);
}