4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
26 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
27 * Use is subject to license terms.
30 #ifndef _M9X_FENV_SYNONYMS_H
31 #define _M9X_FENV_SYNONYMS_H
33 #include <sys/isa_defs.h>
36 #define feclearexcept __feclearexcept
37 #define feraiseexcept __feraiseexcept
38 #define fetestexcept __fetestexcept
39 #define fegetexceptflag __fegetexceptflag
40 #define fesetexceptflag __fesetexceptflag
43 #define feholdexcept __feholdexcept
44 #define feholdexcept96 __feholdexcept96
45 #define feupdateenv __feupdateenv
46 #define fegetenv __fegetenv
47 #define fesetenv __fesetenv
48 #define fex_merge_flags __fex_merge_flags
52 #define fegetprec __fegetprec
53 #define fesetprec __fesetprec
57 #define fegetround __fegetround
58 #define fesetround __fesetround
59 #define fesetround96 __fesetround96
62 #define fex_get_handling __fex_get_handling
63 #define fex_set_handling __fex_set_handling
64 #define fex_getexcepthandler __fex_getexcepthandler
65 #define fex_setexcepthandler __fex_setexcepthandler
68 #define fex_get_log __fex_get_log
69 #define fex_set_log __fex_set_log
70 #define fex_get_log_depth __fex_get_log_depth
71 #define fex_set_log_depth __fex_set_log_depth
72 #define fex_log_entry __fex_log_entry
76 #define getcontext _getcontext
77 #define getpid _getpid
80 #define mutex_lock _mutex_lock
81 #define mutex_unlock _mutex_unlock
84 #define sigaction _sigaction
85 #define sigemptyset _sigemptyset
86 #define sigismember _sigismember
87 #define sigprocmask _sigprocmask
89 #define thr_getspecific _thr_getspecific
90 #define thr_keycreate _thr_keycreate
91 #define thr_main _thr_main
92 #define thr_setspecific _thr_setspecific
95 /* ??? see V9 /usr/include/stdio.h */
97 #define fileno _fileno
101 /* libm, libsunmath */
102 #define fp_class __fp_class
103 #define fp_classf __fp_classf
105 #define sqrtf __sqrtf
108 #endif /* _M9X_FENV_SYNONYMS_H */