We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb079df + 2e3748a commit 75ab4a0Copy full SHA for 75ab4a0
src/unix/bsd/freebsdlike/dragonfly/errno.rs
@@ -1,6 +1,7 @@
1
// DragonFlyBSD's __error function is declared with "static inline", so it must
2
// be implemented in the libc crate, as a pointer to a static thread_local.
3
f! {
4
+ #[deprecated(since = "0.2.77", "Use `__errno_location()` instead")]
5
pub fn __error() -> *mut ::c_int {
6
&mut errno
7
}
src/unix/bsd/freebsdlike/dragonfly/mod.rs
@@ -1044,6 +1044,7 @@ f! {
1044
1045
1046
extern "C" {
1047
+ pub fn __errno_location() -> *mut ::c_int;
1048
pub fn setgrent();
1049
pub fn mprotect(
1050
addr: *mut ::c_void,
0 commit comments