]> Git Repo - linux.git/blob - tools/testing/selftests/bpf/io_helpers.h
Linux 6.14-rc3
[linux.git] / tools / testing / selftests / bpf / io_helpers.h
1 // SPDX-License-Identifier: GPL-2.0
2 #include <unistd.h>
3
4 /* As a regular read(2), but allows to specify a timeout in micro-seconds.
5  * Returns -EAGAIN on timeout.
6  */
7 int read_with_timeout(int fd, char *buf, size_t count, long usec);
This page took 0.030457 seconds and 4 git commands to generate.