| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
This makes the linker work for both macOS and iOS targets
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| |/
|
|
| |
desited -> desired
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
They're all the same.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
made into the documentation.
`c/frontend/tokenizer`:
add proper "Example:" header to demo example code,
removed empty lines.
`container/bit_array`:
moved comment before package;
aligned narrative lines to left margin;
converted case lines into bulleted lines ("- ");
converted individual examples to single-tab-indented preformatted text.
`dynlib`:
removed "//+build ignore" line;
added newline at EOF.
`image/netpmb`:
converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists;
"Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments;
doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists);
removed empy lines.
`os/os2`: WIP, not modified
`sys/info`:
removed "//+build ignore" line;
converted tab-indented initial description into regular left-margin comment;
moved uncommented sample code within the doc comment as an "Example:";
moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings;
removed now empty comments and blank lines after the package line.
`text/i18n`:
removed "//+build ignore" line;
moved the pacakge line at the end;
de-indented the tab-indented introductory narrative;
moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading;
removed "```" MD attempts at code formatting.
`text/table`:
unindented the comment lines of a descriptive kind;
headlines of major subdivisions are marked as bold;
kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting;
removed in-between blank lines.
|
| | |
| |
| |
| | |
Just selecting the same codepath as other BSD's for the most part.
|
| |/ |
|
| |\
| |
| | |
Add Haiku OS support
|
| | |
| |
| |
| | |
This reverts commit 7290c692577a2ce6c4f6046b0792ba8da3e61a93.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
| |
Adds the `to_stream` procedure to `core:c/libc` to improve usability of
the core collection when you have to use libc.
|
| | |
|
| |
|
| |
snprintf() prototype fix
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Adding tests that libc pow(f) functions
- have two arguments
- behave as expected for simple inputs.
|
| |
|
|
| |
Signed-off-by: cui fliter <imcusg@gmail.com>
|
| |\ |
|
| | |
| |
| |
| | |
library
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This makes passing an allocator easier, as you no longer have to resort to
named arguments:
Before:
`join(a, b, c)` became `join(elems={a, b, c}, allocator=ally)`
After:
`join({a, b, c})` becomes `join({a, b, c}, ally)`
|