summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-10 17:36:41 +0000
committerbors <bors@rust-lang.org>2023-04-10 17:36:41 +0000
commit7e3c99cd162fae59d1919ab2fddb66bfea634216 (patch)
tree47b137d2f09d02d6f29b50dedaf2f8fd7edd0123
parentc1a63d502f166e44cdd30ab95f9ac86954bf8bea (diff)
parent4b72138df99592d9e7acd60de02e30e8af7648db (diff)
downloadrust-libc-7e3c99cd162fae59d1919ab2fddb66bfea634216.tar.gz
Auto merge of #3193 - devnexen:bsd_unitstd_lconst_haiku, r=JohnTitor
haiku adding bsd missing constants
-rw-r--r--src/unix/haiku/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs
index 8af90b0de3..2fa3327834 100644
--- a/src/unix/haiku/mod.rs
+++ b/src/unix/haiku/mod.rs
@@ -685,6 +685,9 @@ pub const EOF: ::c_int = -1;
pub const SEEK_SET: ::c_int = 0;
pub const SEEK_CUR: ::c_int = 1;
pub const SEEK_END: ::c_int = 2;
+pub const L_SET: ::c_int = SEEK_SET;
+pub const L_INCR: ::c_int = SEEK_CUR;
+pub const L_XTND: ::c_int = SEEK_END;
pub const _IOFBF: ::c_int = 0;
pub const _IONBF: ::c_int = 2;
pub const _IOLBF: ::c_int = 1;