Searched refs:null_fd (Results 1 – 1 of 1) sorted by relevance
/device/generic/goldfish-opengl/android-emu/android/utils/ |
D | debug.c | 112 int null_fd, out_fd, err_fd; in stdio_disable() local 118 null_fd = _open( "NUL", _O_WRONLY ); in stdio_disable() 119 _dup2(null_fd, out_fd); in stdio_disable() 120 _dup2(null_fd, err_fd); in stdio_disable() 121 close(null_fd); in stdio_disable() 144 int null_fd, out_fd, err_fd; in stdio_disable() local 150 null_fd = open( "/dev/null", O_WRONLY ); in stdio_disable() 151 dup2(null_fd, out_fd); in stdio_disable() 152 dup2(null_fd, err_fd); in stdio_disable() 153 close(null_fd); in stdio_disable()
|