5
Last change
on this file since 0ec9bbc was
5bfeddc0,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/21/17 at 08:01:49
|
termios: Add kqueue() and poll() support
Real implementation is provided by libbsd.
|
-
Property mode set to
100644
|
File size:
756 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Default Poll Handler |
---|
5 | * |
---|
6 | * @ingroup LibIOFSHandler |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2013, 2017 embedded brains GmbH. All rights reserved. |
---|
11 | * |
---|
12 | * embedded brains GmbH |
---|
13 | * Dornierstr. 4 |
---|
14 | * 82178 Puchheim |
---|
15 | * Germany |
---|
16 | * <rtems@embedded-brains.de> |
---|
17 | * |
---|
18 | * The license and distribution terms for this file may be |
---|
19 | * found in the file LICENSE in this distribution or at |
---|
20 | * http://www.rtems.org/license/LICENSE. |
---|
21 | */ |
---|
22 | |
---|
23 | #if HAVE_CONFIG_H |
---|
24 | #include "config.h" |
---|
25 | #endif |
---|
26 | |
---|
27 | #include <rtems/libio_.h> |
---|
28 | |
---|
29 | #include <sys/poll.h> |
---|
30 | |
---|
31 | int rtems_filesystem_default_poll( |
---|
32 | rtems_libio_t *iop, |
---|
33 | int events |
---|
34 | ) |
---|
35 | { |
---|
36 | return POLLERR; |
---|
37 | } |
---|
38 | |
---|
39 | int rtems_termios_poll( |
---|
40 | rtems_libio_t *iop, |
---|
41 | int events |
---|
42 | ) RTEMS_WEAK_ALIAS( rtems_filesystem_default_poll ); |
---|
Note: See
TracBrowser
for help on using the repository browser.