zig/std/os
Marcio Giaxa 9900f94afe freebsd: use sysctl to get the current executable path
FreeBSD doesn't mount procfs as default on the base system, so we can't
depend on it to get the current path, In this case, we use sysctl(3) to
retrieves the system information and get the same information.

 - CTL_KERN: High kernel limits

 - KERN_PROC: Return selected information about specific running
   processes.

 - KERN_PROC_PATHNAME: The path of the process

 - Process ID: a process ID of -1 implies the current process.
2018-12-19 18:42:00 -02:00
..
darwin
freebsd freebsd: use sysctl to get the current executable path 2018-12-19 18:42:00 -02:00
linux
windows
child_process.zig breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
darwin.zig
epoch.zig
file.zig introduce std.io.SeekableStream 2018-12-02 18:36:18 -05:00
get_app_data_dir.zig
get_user_id.zig
index.zig freebsd: use sysctl to get the current executable path 2018-12-19 18:42:00 -02:00
path.zig
test.zig
time.zig
zen.zig