summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/file.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-10-27Fix many typos in comments, from Michael W. Bombardieri <mb at ii.net>Alexandre Ratchov
2016-06-30Use CLOCK_UPTIME instead of CLOCK_MONOTONIC, as the later makes jumpsAlexandre Ratchov
2016-05-25Log files skipped during poll() as well, and flush the log bufferAlexandre Ratchov
2016-01-18Allow time differences between two clock_gettime() calls toAlexandre Ratchov
2016-01-08Make code fit in 80 columns, remove trailing spaces & tabs.Alexandre Ratchov
2016-01-08On programming error, flush log buffer and abort() rather thanAlexandre Ratchov
2016-01-08remove redundant debug messageAlexandre Ratchov
2016-01-08Don't calculate clock deltas is there are no time-outs. Removes (harmless)Alexandre Ratchov
2015-08-27backout previous for now, as it causes me portability problemsAlexandre Ratchov
2015-08-11Use INTIM instead of -1 as poll(2) time-out argument.Alexandre Ratchov
2015-08-11Don't call poll(2) with few millisecond time-out argument when -1Alexandre Ratchov
2015-08-01Move processing of polled files in its own function, and call itAlexandre Ratchov
2015-07-17Use an offsets in the array of pollfd structures instead of pointers. NoAlexandre Ratchov
2015-07-17rename nfds to max_nfds, no object changeAlexandre Ratchov
2015-07-17Move non-debug varibles outside #ifdef DEBUG blockAlexandre Ratchov
2015-07-17Simplify debug info: log poll descriptors on a single line, recordAlexandre Ratchov
2015-07-17Stop using interval timers (not inherited by fork(2), obsolete inAlexandre Ratchov
2015-02-16Allow files to be skipped in the poll(2) event loop, in caseAlexandre Ratchov
2014-03-17fix wrong file status stringsAlexandre Ratchov
2013-11-18add missing prototypesAlexandre Ratchov
2013-02-01if a device doesn't respond within two seconds, then just close itAlexandre Ratchov
2012-12-07move log_level in utils.h with other logging bitsAlexandre Ratchov
2012-11-23Remplace aucat server by a new sndiod daemon aimed to be simplerAlexandre Ratchov