Feoramund
|
f453054aff
|
Return 0, nil in all io cases where an empty slice is provided
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
6aedb2695a
|
Report Invalid_Whence on some os platforms
- Move `Seek`-related checks into OS-specific files for granularity.
Platforms:
- Darwin
- FreeBSD
- Haiku
- Linux
- NetBSD
- OpenBSD
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
741ccd7ff5
|
Zero n on error in _file_stream_proc
|
2024-08-28 19:53:20 +02:00 |
|
Feoramund
|
1ced76cdd1
|
Fix broken cases of Seek usage in _file_stream_proc
Handles `EINVAL`, among other fixes.
|
2024-08-28 19:53:20 +02:00 |
|
gingerBill
|
bf948ab8ae
|
Add stubs for flush on platforms that didn't have it
|
2024-08-04 15:07:24 +01:00 |
|
gingerBill
|
0c5b645dde
|
Correct EOF value
|
2024-08-04 13:20:33 +01:00 |
|
gingerBill
|
cf5ec25873
|
Add extra cases for flush
|
2024-08-04 13:18:51 +01:00 |
|
gingerBill
|
7663a2036a
|
Add read_at/write_at to missing platforms
|
2024-08-04 13:16:37 +01:00 |
|
gingerBill
|
160048eaee
|
Errno -> Error
|
2024-08-04 11:46:42 +01:00 |
|
gingerBill
|
29b6eebcd5
|
Clean up error handling
|
2024-08-04 11:21:09 +01:00 |
|
Andreas T Jonsson
|
07fc07822d
|
Added some libc bindings for NetBSD
|
2024-04-18 16:22:07 +02:00 |
|
Andreas T Jonsson
|
4558f3992a
|
Initial commit of NetBSD port
|
2024-04-16 14:27:29 +02:00 |
|
avanspector
|
05cfc89283
|
fix core:os
|
2024-02-25 18:20:03 +01:00 |
|
Laytan Laats
|
0b2f357bbe
|
fix eof logic
|
2023-12-14 18:05:06 +01:00 |
|
Laytan Laats
|
7eabeda870
|
make sure an eof is also returned from the file streams on non-windows
|
2023-12-14 18:05:06 +01:00 |
|
Jeroen van Rijn
|
db89c2ccd0
|
Remap EOF for Windows in stream proc
|
2023-11-18 18:13:56 +01:00 |
|
Jeroen van Rijn
|
0c97f6aa4e
|
Fix unhandled EOF in streaming io on Windows
|
2023-11-18 18:01:14 +01:00 |
|
gingerBill
|
420f93ce78
|
Ignore BSD's for stream.odin
|
2023-06-08 22:38:15 +01:00 |
|
gingerBill
|
3f6775e29b
|
Update to new io interface
|
2023-06-08 16:35:24 +01:00 |
|
gingerBill
|
f50fc33749
|
Clean up of the core library to make the stream vtables not be pointers directly.
|
2022-09-15 10:00:50 +01:00 |
|
gingerBill
|
3d7d347192
|
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
|
2022-01-20 19:56:05 +00:00 |
|
gingerBill
|
22982586f1
|
Add basic support for wasi in package os
|
2021-10-31 13:45:00 +00:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
gingerBill
|
e0fb081cbd
|
Keep -vet happy
|
2020-12-02 23:46:41 +00:00 |
|
gingerBill
|
bca28e94ec
|
Keep fmt happy
|
2020-12-02 23:43:28 +00:00 |
|
gingerBill
|
875415daa9
|
Make os._file_stream_vtable private
|
2020-12-02 23:40:23 +00:00 |
|
gingerBill
|
0cf3ae93c0
|
Add os.stream_from_handle; fix io.close
|
2020-12-02 23:39:33 +00:00 |
|