mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 11:26:13 +00:00
Currently zsock_timeval implementation uses long type for both tv_sec and tv_usec fields. In the select method timeval type is directly casted on zsock_timeval, but in some cases (e.g. when using CONFIG_POSIX_API and some specific libc version) both types have fields of different sizes, what may lead to assigning them incorrect values. Using types declared by the used libc in the CONFIG_POSIX_API=y case will let to keep timeval and zsock_timeval types compatible. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no> |
||
---|---|---|
.. | ||
app_memory | ||
arch | ||
audio | ||
bluetooth | ||
canbus | ||
cmsis_rtos_v1 | ||
cmsis_rtos_v2 | ||
console | ||
crypto | ||
data | ||
debug | ||
devicetree | ||
dfu | ||
disk | ||
display | ||
drivers | ||
dt-bindings | ||
fs | ||
linker | ||
logging | ||
lorawan | ||
mgmt | ||
net | ||
posix | ||
power | ||
random | ||
settings | ||
shell | ||
stats | ||
storage | ||
sys | ||
timing | ||
toolchain | ||
tracing | ||
usb | ||
zephyr | ||
cache.h | ||
device.h | ||
devicetree.h | ||
ec_host_cmd.h | ||
emul.h | ||
exc_handle.h | ||
fatal.h | ||
generated_dts_board.h | ||
init.h | ||
irq_nextlevel.h | ||
irq_offload.h | ||
irq.h | ||
kernel_includes.h | ||
kernel_structs.h | ||
kernel_version.h | ||
kernel.h | ||
mempool_heap.h | ||
mempool_sys.h | ||
ptp_clock.h | ||
sched_priq.h | ||
shared_irq.h | ||
spinlock.h | ||
sw_isr_table.h | ||
sys_clock.h | ||
syscall_handler.h | ||
syscall.h | ||
timeout_q.h | ||
toolchain.h | ||
wait_q.h | ||
zephyr.h |