Skip to content

Commit 86aae3c

Browse files
author
Vasily Kolobkov
committed
Add a pinch of KERN_PROC_* consts to OpenBSD family
1 parent e9db959 commit 86aae3c

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
@@ -366,6 +366,9 @@ pub const _SC_PAGE_SIZE: ::c_int = _SC_PAGESIZE;
366366
pub const _SC_FSYNC : ::c_int = 29;
367367

368368
pub const KERN_PROC_ARGV: ::c_int = 1;
369+
pub const KERN_PROC_NARGV: ::c_int = 2;
370+
pub const KERN_PROC_ENV: ::c_int = 3;
371+
pub const KERN_PROC_NENV: ::c_int = 4;
369372

370373
pub const Q_GETQUOTA: ::c_int = 0x300;
371374
pub const Q_SETQUOTA: ::c_int = 0x400;

0 commit comments

Comments
 (0)