Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc223 auto dev_null = cuttlefish::SharedFD::Open("/dev/null", O_RDONLY); in DaemonizeLauncher() local
224 if (!dev_null->IsOpen()) { in DaemonizeLauncher()
225 LOG(ERROR) << "Failed to open /dev/null: " << dev_null->StrError(); in DaemonizeLauncher()
228 if (dev_null->UNMANAGED_Dup2(0) < 0) { in DaemonizeLauncher()
229 LOG(ERROR) << "Failed dup2 stdin: " << dev_null->StrError(); in DaemonizeLauncher()