-
Couldn't load subscription status.
- Fork 222
Open
Description
wasi-libc/libc-bottom-half/cloudlibc/src/libc/sys/ioctl/ioctl.c
Lines 22 to 37 in 7d4d3b8
| switch (request) { | |
| case FIONBIO: { | |
| va_list ap; | |
| va_start(ap, request); | |
| socket->blocking = *va_arg(ap, const int *) == | |
| 0; | |
| va_end(ap); | |
| return 0; | |
| } | |
| default: | |
| // TODO wasi-sockets: anything else we should support? | |
| errno = EINVAL; | |
| return -1; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels