hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 6d25b191a372cad1e5b544e95ba103a7f2a8783d
parent de10bdcf4a39b40b707ba7e6b8ddb9871c03bc98
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 20 Oct 2021 10:33:31 +0200

iobus::io_uring: remove io_uring mentions from docs

Since we just symlink +linux to io_uring, it presents itself as the
iobus module, and the docs should be generic enough to reflect that. The
README at iobus/io_uring/README provides io_uring specific information
for those who choose to import it.

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Miobus/io_uring/bus.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iobus/io_uring/bus.ha b/iobus/io_uring/bus.ha @@ -4,7 +4,7 @@ use linux::io_uring; def DEFAULT_RING_SIZE: u32 = 512; -// Creates a new io_uring I/O bus. +// Creates a new I/O bus. export fn new() (*bus | error) = { let params = io_uring::params { ... }; match (io_uring::setup(DEFAULT_RING_SIZE, &params)) { @@ -17,7 +17,7 @@ export fn new() (*bus | error) = { }; }; -// Destroys an io_uring I/O bus. +// Destroys an I/O bus. export fn destroy(bus: *bus) void = { io_uring::finish(&bus.uring); };