Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 329 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 329 Bytes

syscall.cr Build Status

Raw syscall interface for Crystal. Linux/OSX with x86_64 support only.

Example

include Syscall

str = "Hello!\n"
syscall(WRITE, 1_u64, str.to_unsafe, str.bytesize.to_u64)