From 99e0948e0cd99d10c4042eff40c1dc7d07582b17 Mon Sep 17 00:00:00 2001 From: Peter Limkilde Svendsen Date: Sat, 1 Feb 2025 18:07:23 +0100 Subject: [PATCH] Reexport ctermid, cuserid --- src/header/unistd/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/header/unistd/mod.rs b/src/header/unistd/mod.rs index 259255e1a8..f2bce45388 100644 --- a/src/header/unistd/mod.rs +++ b/src/header/unistd/mod.rs @@ -26,6 +26,11 @@ use alloc::collections::LinkedList; pub use self::{brk::*, getopt::*, getpass::getpass, pathconf::*, sysconf::*}; +// Inclusion of ctermid() prototype marked as obsolescent since Issue 7, cf. +// . +// cuserid() marked legacy in Issue 5. +pub use crate::header::stdio::{ctermid, cuserid}; + use super::errno::{E2BIG, ENOMEM}; mod brk;