hex/crates/keyboard/ffi/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sebastian Herrlinger fcff1ddb63 Keyboard core FFI: open a model from a duplicate of the caller's descriptor
hk_model_open_fd no longer builds a File from a raw descriptor that may
not be open: it borrows it only to dup it (a closed one fails with
EBADF), maps from the dup and closes it once mapped. The SAFETY
comments say what the maps are: read-only and MAP_SHARED (memmap2's),
clean and file-backed. The C test adds a descriptor that isn't open.
2026-11-22 13:34:49 +01:00
..
c_api.rs Keyboard core FFI: open a model from a duplicate of the caller's descriptor 2026-11-22 13:34:49 +01:00