Harold Brenes
219b0fe535
Replace system:System.framework imports with system:System
...
This makes the linker work for both macOS and iOS targets
2025-07-13 15:45:21 -04:00
Laytan Laats
cacb9f9f54
os2: better copy_directory, and add native copy_file and copy_directory variants on MacOS
2025-05-08 19:32:30 +02:00
Karl Zylinski
19f0127e55
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
2024-09-14 18:27:49 +02:00
Laytan Laats
9c455b2213
darwin: use new wait on address API if possible
2024-03-15 21:43:16 +01:00
Ian Simonson
835effdef1
Use c.long rather than int
2024-03-14 09:36:57 -07:00
Ian Simonson
34c4389d75
No need for timeval definition
...
It already existed so lets just use that rather than
redeclaring it
2024-03-13 14:58:56 -07:00
Ian Simonson
8917a7ef88
Make RUsage more inline with macos man page
...
Swap to tabs to adhere to the Odin Core library standard
and also rename the rusage fields to match the actual
definitions from the macos bsd man pages
2024-03-13 14:51:17 -07:00
Ian Simonson
26d107ce64
Add getrusage syscall for mac/darwin
...
The syscall number existed but the wrapper for calling it
did not. Also adds the RUsage struct to receive the data.
Naming is kept the same as in sys/linux
2024-03-13 08:07:12 -07:00
Laytan Laats
0d413b8136
implement part of core foundation framework bindings for err message
2024-02-13 17:34:40 +01:00