(nbio_stdio.c) Expand modes
This commit is contained in:
parent
c6d0e4ec51
commit
4b1bdac62c
|
@ -19,7 +19,7 @@ struct nbio_t
|
||||||
signed char mode;
|
signed char mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * modes[]={ "rb", "wb", "r+b" };
|
static const char * modes[]={ "rb", "wb", "r+b", "rb", "wb", "r+b" };
|
||||||
|
|
||||||
struct nbio_t* nbio_open(const char * filename, unsigned mode)
|
struct nbio_t* nbio_open(const char * filename, unsigned mode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue