Skip to content

Commit

Permalink
options/posix: define missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
no92 committed Feb 3, 2024
1 parent 962ce2b commit bb44cf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions options/posix/include/bits/posix/posix_stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ extern "C" {

#ifndef __MLIBC_ABI_ONLY

typedef struct __mlibc_file_base FILE;

int fileno(FILE *file);
FILE *fdopen(int fd, const char *mode);

Expand Down
3 changes: 3 additions & 0 deletions options/posix/include/bits/posix/posix_wctype.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ extern "C" {

#ifndef __MLIBC_ABI_ONLY

typedef unsigned long wctype_t;
typedef unsigned long wctrans_t;

int iswalnum_l(wint_t, locale_t);
int iswblank_l(wint_t, locale_t);
int iswcntrl_l(wint_t, locale_t);
Expand Down

0 comments on commit bb44cf5

Please sign in to comment.