src/hotspot/os/windows/os_windows.cpp
changeset 53369 55cee96fefec
parent 53266 57d8566a2732
child 53646 043ae846819f
equal deleted inserted replaced
53368:91f56aee3928 53369:55cee96fefec
  4705 }
  4705 }
  4706 
  4706 
  4707 static int nonSeekAvailable(int, long *);
  4707 static int nonSeekAvailable(int, long *);
  4708 static int stdinAvailable(int, long *);
  4708 static int stdinAvailable(int, long *);
  4709 
  4709 
  4710 #define S_ISCHR(mode)   (((mode) & _S_IFCHR) == _S_IFCHR)
       
  4711 #define S_ISFIFO(mode)  (((mode) & _S_IFIFO) == _S_IFIFO)
       
  4712 
       
  4713 // This code is a copy of JDK's sysAvailable
  4710 // This code is a copy of JDK's sysAvailable
  4714 // from src/windows/hpi/src/sys_api_md.c
  4711 // from src/windows/hpi/src/sys_api_md.c
  4715 
  4712 
  4716 int os::available(int fd, jlong *bytes) {
  4713 int os::available(int fd, jlong *bytes) {
  4717   jlong cur, end;
  4714   jlong cur, end;