Diff for /libaitio/src/Attic/tools.c between versions 1.17 and 1.18

version 1.17, 2012/08/01 00:37:08 version 1.18, 2012/09/19 15:19:53
Line 639  io_gethostbyname(const char *psHost, u_short port, io_ Line 639  io_gethostbyname(const char *psHost, u_short port, io_
   
         return NULL;          return NULL;
 }  }
   
   /*
    * io_usleep() - usleep() replacement for ELWIX
    *
    * @usec = microseconds for sleep
    * return: -1 interrupted by signal or 0 ok
    */
   inline int
   io_usleep(u_int usec)
   {
           struct timeval tv = { (time_t) (usec / 1000000), (long) (usec % 1000000) };
   
           return select(0, NULL, NULL, NULL, &tv);
   }

Removed from v.1.17  
changed lines
  Added in v.1.18


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>