Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubo39/syscall.cr
syscall interface for Crystal
https://github.com/kubo39/syscall.cr
Last synced: 12 days ago
JSON representation
syscall interface for Crystal
- Host: GitHub
- URL: https://github.com/kubo39/syscall.cr
- Owner: kubo39
- License: mit
- Created: 2015-08-01T14:00:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T15:09:51.000Z (over 4 years ago)
- Last Synced: 2024-03-03T08:36:17.569Z (4 months ago)
- Language: Crystal
- Homepage:
- Size: 14.6 KB
- Stars: 17
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-crystal - syscall.cr - Raw syscall interface (Misc)
- awesome-crystal - syscall.cr - Raw syscall interface (Misc)
README
# syscall.cr [![Build Status](https://secure.travis-ci.org/kubo39/syscall.cr.svg?branch=master)](http://travis-ci.org/kubo39/syscall.cr)
Raw syscall interface for Crystal. Linux/OSX with x86_64 support only.
## Example
```crystal
include Syscallstr = "Hello!\n"
syscall(WRITE, 1_u64, str.to_unsafe, str.bytesize.to_u64)
```