updated the ffi section in README.md

This commit is contained in:
hyung-hwan 2023-07-04 12:49:47 +09:00
parent 9fac7cfc98
commit 71cc46292c

View File

@ -481,6 +481,19 @@ BEGIN
### ffi ### ffi
- ffi::open
- ffi::close
- ffi::call
- ffi::errmsg
```
BEGIN {
ffi = ffi::open();
if (ffi::call(ffi, r, @B"getenv", @B"s>s", "PATH") <= -1) print ffi::errmsg();
else print r;
ffi::close (ffi);
}
```
### mysql ### mysql