Skip to content

Commit 9122ebf

Browse files
committed
Merge branch 'sysctl_consts_in_openbsd' of https://github.com/polezaivsani/libc
2 parents a64ee24 + 86aae3c commit 9122ebf

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)