spl

systems programming language
git clone http://frotz.net/git/spl.git
Log | Files | Refs | README | LICENSE

library.impl.h (495B)


      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 
      4 void fn__hexout_(t$i32 x);
      5 
      6 void fn_writes(t$i32 fd, t$str s);
      7 void fn_writex(t$i32 fd, t$i32 n);
      8 void fn_writei(t$i32 fd, t$i32 n);
      9 void fn_writec(t$i32 fd, t$i32 c);
     10 t$i32 fn_readc(t$i32 fd);
     11 
     12 t$i32 fn_fd_open(t$str s);
     13 t$i32 fn_fd_create(t$str s);
     14 void fn_fd_close(t$i32 fd);
     15 t$i32 fn_fd_set_pos(t$i32 fd, t$u32 pos);
     16 t$u32 fn_fd_get_pos(t$i32 fd);
     17 
     18 t$u8* fn_os_arg(t$i32 n);
     19 t$i32 fn_os_arg_count(void);
     20 void fn_os_exit(t$i32 n);
     21 void fn_abort(void);