We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a975d9 + 01f7008 commit 7e7452fCopy full SHA for 7e7452f
src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
@@ -200,6 +200,8 @@ pub const F_SEAL_WRITE: ::c_int = 0x0008;
200
pub const GRND_NONBLOCK: ::c_uint = 0x1;
201
pub const GRND_RANDOM: ::c_uint = 0x2;
202
203
+pub const SO_DOMAIN: ::c_int = 0x1019;
204
+
205
cfg_if! {
206
if #[cfg(not(freebsd13))] {
207
pub const ELAST: ::c_int = 96;
@@ -237,7 +239,7 @@ extern "C" {
237
239
pub fn getrandom(
238
240
buf: *mut ::c_void,
241
buflen: ::size_t,
- flags: ::c_uint
242
+ flags: ::c_uint,
243
) -> ::ssize_t;
244
}
245
0 commit comments