aboutsummaryrefslogtreecommitdiff
path: root/core/c/libc
Commit message (Collapse)AuthorAgeFilesLines
* `Empty` -> `Unsupported`bill/io-error-changesgingerBill2025-11-141-1/+1
|
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* More package linesJeroen van Rijn2025-10-091-1/+1
|
* Add package line docs to c and libcgingerBill2025-10-091-0/+2
|
* Fix various foreign signaturesHarold Brenes2025-09-291-1/+1
|
* `for in string16`; Support `string16` across coregingerBill2025-08-021-8/+8
|
* Replace system:System.framework imports with system:SystemHarold Brenes2025-07-1314-14/+14
| | | | This makes the linker work for both macOS and iOS targets
* put FILE in core:c and use that in bindings to fix wasmLaytan Laats2025-01-271-1/+2
|
* Haiku: small fixes across coreavanspector2025-01-101-0/+15
|
* Haiku: more posixavanspector2025-01-101-1/+1
|
* fix haikuavanspector2024-12-202-8/+9
|
* sys/posix: impl rest of linux, impl some of WindowsLaytan Laats2024-10-282-2/+135
|
* Merge branch 'odin-lang:master' into masterAntonino Simone Di Stefano2024-09-226-2/+45
|\
| * Fix more JS stuffgingerBill2024-09-223-2/+36
| |
| * Clean-up `libc` usagegingerBill2024-09-224-2/+11
| |
* | Fix type in parameter of atomic_compare_exchange_weak_explicitAntonino Simone Di Stefano2024-09-211-1/+1
|/ | | | desited -> desired
* c/libc: fix time link nameLaytan Laats2024-08-311-1/+1
|
* Add missing `io.Stream_Mode` responsesFeoramund2024-08-281-1/+1
|
* posix: add packageLaytan Laats2024-08-147-26/+97
|
* Merge Darwin signals into other UNIX-likesFeoramund2024-06-281-14/+1
| | | | They're all the same.
* Fix `STDIN`, `STDOUT`, `STDERR` handles for BSDsFeoramund2024-06-021-6/+8
| | | | | | | | | | | Tested on FreeBSD 14.0 and NetBSD 10.0 OpenBSD is untested, but link names were sourced from: https://github.com/openbsd/src/blob/master/include/stdio.h According to this, OpenBSD shares the same layout as NetBSD. FreeBSD has the same as Darwin in this regard.
* Share `libc` signal definitions with more platformsFeoramund2024-06-021-1/+1
| | | | | | | | | I confirmed that these 3 platforms share the same signal definitions from these sources. Haiku: https://github.com/haiku/haiku/blob/master/headers/posix/signal.h OpenBSD: https://github.com/openbsd/src/blob/master/sys/sys/signal.h NetBSD: http://fxr.watson.org/fxr/source/sys/signal.h?v=NETBSD
* More std lib fixesAndreas T Jonsson2024-04-191-1/+1
| | | | Just selecting the same codepath as other BSD's for the most part.
* Added some libc bindings for NetBSDAndreas T Jonsson2024-04-183-3/+3
|
* Merge pull request #3230 from avanspector/haikugingerBill2024-03-084-2/+54
|\ | | | | Add Haiku OS support
| * Revert "fix haiku"avanspector2024-02-261-30/+30
| | | | | | | | This reverts commit 7290c692577a2ce6c4f6046b0792ba8da3e61a93.
| * fix haikuavanspector2024-02-261-30/+30
| |
| * fix runtime and libcavanspector2024-02-251-0/+18
| |
| * fix core and libcavanspector2024-02-251-1/+1
| |
| * add haiku to base:runtime and core:c/libcavanspector2024-02-252-1/+35
| |
* | move `va_list` into `core:c`Laytan Laats2024-03-011-9/+3
|/
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-285-5/+5
|
* c/libc: add `to_stream` procLaytan Laats2024-01-081-0/+101
| | | | | Adds the `to_stream` procedure to `core:c/libc` to improve usability of the core collection when you have to use libc.
* Add assert to disallow `-no-crt` when importing `core:c/libc`gingerBill2023-11-231-0/+2
|
* Update stdio.odinreluctant-git-user2023-10-151-1/+1
| | | snprintf() prototype fix
* Require parentheses for `#align(N)`gingerBill2023-08-154-5/+5
|
* Minor fixesgingerBill2023-03-161-1/+1
|
* Fix `cnd_timedwait`gingerBill2023-01-161-1/+1
|
* fix core:c/libc.errno link_name for Linux and FreeBSDJulian Fondren2022-10-171-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although the FreeBSD link matches Darwin, its EILSEQ still matches Linux. Confirmed with the following program: ```odin package main import "core:c/libc" main :: proc() { libc.printf("%d\n", libc.errno()^) // 0 _ = libc.fopen("nonexistent file", "r") libc.printf("%d\n", libc.errno()^) // 2 } ``` on Linux: Odin: dev-2022-10:075040ae OS: Manjaro Linux, Linux 5.10.147-1-MANJARO CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz RAM: 15953 MiB and FreeBSD: Odin: dev-2022-10:075040ae OS: FreeBSD: Unknown CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz RAM: 990 MiB FreeBSD uname -r: 13.0-RELEASE
* Add `system:legacy_stdio_definitions.lib` to `.odin` for WindowsgingerBill2022-10-021-1/+4
|
* Fix `libc.aligned_alloc` for Windows (thanks Microsoft(!))gingerBill2022-09-221-3/+16
|
* Fix `libc.aligned_alloc` on WindowsgingerBill2022-09-221-0/+13
|
* Correcting libc pow bindings134195962022-09-211-2/+2
| | | | | | Adding tests that libc pow(f) functions - have two arguments - behave as expected for simple inputs.
* fix some typoscui fliter2022-08-051-1/+1
| | | | Signed-off-by: cui fliter <imcusg@gmail.com>
* Fix `libc.putchar`gingerBill2022-07-141-1/+1
|
* Add missing commasgingerBill2022-06-131-2/+2
|
* Fix is* proc in libc.Jeroen van Rijn2022-05-201-10/+10
|
* `intrinsics.atomic_type_is_lock_free`gingerBill2022-04-021-1/+1
|
* Change `intrinsics.Atomic_Memory_Order` fields to use `Ada_Case` rather than ↵gingerBill2022-03-311-75/+75
| | | | `snake_case`
* Add checks for memory ordering on fencesgingerBill2022-03-311-6/+6
|