os2: initial implementation for Darwin&BSDs, process API is only thing incomplete
This commit is contained in:
1 parent
ff0ca0bd53
commit
a4d459f651
23 files changed
+1535
-17
No files matched your search
@@ -0,0 +1,15 @@
|
||||
//+private
|
||||
//+build netbsd, openbsd, freebsd
|
||||
package os2
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
_process_info_by_pid :: proc(pid: int, selection: Process_Info_Fields, allocator: runtime.Allocator) -> (info: Process_Info, err: Error) {
|
||||
err = .Unsupported
|
||||
return
|
||||
}
|
||||
|
||||
_process_list :: proc(allocator: runtime.Allocator) -> (list: []int, err: Error) {
|
||||
err = .Unsupported
|
||||
return
|
||||
}
|
||||
Reference in new issue
Block a user