2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
7 * Include these before AROS includes, because __unused as a macro in AROS,
8 * causing conflicts with __unused being a structure member name in Linux bits/stat.h.
13 #include <aros/kernel.h>
14 #include <aros/libcall.h>
16 #include "kernel_base.h"
17 #include "kernel_intern.h"
19 AROS_LH0I(void, KrnReleaseInput
,
20 struct KernelBase
*, KernelBase
, 34, Kernel
)
26 /* Reset nonblocking mode on STDERR */
27 res
= KernelBase
->kb_PlatformData
->iface
->fcntl(STDERR_FILENO
, F_GETFL
);
29 KernelBase
->kb_PlatformData
->iface
->fcntl(STDERR_FILENO
, F_SETFL
, res
& ~O_NONBLOCK
);