kvisc/ka/crt/crt.k

52 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-05-30 12:44:56 +02:00
; The OS/K Team licenses this file to you under the MIT license.
2019-05-30 12:27:13 +02:00
; See the LICENSE file in the project root for more information.
;
2019-07-24 16:52:26 +02:00
; Limits
2019-05-30 12:27:13 +02:00
;
2019-07-24 16:52:26 +02:00
CHAR_MIN := 0x0000000000000080
SHRT_MIN := 0x0000000000008000
INT_MIN := 0x0000000080000000
LONG_MIN := 0x8000000000000000
XCHAR_MIN := 0xFFFFFFFFFFFFFF80
XSHRT_MIN := 0xFFFFFFFFFFFF8000
XINT_MIN := 0xFFFFFFFF80000000
CHAR_MAX := 0x000000000000007F
SHRT_MAX := 0x0000000000007FFF
INT_MAX := 0x000000007FFFFFFF
LONG_MAX := 0x7FFFFFFFFFFFFFFF
BYTE_MAX := 0x00000000000000FF
WORD_MAX := 0x000000000000FFFF
LWORD_MAX := 0x00000000FFFFFFFF
QWORD_MAX := 0xFFFFFFFFFFFFFFFF
FILE_MAXSZ := 0x0000000000008000
2019-08-03 18:20:36 +02:00
STRLEN_MAX := 0x000000007AFFFFFF
FNAME_MAX := 0x0000000000000080
2019-07-24 16:52:26 +02:00
;
; Magic numbers
;
PRN_CLEAR := 0x000000008BF00001
;
; CRT librairies
;
2019-07-09 19:51:03 +02:00
include "crt/sys.k"
2019-06-21 12:13:09 +02:00
include "crt/err/errno.k"
include "crt/fmt/format.k"
include "crt/str/string.k"
2019-07-22 14:41:50 +02:00
include "crt/mem/memory.k"
2019-07-11 18:34:21 +02:00
include "crt/lib/time.k"
2019-07-18 22:49:31 +02:00
include "crt/lib/arith128.k"
2019-06-18 12:58:26 +02:00
2019-07-22 14:41:50 +02:00
abort:
crash