/*
* 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.
*/
#ifndef _XPG6_H
#define _XPG6_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
*/
/*
*
* Use these with extreme care.
*
* Please follow these basic rules for using these bits and
* don't convolute their meaning.
*
* The basic idea here is the upper 16 bits (default_off)
* the C99 or SUSv3 standards. When these bits are on you
* are restoring an existing Solaris behavior and no longer
*
* which are strictly conforming behaviors as far as the
* previous Solaris behavior.
*
* _C99SUSv3_mode_ON and _C99SUSv3_mode_OFF are two meta-definitions
* which are the most likely modes to run Solaris in.
* However, this frame work allows for other possible behaviors.
*
* The default mode of libc is _C99SUSv3_mode_OFF.
* with the XPG6 standards conforming C compiler utility (c99) which
* adds an object file that contains an alternate definition
* conforming mode.
*/
/*
*/
/*
* If set, math library entry points present in SUSv2 deal with exceptional
* cases as per SUSv3 spec where math_errhandling is set to MATH_ERREXCEPT;
* otherwise they behave as per SUSv2 spec.
*/
/*
* If set, when filename is a null pointer, freopen(NULL, mode, ...) will
* attempt to change the mode of the stream to that specified by mode, as if
* the name of the file currently associated with the stream had been used;
* otherwise freopen(NULL, ...) will fail.
*/
/*
* If set,
* - strfmon() uses int_* members for %i
* - strfmon() handles the case n_sep_by_space == 2 as SUSv3 expects,
* which is different from it does in non SUSv3 mode.
*/
/*
* If set, pow(+/-1,+/-Inf) & pow(1,NaN) return 1; otherwise NaN is returned.
* Analogous comment applies to powf and powl.
*/
/*
* If set, logb(subnormal) returns (double) ilogb(subnormal); otherwise
* logb(subnormal) returns logb(DBL_MIN). Analogous comment applies to
* logbf and logbl.
*/
/*
* no exception is raised. Analogous comment applies to ilogbf and ilogbl.
*/
/*
* If set, the range for strptime() and getdate() %S specifier is [0-60]
* seconds; otherwise the range is [0-61] seconds.
*/
/*
* Use SUSv3 version numbers for _SC_VERSION and _SC_XOPEN_XCU_VERSION.
*/
/*
*/
/*
* If set strtod() and wcstod() recognize hex floating point constants.
*/
/*
*/
#if !defined(_ASM)
extern unsigned int __xpg6;
#endif
#endif /* _XPG6_H */