home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue6 / SDL.ZIP / !gcc / include / unixlib / sys / h / netdb < prev    next >
Encoding:
Text File  |  2006-09-17  |  905 b   |  35 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/clib/sys/netdb.h,v $
  4.  * $Date: 2004/04/17 10:51:15 $
  5.  * $Revision: 1.5 $
  6.  * $State: Exp $
  7.  * $Author: nick $
  8.  *
  9.  ***************************************************************************/
  10.  
  11. #ifndef __SYS_NETDB_H
  12. #define __SYS_NETDB_H
  13.  
  14. #ifndef __UNIXLIB_FEATURES_H
  15. #include <features.h>
  16. #endif
  17.  
  18. #ifndef __NETDB_H
  19. #include <netdb.h>
  20. #endif
  21.  
  22. __BEGIN_DECLS
  23.  
  24. extern struct hostent *_gethostbyname (const char *name) __THROW;
  25. extern struct hostent *_gethostbyaddr (const char *addr,
  26.                        int len, int type) __THROW;
  27. extern int _sclose (int sd) __THROW;
  28. extern int _sread (int sd, void *data, int nbyte) __THROW;
  29. extern int _swrite (int sd, const void *data, int nbyte) __THROW;
  30. extern int _sioctl (int sd, unsigned long request, void *arg) __THROW;
  31.  
  32. __END_DECLS
  33.  
  34. #endif
  35.