Skip to content
Commit 2e64f3b4 authored by Christopher Friedt's avatar Christopher Friedt Committed by Martí Bolívar
Browse files

posix: ioctl: define FIONREAD as some applications require it



The `FIONREAD` ioctl is usually used to query how many bytes
are available to read immediately from a specific file
descriptor. It's quite useful.

Define it here so that it can be used by applications.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent d5d890ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment