Add stub for F_GETFL

This commit is contained in:
EnderIce2 2024-03-25 22:27:27 +02:00
parent 1192f041a9
commit a8333048c8
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -1349,6 +1349,10 @@ static int linux_fcntl(SysFrm *, int fd, int cmd, void *arg)
case F_SETFD: case F_SETFD:
return fdt->SetFlags(fd, s_cst(int, (uintptr_t)arg)); return fdt->SetFlags(fd, s_cst(int, (uintptr_t)arg));
case F_GETFL: case F_GETFL:
{
fixme("F_GETFL is stub");
return fdt->GetFlags(fd);
}
case F_SETFL: case F_SETFL:
case F_SETOWN: case F_SETOWN:
case F_GETOWN: case F_GETOWN: