hotspot/src/os/bsd/vm/os_bsd.inline.hpp
changeset 18078 10417cf9967d
parent 18025 b7bcf7497f93
child 22891 1f5d1fff23fa
equal deleted inserted replaced
18069:e6d4971c8650 18078:10417cf9967d
   176   RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
   176   RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
   177   return res;
   177   return res;
   178 }
   178 }
   179 
   179 
   180 inline int os::close(int fd) {
   180 inline int os::close(int fd) {
   181   RESTARTABLE_RETURN_INT(::close(fd));
   181   return ::close(fd);
   182 }
   182 }
   183 
   183 
   184 inline int os::socket_close(int fd) {
   184 inline int os::socket_close(int fd) {
   185   RESTARTABLE_RETURN_INT(::close(fd));
   185   return ::close(fd);
   186 }
   186 }
   187 
   187 
   188 inline int os::socket(int domain, int type, int protocol) {
   188 inline int os::socket(int domain, int type, int protocol) {
   189   return ::socket(domain, type, protocol);
   189   return ::socket(domain, type, protocol);
   190 }
   190 }