Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helins/linux-io.java
Basic Linux IO utilities for java through JNA
https://github.com/helins/linux-io.java
io java jna linux native
Last synced: about 2 months ago
JSON representation
Basic Linux IO utilities for java through JNA
- Host: GitHub
- URL: https://github.com/helins/linux-io.java
- Owner: helins
- License: mpl-2.0
- Created: 2018-05-01T09:13:33.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-06-08T20:14:41.000Z (over 2 years ago)
- Last Synced: 2023-07-28T10:12:16.083Z (over 1 year ago)
- Topics: io, java, jna, linux, native
- Language: Java
- Size: 78.1 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linux-IO
[![Maven
Central](https://maven-badges.herokuapp.com/maven-central/io.helins/linux-io/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.helins/linux-io)[![jJavadoc](https://javadoc.io/badge2/io.helins/linux-io/javadoc.svg)](https://javadoc.io/doc/io.helins/linux-io)
Sometimes, for instance when interacting with hardware, native IO is needed and
Java does not provide much for doing so because the JVM aims to be
platform-independant. This library builds upon
[linux-common](https://github.com/helins/linux-common.java) in order to provide
basic utilities such as opening and R/W a file or performing ioctl calls through
[Java Native Access](https://github.com/java-native-access/jna) on a Linux
system.More precisely, it offers a few utililities like `open` and `ioctl` from [LibC](https://javadoc.io/doc/io.helins/linux-io/latest/io/helins/linux/io/LinuxIO.html).
It serves as a foundations for more useful libraries such as:
- [io.helins/linux-i2c](https://github.com/helins/linux-i2c.java), using the I2C protocol
- [io.helins/linux-gpio](https://github.com/helins/linux-gpio.java), using the Linux GPIO utilities## Usage
Everything is described in the [javadoc](https://javadoc.io/doc/io.helins/linux-io).
## License
Copyright © 2018 Adam Helinski
Licensed under the term of the Mozilla Public License 2.0, see LICENSE.