Changeset 5b0cf63 in mainline for uspace/lib/posix/include
- Timestamp:
- 2018-01-25T13:42:08Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ab3c4b
- Parents:
- c832ab15
- git-author:
- Jiri Svoboda <jiri@…> (2017-01-24 18:40:44)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-01-25 13:42:08)
- Location:
- uspace/lib/posix/include/posix
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/float.h
rc832ab15 r5b0cf63 41 41 /* define some standard C constants in terms of GCC built-ins */ 42 42 #ifdef __GNUC__ 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 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 LDBL_EPSILON 62 #define LDBL_EPSILON __LDBL_EPSILON__ 63 #undef FLT_RADIX 64 #define FLT_RADIX __FLT_RADIX__ 65 #undef FLT_MIN 66 #define FLT_MIN __FLT_MIN__ 67 #undef FLT_MAX 68 #define FLT_MAX __FLT_MAX__ 69 #undef FLT_EPSILON 70 #define FLT_EPSILON __FLT_EPSILON__ 71 #undef FLT_MANT_DIG 72 #define FLT_MANT_DIG __FLT_MANT_DIG__ 73 #undef LDBL_MIN 74 #define LDBL_MIN __LDBL_MIN__ 75 #undef LDBL_MAX 76 #define LDBL_MAX __LDBL_MAX__ 77 #undef LDBL_MANT_DIG 78 #define LDBL_MANT_DIG __LDBL_MANT_DIG__ 79 79 #else 80 80 /* For something else than GCC, following definitions are provided. -
uspace/lib/posix/include/posix/locale.h
rc832ab15 r5b0cf63 39 39 40 40 #ifndef __locale_t_defined 41 42 41 #define __locale_t_defined 42 typedef struct __posix_locale *locale_t; 43 43 #endif 44 44 -
uspace/lib/posix/include/posix/math.h
rc832ab15 r5b0cf63 43 43 44 44 #ifdef __GNUC__ 45 45 #define HUGE_VAL (__builtin_huge_val()) 46 46 #endif 47 47 -
uspace/lib/posix/include/posix/pthread.h
rc832ab15 r5b0cf63 105 105 extern int pthread_setspecific(pthread_key_t, const void *); 106 106 extern int pthread_key_delete(pthread_key_t); 107 extern int pthread_key_create(pthread_key_t *, void (*)(void *));107 extern int pthread_key_create(pthread_key_t *, void (*)(void *)); 108 108 109 109 #endif -
uspace/lib/posix/include/posix/sys/mman.h
rc832ab15 r5b0cf63 56 56 #define PROT_EXEC AS_AREA_EXEC 57 57 58 extern void * 59 mmap(void *start, size_t length, int prot, int flags, int fd, 58 extern void *mmap(void *start, size_t length, int prot, int flags, int fd, 60 59 off_t offset); 61 60 extern int munmap(void *start, size_t length);
Note:
See TracChangeset
for help on using the changeset viewer.