hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit ff699f57acb1d40e757243c12b103a62d8f3a21d
parent 0ce7559b177ed06637eda6c7f9753e1c2be61c7b
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  4 Feb 2021 18:07:05 -0500

os::fdstream: 80 column limit

Diffstat:
Mos/+linux/fdstream.ha | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/os/+linux/fdstream.ha b/os/+linux/fdstream.ha @@ -120,7 +120,11 @@ fn fd_copy(_to: *io::stream, _from: *io::stream) (size | io::error) = { return sum; }; -fn fd_seek(s: *io::stream, off: io::off, whence: io::whence) (io::off | io::error) = { +fn fd_seek( + s: *io::stream, + off: io::off, + whence: io::whence, +) (io::off | io::error) = { let stream = s: *fd_stream; let r = rt::lseek(stream.fd, off: i64, whence: uint); return match (rt::wrap_return(r: size)) {