The *linuxapi* package provides Python bindings (using ctypes) for Linux-specific APIs, including inotify, getifaddrs, and unshare.
 
 
Go to file
Dustin eefcc554c0 inotify: Correctly handle multi-struct reads
When reading from the *inotify* file descriptor, multiple structs can be
returned. Because the read loop was incorrectly calculating offsets,
messages would frequently get lost in this way. This commit simplifies
the logic of the read loop, using only a single position indicator and
correctly calculating all offsets from that on each iteration. The
result is that no more messages are incorrectly skipped.
2018-09-03 14:29:28 -05:00
doc Initial commit 2016-09-17 09:41:43 -05:00
src/linuxapi inotify: Correctly handle multi-struct reads 2018-09-03 14:29:28 -05:00
.gitignore Add RPM spec and fmpkg specification 2016-09-23 10:24:18 -05:00
Makefile Add RPM spec and fmpkg specification 2016-09-23 10:24:18 -05:00
fmpkg.ini Add RPM spec and fmpkg specification 2016-09-23 10:24:18 -05:00
python-linuxapi.spec Begin version 1.1.1 development 2018-09-03 14:26:39 -05:00
setup.py Begin version 1.1.1 development 2018-09-03 14:26:39 -05:00