Changeset 06b0211b in mainline for uspace/lib/posix/include
- Timestamp:
- 2013-04-29T11:29:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aa2b32c
- Parents:
- ba4799a (diff), df956b9b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/posix/include/posix
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
rba4799a r06b0211b 48 48 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) 49 49 50 /* Dummy compatibility flag */ 51 #undef O_NOCTTY 52 #define O_NOCTTY 0 53 50 54 /* fcntl commands */ 51 55 #undef F_DUPFD -
uspace/lib/posix/include/posix/float.h
rba4799a r06b0211b 36 36 #define POSIX_FLOAT_H_ 37 37 38 /* 39 * The macros defined below are needed for compilation of MPFR 40 * (http://www.mpfr.org/). Probably, they should be provided by GCC 41 * itself but that does not work for cross-compilation. 42 * 38 /* Rouding direction -1 - unknown */ 39 #define FLT_ROUNDS (-1) 40 41 /* define some standard C constants in terms of GCC built-ins */ 42 #ifdef __GNUC__ 43 #undef DBL_MANT_DIG 44 #define DBL_MANT_DIG __DBL_MANT_DIG__ 45 #undef DBL_MIN_EXP 46 #define DBL_MIN_EXP __DBL_MIN_EXP__ 47 #undef DBL_MAX_EXP 48 #define DBL_MAX_EXP __DBL_MAX_EXP__ 49 #undef DBL_MAX 50 #define DBL_MAX __DBL_MAX__ 51 #undef DBL_MAX_10_EXP 52 #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__ 53 #undef DBL_MIN_10_EXP 54 #define DBL_MIN_10_EXP __DBL_MIN_10_EXP__ 55 #undef DBL_MIN 56 #define DBL_MIN __DBL_MIN__ 57 #undef DBL_DIG 58 #define DBL_DIG __DBL_DIG__ 59 #undef DBL_EPSILON 60 #define DBL_EPSILON __DBL_EPSILON__ 61 #undef FLT_RADIX 62 #define FLT_RADIX __FLT_RADIX__ 63 #else 64 /* For something else than GCC, following definitions are provided. 43 65 * They are intentionally guarded by the given macro to ensure that anyone 44 66 * who wants them states this explicitly. … … 50 72 */ 51 73 #ifdef FLOAT_H_YES_I_REALLY_WANT_LIMITS 52 53 74 /* float limits */ 54 75 #define FLT_MIN 1.1754943508222875079687365372222456778186655567720875215087517062784172594547271728515625e-38 … … 82 103 #endif 83 104 105 #endif /* __GNUC__ */ 106 84 107 #endif /* POSIX_FLOAT_H_ */ 85 108 -
uspace/lib/posix/include/posix/limits.h
rba4799a r06b0211b 49 49 #define PATH_MAX 256 50 50 51 /* it's probably a safe assumption */ 52 #undef CHAR_BIT 53 #define CHAR_BIT 8 54 51 55 #endif /* POSIX_LIMITS_H_ */ 52 56 -
uspace/lib/posix/include/posix/math.h
rba4799a r06b0211b 40 40 #endif 41 41 42 #ifdef __GNUC__ 43 #define HUGE_VAL (__builtin_huge_val()) 44 #endif 45 42 46 /* Normalization Functions */ 43 47 extern double __POSIX_DEF__(ldexp)(double x, int exp); 44 48 extern double __POSIX_DEF__(frexp)(double num, int *exp); 45 49 50 double __POSIX_DEF__(fabs)(double x); 51 double __POSIX_DEF__(floor)(double x); 52 double __POSIX_DEF__(modf)(double x, double *iptr); 53 double __POSIX_DEF__(fmod)(double x, double y); 54 double __POSIX_DEF__(pow)(double x, double y); 55 double __POSIX_DEF__(exp)(double x); 56 double __POSIX_DEF__(sqrt)(double x); 57 double __POSIX_DEF__(log)(double x); 58 double __POSIX_DEF__(sin)(double x); 59 double __POSIX_DEF__(cos)(double x); 60 double __POSIX_DEF__(atan2)(double y, double x); 46 61 47 62 #endif /* POSIX_MATH_H_ */ -
uspace/lib/posix/include/posix/stdio.h
rba4799a r06b0211b 70 70 71 71 typedef struct _IO_FILE FILE; 72 73 #ifndef LIBPOSIX_INTERNAL 74 enum _buffer_type { 75 /** No buffering */ 76 _IONBF, 77 /** Line buffering */ 78 _IOLBF, 79 /** Full buffering */ 80 _IOFBF 81 }; 82 #endif 72 83 73 84 extern FILE *stdin;
Note:
See TracChangeset
for help on using the changeset viewer.