1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibC: Add ungetc() and automatically flush streams on fclose().

This commit is contained in:
Andreas Kling 2019-03-27 01:40:55 +01:00
parent 0c2face7b0
commit d1e55fb4d9
7 changed files with 39 additions and 3 deletions

View file

@ -24,6 +24,16 @@ typedef __INT_FAST16_TYPE__ int_fast16_t;
typedef __INT_FAST32_TYPE__ int_fast32_t;
typedef __INT_FAST64_TYPE__ int_fast64_t;
typedef __UINT_LEAST8_TYPE__ uint_least8_t;
typedef __UINT_LEAST16_TYPE__ uint_least16_t;
typedef __UINT_LEAST32_TYPE__ uint_least32_t;
typedef __UINT_LEAST64_TYPE__ uint_least64_t;
typedef __INT_LEAST8_TYPE__ int_least8_t;
typedef __INT_LEAST16_TYPE__ int_least16_t;
typedef __INT_LEAST32_TYPE__ int_least32_t;
typedef __INT_LEAST64_TYPE__ int_least64_t;
#define __int8_t_defined 1
#define __uint8_t_defined 1
#define __int16_t_defined 1