Jon Lipstate
|
bbafc3fbd6
harmonize to use null for c-string endings
|
2 years ago |
Jon Lipstate
|
194fa7cd98
rename nul to null, allocation clarifications
|
2 years ago |
Sokus
|
1ecab2fcbc
Add `set_blocking` for network sockets
|
2 years ago |
Colin Davidson
|
d569daae33
more manual type carryover
|
2 years ago |
Colin Davidson
|
28f7f57247
manually start merging core_net
|
2 years ago |
gingerBill
|
5b5154eda0
Add temp allocator guard; clean up indentation
|
2 years ago |
gingerBill
|
9afd9f9bea
Merge branch 'master' into new-temp-allocator
|
2 years ago |
Colin Davidson
|
edd78ae129
cleanup of os/linux
|
2 years ago |
Colin Davidson
|
04b1023988
make file access a little more normal across platforms
|
2 years ago |
gingerBill
|
986cba584e
Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriate
|
2 years ago |
gingerBill
|
b6ca10cd5e
Fix memory leak in `os.get_current_directory` on failure on *nix systems
|
2 years ago |
Colin Davidson
|
6ff2db47b4
shuffle to private/public wrapper
|
2 years ago |
Colin Davidson
|
944396128b
add get core count
|
2 years ago |
gingerBill
|
ffe953b43d
Make `os.get_last_error` contextless
|
2 years ago |
gingerBill
|
7f601c9535
Add `Allocator_Mode.Alloc_Non_Zerored`
|
2 years ago |
gingerBill
|
cb9e16f4df
Correct syscalls for `linux_i386`
|
3 years ago |
Tetralux
|
57167be2a6
[os] Linux: os.unset_env()
|
3 years ago |
Tetralux
|
b5b329378f
[os] Linux: Add os.exists(), os.get_env(), os.lookup_env(), os.set_env()
|
3 years ago |
gingerBill
|
5d190b15d7
Minor improvements to io and os
|
3 years ago |
Sébastien Marie
|
8982ae34e3
fix linux_arm64
|
3 years ago |
gingerBill
|
17eebf338c
Fix #1606 (Call `runtime._cleanup_runtime_contextless()` for `os.exit`)
|
3 years ago |
Sébastien Marie
|
14f1793b3e
use `context.temp_allocator` instead of general allocation + delete()
|
3 years ago |
Colin Davidson
|
54a6637d38
Use the _unix_fstat pointer to avoid 144B copies on fileIO
|
3 years ago |
Colin Davidson
|
536bf61323
avoid memset on stats
|
3 years ago |
Jeroen van Rijn
|
855e7beab1
Merge pull request #1488 from colrdavidson/master
|
3 years ago |
gingerBill
|
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
|
3 years ago |
Colin Davidson
|
f77cd5533d
Add fork and personality
|
3 years ago |
gingerBill
|
fb710f8cbf
Merge pull request #1376 from jasonKercher/master
|
3 years ago |
gingerBill
|
3d7d347192
Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use strings
|
3 years ago |
CiD-
|
8eaafd5242
check correct errno in _readlink
|
3 years ago |