Searched defs:devnull (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/solaris/native/java/io/
H A Dio_util_md.c109 int devnull = open("/dev/null", O_WRONLY); local
110 if (devnull < 0) {
114 dup2(devnull, fd);
115 close(devnull);
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DInheritedChannel.java58 private static int devnull = -1; field in class:InheritedChannel
62 dup2(devnull, 0);
63 dup2(devnull, 1);
64 dup2(devnull, 2);
208 if (devnull < 0) {
209 devnull = open0("/dev/null", O_RDWR);

Completed in 2201 milliseconds