Skip to main content

create_background_stdin

Function create_background_stdin 

Source
pub fn create_background_stdin() -> Arc<OpenFile>
Expand description

Create a background stdin: a pipe read-end whose write end is immediately closed. Any read() on the returned file will return 0 (EOF) at once, preventing processes launched in the background from blocking on stdin or spinning on EBADF.