summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/io/errno.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/io/errno.rs')
-rw-r--r--vendor/rustix/src/io/errno.rs16
1 files changed, 14 insertions, 2 deletions
diff --git a/vendor/rustix/src/io/errno.rs b/vendor/rustix/src/io/errno.rs
index f39573797..7cb50f229 100644
--- a/vendor/rustix/src/io/errno.rs
+++ b/vendor/rustix/src/io/errno.rs
@@ -10,8 +10,6 @@ use core::{fmt, result};
use std::error;
/// A specialized [`Result`] type for `rustix` APIs.
-///
-/// [`Result`]: core::result::Result
pub type Result<T> = result::Result<T, Errno>;
/// `errno`—An error code.
@@ -22,9 +20,23 @@ pub type Result<T> = result::Result<T, Errno>;
/// # References
/// - [POSIX]
/// - [Linux]
+/// - [Winsock2]
+/// - [FreeBSD]
+/// - [NetBSD]
+/// - [OpenBSD]
+/// - [DragonFly BSD]
+/// - [illumos]
+/// - [glibc]
///
/// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/errno.html
/// [Linux]: https://man7.org/linux/man-pages/man3/errno.3.html
+/// [Winsock2]: https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
+/// [FreeBSD]: https://man.freebsd.org/cgi/man.cgi?errno
+/// [NetBSD]: https://man.netbsd.org/errno.2
+/// [OpenBSD]: https://man.openbsd.org/errno.2
+/// [DragonFly BSD]: https://man.dragonflybsd.org/?command=errno&section=2
+/// [illumos]: https://illumos.org/man/3C/errno
+/// [glibc]: https://www.gnu.org/software/libc/manual/html_node/Error-Codes.html
pub use backend::io::errno::Errno;
impl Errno {