Back to home page

OSCL-LXR

 
 

    


This directory includes a few programs that demonstrate how to use io_uring in an application. The examples are:
io_uring-cp A very basic io_uring implementation of cp(1). It takes two arguments, copies the first argument to the second. This example is part of liburing, and hence uses the simplified liburing API for setting up an io_uring instance, submitting IO, completing IO, etc. The support functions in queue.c and setup.c are straight out of liburing.


SEE ALSO: README

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:41  
barrier.h 441 bytes 2025-03-06 09:18:40 2025-03-06 13:38:40  
io_uring-bench.c 12614 bytes 2025-03-06 09:18:40 2025-03-06 13:38:40  
io_uring-cp.c 5334 bytes 2025-03-06 09:18:40 2025-03-06 13:38:41  
liburing.h 4416 bytes 2025-03-06 09:18:40 2025-03-06 13:38:41  
Makefile 382 bytes 2025-03-06 09:18:40 2025-03-06 13:38:41  
queue.c 3620 bytes 2025-03-06 09:18:40 2025-03-06 13:38:41  
README 1112 bytes 2025-03-06 09:18:40 -  
setup.c 2858 bytes 2025-03-06 09:18:40 2025-03-06 13:38:41  
syscall.c 1259 bytes 2025-03-06 09:18:40 2025-03-06 13:38:41

Will go away once libc support is there