1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:27:35 +00:00

Kernel+LibC: Implement sys$ioctl() FIONBIO

This is another (older) way of making a file descriptor non-blocking.
This commit is contained in:
Andreas Kling 2021-03-28 17:50:08 +02:00
parent 526b4bbfdb
commit 5f71bf0cc7
2 changed files with 8 additions and 1 deletions

View file

@ -68,7 +68,8 @@ enum IOCtlNumber {
SIOCSIFNETMASK,
SIOCADDRT,
SIOCDELRT,
FIBMAP
FIBMAP,
FIONBIO,
};
#define TIOCGPGRP TIOCGPGRP
@ -94,3 +95,4 @@ enum IOCtlNumber {
#define SIOCADDRT SIOCADDRT
#define SIOCDELRT SIOCDELRT
#define FIBMAP FIBMAP
#define FIONBIO FIONBIO