Merge branch 'timeval-move-doc' into 'master'

Document moved spec of timeval struct

See merge request redox-os/relibc!1149
This commit is contained in:
Jeremy Soller
2026-04-01 15:35:42 -06:00
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -23,6 +23,10 @@ use crate::{
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_select.h.html>.
///
/// Note that the `timeval` struct was specified for
/// [`sys/time.h`](crate::header::sys_time) in the Open Group Base
/// Specifications Issue 7 and prior, see
/// <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html>.
#[repr(C)]
#[derive(Default)]
pub struct timeval {
+4
View File
@@ -1,6 +1,10 @@
//! `sys/time.h` implementation.
//!
//! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_time.h.html>.
//!
//! Note that since the Open Group Base Specifications Issue 8, the
//! [`timeval`](crate::header::sys_select::timeval) struct has been moved to
//! the [`sys/select.h`](crate::header::sys_select) header.
use crate::{
c_str::CStr,