summaryrefslogtreecommitdiffstats
path: root/build/has/io-uring-max-workers.c
blob: 34ab5b7d6384afc81aa433c4c57f14282d4929b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <liburing.h>

int main(void) {
	struct io_uring ring;
	io_uring_queue_init(1, &ring, 0);
	unsigned int values[] = {0, 0};
	return io_uring_register_iowq_max_workers(&ring, values);
}