diff options
Diffstat (limited to 'cpukit/libfs/src/defaults/default_poll.c')
-rw-r--r-- | cpukit/libfs/src/defaults/default_poll.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cpukit/libfs/src/defaults/default_poll.c b/cpukit/libfs/src/defaults/default_poll.c new file mode 100644 index 0000000000..7540390cd3 --- /dev/null +++ b/cpukit/libfs/src/defaults/default_poll.c @@ -0,0 +1,37 @@ +/** + * @file + * + * @brief Default Poll Handler + * + * @ingroup LibIOFSHandler + */ + +/* + * Copyright (c) 2013 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#if HAVE_CONFIG_H + #include "config.h" +#endif + +#include <rtems/libio_.h> + +#include <sys/poll.h> + +int rtems_filesystem_default_poll( + rtems_libio_t *iop, + int events +) +{ + return POLLERR; +} |