diff options
Diffstat (limited to 'gl/lib/nonblocking.h')
-rw-r--r-- | gl/lib/nonblocking.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gl/lib/nonblocking.h b/gl/lib/nonblocking.h index 8e00fd74..2bb2c27f 100644 --- a/gl/lib/nonblocking.h +++ b/gl/lib/nonblocking.h @@ -1,5 +1,5 @@ /* Non-blocking I/O for pipe or socket descriptors. - Copyright (C) 2011-2022 Free Software Foundation, Inc. + Copyright (C) 2011-2023 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -17,8 +17,6 @@ #ifndef _NONBLOCKING_H #define _NONBLOCKING_H -#include <stdbool.h> - /* Non-blocking I/O is an I/O mode by which read(), write() calls avoid blocking the current thread. When non-blocking is enabled: - A read() call returns -1 with errno set to EAGAIN when no data or EOF |