Record and link with used native libraries.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import str::sbuf;
|
||||
import vec::vbuf;
|
||||
|
||||
native "cdecl" mod libc {
|
||||
native "cdecl" mod libc = "c" {
|
||||
fn open(sbuf s, int flags, uint mode) -> int;
|
||||
fn read(int fd, vbuf buf, uint count) -> int;
|
||||
fn write(int fd, vbuf buf, uint count) -> int;
|
||||
|
||||
Reference in New Issue
Block a user