summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2015-07-28 20:48:49 +0000
committerratchov <ratchov@openbsd.org>2015-07-28 20:48:49 +0000
commit9d7d964fbfd7c6870149c32eb6bcc810e77b6fdf (patch)
treee5b45f49000bf8ffb327f9cda16e261a1f347e53 /lib/libc
parentAdd the AUDIO_GETPOS ioctl() to fetch a snapshot of the 4 counters (diff)
downloadwireguard-openbsd-9d7d964fbfd7c6870149c32eb6bcc810e77b6fdf.tar.xz
wireguard-openbsd-9d7d964fbfd7c6870149c32eb6bcc810e77b6fdf.zip
Use new AUDIO_GETPOS ioctl instead of AUDIO_GETxOFFS and
AUDIO_xERROR. It returns a snapshot of the counters we need and avoids inconsistencies.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions