Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
headers.inc
Go to the documentation of this file.
1##############################################################################
2#
3# Licensed to the Apache Software Foundation (ASF) under one or more
4# contributor license agreements. See the NOTICE file distributed
5# with this work for additional information regarding copyright
6# ownership. The ASF licenses this file to you under the Apache
7# License, Version 2.0 (the "License"); you may not use this file
8# except in compliance with the License. You may obtain a copy of
9# the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16# implied. See the License for the specific language governing
17# permissions and limitations under the License.
18#
19# Copyright 2001-2007 Rogue Wave Software, Inc.
20#
21##############################################################################
22
23# list of headers
24hdrs="assert complex ctype errno fenv float inttypes iso646 limits locale \
25 math setjmp signal stdarg stdbool stddef stdio stdint stdlib string \
26 tgmath time uchar wchar wctype new typeinfo"
27
28hdrs="$hdrs ieeefp.h pthread.h"
29
30
31# math functions
32c90_funs="acos(0.0) asin(0.0) atan(0.0) atan2(0.0,0.0) ceil(0.0) cos(0.0) \
33 cosh(0.0) exp(0.0) fabs(0.0) floor(0.0) fmod(0.0,0.0) frexp(0.0,0) \
34 ldexp(0.0,0) log(0.0) log10(0.0) modf(0.0,0) pow(0.0,0.0) sin(0.0) \
35 sinh(0.0) sqrt(0.0) tan(0.0) tanh(0.0) acosf asinf atanf atan2f \
36 ceilf cosf coshf expf fabsf floorf fmodf frexpf ldexpf logf log10f \
37 modff powf sinf sinhf sqrtf tanf tanhf acosl asinl atanl atan2l \
38 ceill cosl coshl expl fabsl floorl fmodl frexpl ldexpl logl log10l \
39 modfl powl sinl sinhl sqrtl tanl tanhl"
40c99_funs="cbrtf copysignf erfcf erff expm1f exp2f fdimf fmaf fmaxf fminf \
41 hypotf ilogbf lgammaf logbf log1pf log2f llrintf lrintf lroundf \
42 llroundf nanf nearbyintf nextafterf nexttowardf remainderf remquof \
43 rintf roundf scalbnf scalblnf tgammaf cbrt copysign erf erfc expm1 \
44 exp2 fdim fma fmax fmin hypot ilogb lgamma logb log1p log2 llrint \
45 lrint lround llround nan nearbyint nextafter nexttoward remainder \
46 remquo rint round scalbn scalbln tgamma cbrtl copysignl erfcl erfl \
47 expm1l exp2l fdiml fmal fmaxl fminl hypotl ilogbl lgammal logbl \
48 log1pl log2l llrintl lrintl lroundl llroundl nanl nearbyintl \
49 nextafterl nexttowardl remainderl remquol rintl roundl scalbnl \
50 scalblnl tgammal"
51
52# ignore C99 functions for now
53math="$c90_funs"
54
55
56# stdio functions
57c90_funs="clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen \
58 fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell \
59 fwrite getc getchar gets perror printf putc putchar puts remove \
60 rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam \
61 ungetc vfprintf vprintf vsprintf"
62c99_funs="snprintf vsnprintf"
63posix_funs="fileno"
64
65stdio="$c90_funs $c99_funs $posix_funs"
66
67
68# stdlib functions
69c90_funs="abort abs atexit atof atoi atol atoll bsearch calloc div exit free \
70 getenv labs ldiv llabs lldiv malloc mblen mbstowcs mbtowc qsort \
71 rand realloc srand strtod strtol strtoul system wcstombs wctomb"
72c99_funs="strtof strtold strtoll strtoull"
73posix_funs="mkstemp putenv setenv unsetenv"
74
75stdlib="$c90_funs $c99_funs $posix_funs"
76
77
78# string functions
79string="memchr((void*)0,0,0) memcmp memcpy memmove memset strcat \
80 strchr((char*)0,0) strcmp strcoll strcpy strcspn strerror strlen \
81 strncat strncmp strncpy strpbrk((char*)0,(char*)0) \
82 strrchr((char*)0,0) strspn strstr((char*)0,(char*)0) strtok strxfrm"
83
84
85# time functions
86c90_funs="asctime clock ctime difftime gmtime localtime mktime strftime time"
87c99_funs="mkxtime strfxtime zonetime"
88posix_funs="tzset"
89
90# ignore C99 functions for now
91time="$c90_funs $posix_funs"
92
93
94# wchar functions
95wchar="btowc fgetwc fgetws fputwc fputws fwide fwprintf fwscanf getwc \
96 getwchar mbrlen mbrtowc mbsinit mbsrtowcs putwc putwchar swprintf \
97 swscanf ungetwc vfwprintf vswprintf vwprintf vwscanf wcrtomb wcscat \
98 wcschr((wchar_t*)0,0) wcscmp wcscoll wcscpy wcscspn wcsftime wcslen \
99 wcsncat wcsncmp wcsncpy wcspbrk((wchar_t*)0,(wchar_t*)0) \
100 wcsrchr((wchar_t*)0,0) wcsrtombs wcsspn \
101 wcsstr((wchar_t*)0,(wchar_t*)0) wcstod wcstof wcstok wcstol wcstold \
102 wcstoll wcstoul wcstoull wcsxfrm wctob wmemchr((wchar_t*)0,0,0) \
103 wmemcmp wmemcpy wmemmove wmemset wprintf wscanf"
104
105
106# wctype functions
107# 7.15 of ISO/IEC 9899:1990/Amendment 1:1995
108wctype="iswalpha iswalnum iswcntrl iswdigit iswgraph iswlower iswprint \
109 iswpunct iswspace iswupper iswxdigit wctype iswctype towlower \
110 towupper wctrans towctrans"
A local time-of-day.