hare

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

commit 11d71795e6127482da33ac0a26d2badf92157959
parent 175b777bf604c1695438f31ee3b5d910ab65b96a
Author: Sebastian <sebastian@sebsite.pw>
Date:   Mon, 10 Oct 2022 17:26:44 -0400

rt: add SEEK_* constants

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mrt/+freebsd/types.ha | 4++++
Mrt/+linux/types.ha | 4++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/rt/+freebsd/types.ha b/rt/+freebsd/types.ha @@ -424,3 +424,7 @@ export def WTRAPPED: int = 32; export def STDIN_FILENO: int = 0; export def STDOUT_FILENO: int = 1; export def STDERR_FILENO: int = 2; + +export def SEEK_SET: int = 0; +export def SEEK_CUR: int = 1; +export def SEEK_END: int = 2; diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha @@ -836,3 +836,7 @@ export def SPLICE_F_MOVE: uint = 1; export def SPLICE_F_NONBLOCK: uint = 2; export def SPLICE_F_MORE: uint = 4; export def SPLICE_F_GIFT: uint = 8; + +export def SEEK_SET: int = 0; +export def SEEK_CUR: int = 1; +export def SEEK_END: int = 2;