summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/cortex/files.cortex
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2018-07-09 09:21:26 +0000
committerjca <jca@openbsd.org>2018-07-09 09:21:26 +0000
commitd57415ad7f1a15b840c8fc9798eda7c0528b92d6 (patch)
tree46a6ca68113925ec0eeb7a32096ac7edc2e8ed14 /sys/arch/arm/cortex/files.cortex
parentremove bogus .Sx macros; noticed by Mikhail <mp39590 at gmail dot com> (diff)
downloadwireguard-openbsd-d57415ad7f1a15b840c8fc9798eda7c0528b92d6.tar.xz
wireguard-openbsd-d57415ad7f1a15b840c8fc9798eda7c0528b92d6.zip
Simplify ber_read()
After the removal of fd-based read/writes I could have trimmed the code further. - no socket-based reads so ber_read() doesn't need to loop until it gets the desired amount of data - return either the requested amount of data or -1/ECANCELED, the caller shouldn't have to handle partial reads itself - inline ber_readbuf() into ber_read() ok rob@ claudio@ tb@
Diffstat (limited to 'sys/arch/arm/cortex/files.cortex')
0 files changed, 0 insertions, 0 deletions