diff options
author | midipix <writeonce@midipix.org> | 2018-07-15 12:16:36 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-07-15 12:18:48 -0400 |
commit | 71f809d21ce73dffecf370a761a83d892504465b (patch) | |
tree | 3d39c2c422f75832d08f9b356a9152daf95377db /src/internal/ntux_nolibc_impl.h | |
parent | 395925f40dbea1073f89dd9d852c944cbd779ffa (diff) | |
download | ntux-71f809d21ce73dffecf370a761a83d892504465b.tar.bz2 ntux-71f809d21ce73dffecf370a761a83d892504465b.tar.xz |
internals: removed the surrogate streams layer, as it is no longer needed.
Diffstat (limited to 'src/internal/ntux_nolibc_impl.h')
-rw-r--r-- | src/internal/ntux_nolibc_impl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/internal/ntux_nolibc_impl.h b/src/internal/ntux_nolibc_impl.h index a12b848..eac2631 100644 --- a/src/internal/ntux_nolibc_impl.h +++ b/src/internal/ntux_nolibc_impl.h @@ -2,11 +2,7 @@ #define NTUX_NOLIBC_IMPL_H #define isatty ntux_isatty -#define fileno ntux_fileno -#define fputs ntux_fputs -#define fflush ntux_fflush -#define fprintf ntux_fprintf #define sprintf ntux_sprintf #define snprintf ntux_snprintf @@ -23,20 +19,10 @@ #define calloc ntux_calloc #define free ntux_free -#define stdin (void *)0 -#define stdout (void *)1 -#define stderr (void *)2 - -typedef struct ntux_file FILE; - int ntux_isatty(int fildes); -int ntux_fileno(void * any); int ntux_sprintf(char * str, const char * fmt, ...); int ntux_snprintf(char * str, size_t n, const char * fmt, ...); -int ntux_fprintf(FILE *__restrict, const char *__restrict, ...); -int ntux_fputs(const char * str, FILE * file); -int ntux_fflush(FILE *); void * ntux_memcpy(void * dst, const void * src, size_t n); void * memset(void * ch, int c, size_t n); |