| 226 | } |
| 227 | |
| 228 | int inet_ioctlsocket(int socket, long cmd, void *arg) |
| 229 | { |
| 230 | int flags; |
| 231 | |
| 232 | switch (cmd) |
| 233 | { |
| 234 | case F_GETFL: |
| 235 | case F_SETFL: |
| 236 | flags = (int)(size_t)arg; |
| 237 | #ifdef O_LARGEFILE |
| 238 | flags &= ~O_LARGEFILE; |
| 239 | #endif |
| 240 | return lwip_fcntl(socket, cmd, flags); |
| 241 | |
| 242 | default: |
| 243 | return lwip_ioctl(socket, cmd, arg); |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | #ifdef SAL_USING_POSIX |
| 248 | static int inet_poll(struct dfs_file *file, struct rt_pollreq *req) |
nothing calls this directly
no test coverage detected