Home
last modified time | relevance | path

Searched refs:tty_inode (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/process/
H A Dstdio.rs23 let tty_inode = ROOT_INODE() in stdio_init() localVariable
28 File::new(tty_inode.clone(), FileMode::O_RDONLY).expect("Init stdio: can't create stdin"); in stdio_init()
30 File::new(tty_inode.clone(), FileMode::O_WRONLY).expect("Init stdio: can't create stdout"); in stdio_init()
31 let stderr = File::new(tty_inode.clone(), FileMode::O_WRONLY | FileMode::O_SYNC) in stdio_init()