Searched refs:dev_null (Results 1 – 1 of 1) sorted by relevance
223 auto dev_null = cuttlefish::SharedFD::Open("/dev/null", O_RDONLY); in DaemonizeLauncher() local224 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()