langinfo.h revision 732efd5515b5788339f3da4db04de7cea0f79c86
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
*/
#ifndef _LANGINFO_H
#define _LANGINFO_H
#include <sys/feature_tests.h>
#include <nl_types.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* The seven days of the week in their full beauty
*/
/*
* The abbreviated seven days of the week
*/
/*
* The full names of the twelve months...
*/
/*
* ... and their abbreviated form
*/
/*
* plus some special strings you might need to know
*/
/* YESSTR and NOSTR marked as legacy in XPG5 and removed in SUSv3 */
#if !defined(_XPG6) || defined(__EXTENSIONS__)
#endif /* !defined(_XPG6) || defined(__EXTENSIONS__ */
/*
* Default string used to format date and time
* e.g. Sunday, August 24 21:08:38 MET 1986
*/
/*
* Additions for XPG4 (XSH4) Compliance
*/
#if defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE)
#endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */
/*
* and the definitions of functions langinfo(3C)
*/
#if defined(__STDC__)
#else
char *nl_langinfo(); /* get a string from the database */
#endif
#if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
#ifndef _LOCALE_T
#define _LOCALE_T
#endif
#if defined(__STDC__)
#else
char *nl_langinfo_l();
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif /* _LANGINFO_H */