2023-11-11 08:45:45 -06:00
|
|
|
import "sysdata/test-programs/hblib/std" as std;
|
2023-10-29 07:27:10 -05:00
|
|
|
|
|
|
|
fn main(){
|
|
|
|
std::Info("Trying to open a file.");
|
|
|
|
// let ret = std::open("/file.hbf");
|
|
|
|
// std::Info("File return " + ret);
|
|
|
|
|
|
|
|
std::ipc_make_bound_buffer(1000);
|
|
|
|
|
|
|
|
let str = data::str("ABC XYZ");
|
|
|
|
std::ipc_send(2, str, str.len);
|
|
|
|
|
|
|
|
std::ipc_recv(2);
|
2023-11-03 03:04:22 -05:00
|
|
|
|
|
|
|
std::Info("VFS Test done!");
|
2023-11-02 14:08:48 -05:00
|
|
|
// un();
|
2023-10-29 07:27:10 -05:00
|
|
|
tx();
|
|
|
|
}
|
|
|
|
|
|
|
|
main();
|