diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-18 17:30:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-18 17:30:30 +0000 |
commit | 1994f6983332bf79b4ea8d3f242dc710f99cf2e9 (patch) | |
tree | 414ecfd618101a507bf1b3c9263cd067b2ad7b9b /nuttx/arch | |
parent | 3a3f46b691da1747881032dec6f5b5af2c308cdd (diff) | |
download | px4-nuttx-1994f6983332bf79b4ea8d3f242dc710f99cf2e9.tar.gz px4-nuttx-1994f6983332bf79b4ea8d3f242dc710f99cf2e9.tar.bz2 px4-nuttx-1994f6983332bf79b4ea8d3f242dc710f99cf2e9.zip |
Implement poll/select for sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1277 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sim/src/up_devconsole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sim/src/up_devconsole.c b/nuttx/arch/sim/src/up_devconsole.c index 89eb33c33..7e6cdf20b 100644 --- a/nuttx/arch/sim/src/up_devconsole.c +++ b/nuttx/arch/sim/src/up_devconsole.c @@ -54,7 +54,7 @@ static ssize_t devconsole_read(struct file *, char *, size_t); static ssize_t devconsole_write(struct file *, const char *, size_t); #ifndef CONFIG_DISABLE_POLL -static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds); +static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds, boolean setup); #endif /**************************************************************************** @@ -85,7 +85,7 @@ static ssize_t devconsole_write(struct file *filp, const char *buffer, size_t le } #ifndef CONFIG_DISABLE_POLL -static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds) +static int devconsole_poll(FAR struct file *filep, FAR struct pollfd *fds, boolean setup) { return OK; } |