forked from AbleOS/ableos
19 lines
331 B
Plaintext
19 lines
331 B
Plaintext
|
import "repbuild/hblib/std" as std;
|
||
|
|
||
|
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);
|
||
|
|
||
|
|
||
|
tx();
|
||
|
}
|
||
|
|
||
|
main();
|