Searched refs:devnull (Results 1 – 13 of 13) sorted by relevance
87 with open(os.devnull, 'w') as devnull:90 subprocess.check_call(cmd, stdout=devnull)
326 int devnull = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in debuggerd_dispatch_pseudothread() local327 if (devnull == -1) { in debuggerd_dispatch_pseudothread()329 } else if (devnull != 0) { in debuggerd_dispatch_pseudothread()330 fatal_errno("expected /dev/null fd to be 0, actually %d", devnull); in debuggerd_dispatch_pseudothread()334 TEMP_FAILURE_RETRY(dup2(devnull, 1)); in debuggerd_dispatch_pseudothread()335 TEMP_FAILURE_RETRY(dup2(devnull, 2)); in debuggerd_dispatch_pseudothread()
33 sid devnull
27 sid devnull u:object_r:null_device:s0
549 unique_fd devnull(TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR))); in main() local550 TEMP_FAILURE_RETRY(dup2(devnull.get(), STDOUT_FILENO)); in main()551 g_output_fd = std::move(devnull); in main()