Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,9 @@ pub const ENOTRECOVERABLE: c_int = 104;
pub const EOWNERDEAD: c_int = 105;
pub const EQFULL: c_int = 106;
pub const ENOTCAPABLE: c_int = 107;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 107;

pub const EAI_AGAIN: c_int = 2;
Expand Down
4 changes: 4 additions & 0 deletions src/unix/bsd/freebsdlike/dragonfly/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,11 @@ pub const ENOMEDIUM: c_int = 93;
pub const ENOTRECOVERABLE: c_int = 94;
pub const EOWNERDEAD: c_int = 95;
pub const EASYNC: c_int = 99;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 99;

pub const RLIMIT_POSIXLOCKS: c_int = 11;
#[deprecated(since = "0.2.64", note = "Not stable across OS versions")]
pub const RLIM_NLIMITS: crate::rlim_t = 12;
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,10 @@ s! {
}
}

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 96;

pub const RAND_MAX: c_int = 0x7fff_fffd;
pub const KI_NSPARE_PTR: usize = 6;
pub const MINCORE_SUPER: c_int = 0x20;
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ s! {
}

pub const RAND_MAX: c_int = 0x7fff_fffd;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 97;

/// max length of devicename
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ s! {
}

pub const RAND_MAX: c_int = 0x7fff_ffff;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 97;

pub const KF_TYPE_EVENTFD: c_int = 13;
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ s! {
}

pub const RAND_MAX: c_int = 0x7fff_ffff;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 97;

pub const KF_TYPE_EVENTFD: c_int = 13;
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ s! {
}

pub const RAND_MAX: c_int = 0x7fff_ffff;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 97;

pub const KF_TYPE_EVENTFD: c_int = 13;
Expand Down
3 changes: 3 additions & 0 deletions src/unix/bsd/netbsdlike/openbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,9 @@ pub const EBADMSG: c_int = 92;
pub const ENOTRECOVERABLE: c_int = 93;
pub const EOWNERDEAD: c_int = 94;
pub const EPROTO: c_int = 95;

/// This symbols is prone to change across releases upstream.
/// See the [usage guidelines](crate::#usage-guidelines) for details and use.
pub const ELAST: c_int = 95;

pub const F_DUPFD_CLOEXEC: c_int = 10;
Expand Down