home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / unix / unixlib_1 / !UnixLib37_netlib_netlib_c_setsockopt < prev    next >
Encoding:
Text File  |  1996-07-28  |  509 b   |  23 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source$
  4.  * $Date$
  5.  * $Revision$
  6.  * $State$
  7.  * $Author$
  8.  *
  9.  * $Log$
  10.  * (c) Copyright 1995 Sergio Monesi
  11.  ***************************************************************************/
  12.  
  13. static const char rcs_id[] = "$Id$";
  14.  
  15. #include <sys/unix.h>
  16. #include <sys/socket.h>
  17.  
  18. int
  19. setsockopt (int s, int level, int optname, char *optval, int optlen)
  20. {
  21.   return (_setsockopt ((__u->file + s)->r[0], level, optname, optval, optlen));
  22. }
  23.