diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#include <bh/io.h> + +int main() +{ + bh_io_t *io = bh_file_new("hello.txt"); + bh_io_open(io, BH_IO_WRITE); + bh_io_write(io, "Hello, world!", 13, NULL); + bh_io_free(io); + return 0; +}
\ No newline at end of file |
