Skip to content

Commit 00d9877

Browse files
committed
Add KERN_PROC_* constants for OpenBSD
1 parent 47f1439 commit 00d9877

File tree

1 file changed

+3
-0
lines changed
  • src/unix/bsd/openbsdlike

1 file changed

+3
-0
lines changed

src/unix/bsd/openbsdlike/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ pub const _SC_TZNAME_MAX : ::c_int = 27;
355355
pub const _SC_PAGESIZE : ::c_int = 28;
356356
pub const _SC_FSYNC : ::c_int = 29;
357357

358+
pub const KERN_PROC_ARGV: ::c_int = 1;
359+
pub const KERN_PROC_ARGS: ::c_int = 55;
360+
358361
extern {
359362
pub fn mincore(addr: *mut ::c_void, len: ::size_t,
360363
vec: *mut ::c_char) -> ::c_int;

0 commit comments

Comments
 (0)