Skip to content

Commit

Permalink
Format linux/io_uring_syscall.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ispeters committed Oct 31, 2023
1 parent 8340c57 commit 16f1748
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions source/linux/io_uring_syscall.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@
#include <signal.h>
#include UNIFEX_LIBURING_HEADER

namespace unifex::linuxos
{
int io_uring_register(int fd, unsigned opcode, const void *arg, unsigned nr_args);
int io_uring_setup(unsigned entries, struct io_uring_params *p);
int io_uring_enter(int fd, unsigned to_submit, unsigned min_complete, unsigned flags, sigset_t *sig);
}
namespace unifex::linuxos {
int io_uring_register(
int fd, unsigned opcode, const void* arg, unsigned nr_args);
int io_uring_setup(unsigned entries, struct io_uring_params* p);
int io_uring_enter(
int fd,
unsigned to_submit,
unsigned min_complete,
unsigned flags,
sigset_t* sig);
} // namespace unifex::linuxos

0 comments on commit 16f1748

Please sign in to comment.