Julian Fondren
9f55404845
fix core:c/libc.errno link_name for Linux and FreeBSD
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
2022-10-17 22:32:10 -05:00
..
2022-09-15 10:00:50 +01:00
2022-05-14 12:27:21 +01:00
2022-09-27 22:31:46 +01:00
2022-10-17 22:32:10 -05:00
2022-08-28 18:25:07 +02:00
2022-08-29 02:03:12 -07:00
2022-08-05 20:10:20 +08:00
2022-09-17 18:45:33 +01:00
2022-05-25 11:53:32 +01:00
2022-09-30 19:40:41 +02:00
2022-09-15 10:00:50 +01:00
2022-07-15 13:02:07 +02:00
2022-08-29 00:29:50 +02:00
2022-09-08 16:52:51 +01:00
2022-09-11 15:42:08 +01:00
2022-08-11 16:18:46 +01:00
2022-09-17 10:20:52 +01:00
2022-10-15 12:52:07 +01:00
2022-09-12 13:08:32 +01:00
2022-10-07 00:06:46 -07:00
2022-07-25 11:34:03 +02:00
2022-09-08 16:55:40 +01:00
2022-09-27 22:31:46 +01:00
2022-09-01 00:43:47 +02:00
2022-10-18 00:06:21 +01:00
2022-08-03 16:22:54 +03:00
2022-10-09 21:34:43 +02:00
2022-09-27 22:31:46 +01:00
2022-09-04 13:11:06 +02:00
2022-10-13 11:19:05 +03:00
2022-06-04 12:21:20 +09:00
2022-08-08 12:27:23 +01:00
2022-05-14 13:34:52 +02:00
2022-06-02 13:02:16 +01:00
2022-07-11 11:55:49 +01:00