aboutsummaryrefslogtreecommitdiff
path: root/core/c/libc/errno.odin
Commit message (Collapse)AuthorAgeFilesLines
* Replace system:System.framework imports with system:SystemHarold Brenes2025-07-131-1/+1
| | | | This makes the linker work for both macOS and iOS targets
* fix haikuavanspector2024-12-201-7/+8
|
* Clean-up `libc` usagegingerBill2024-09-221-0/+8
|
* posix: add packageLaytan Laats2024-08-141-1/+1
|
* Added some libc bindings for NetBSDAndreas T Jonsson2024-04-181-1/+1
|
* fix runtime and libcavanspector2024-02-251-0/+18
|
* 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
* initial OpenBSD supportSébastien Marie2022-02-251-0/+13
|
* Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use stringsgingerBill2022-01-201-5/+5
|
* Add support for darwin to `core:c/libc`gingerBill2021-11-161-0/+16
|
* Strip semicolons; Make `odin strip-semicolon` replace `..` with `..=` if ↵gingerBill2021-09-061-9/+9
| | | | used as a binary operator
* Fix core:c/libc Windows compilation errors by linking to the right libraries.vassvik2021-08-281-1/+5
| | | | | Fix some name typos and missing types in Windows. Add explicit cast on MB_CUR_MAX
* cleanupDale Weiler2021-08-221-1/+1
|
* libc projectionDale Weiler2021-08-221-0/+43