summaryrefslogtreecommitdiff
path: root/src/syscall.h
blob: 7e299d419e3ec24de0632b62665a8b1ada30ae7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: MIT */
#ifndef LIBURING_SYSCALL_H
#define LIBURING_SYSCALL_H

/*
 * System calls
 */
extern int __sys_io_uring_setup(unsigned entries, struct io_uring_params *p);
extern int __sys_io_uring_enter(int fd, unsigned to_submit,
	unsigned min_complete, unsigned flags, sigset_t *sig);
extern int __sys_io_uring_register(int fd, unsigned int opcode, const void *arg,
	unsigned int nr_args);

#endif