diff --git a/src/header/getopt/mod.rs b/src/header/getopt/mod.rs index d60e079e57..13c079703b 100644 --- a/src/header/getopt/mod.rs +++ b/src/header/getopt/mod.rs @@ -1,6 +1,6 @@ -//! `getopt` implementation. +//! `getopt.h` implementation. //! -//! See . +//! Non-POSIX, see . use crate::{ header::{ @@ -13,10 +13,14 @@ use core::ptr; static mut CURRENT_OPT: *mut c_char = ptr::null_mut(); +/// Non-POSIX, see . pub const no_argument: c_int = 0; +/// Non-POSIX, see . pub const required_argument: c_int = 1; +/// Non-POSIX, see . pub const optional_argument: c_int = 2; +/// Non-POSIX, see . #[repr(C)] pub struct option { name: *const c_char, @@ -25,9 +29,7 @@ pub struct option { val: c_int, } -/// See . -/// -/// Non-POSIX. +/// Non-POSIX, see . /// /// Functions the same as `getopt` but also accepts long options. #[unsafe(no_mangle)]