home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / unix / unixlib_1 / !UnixLib37_netlib_netlib_c_connect < prev    next >
Encoding:
Text File  |  1996-07-28  |  547 b   |  24 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. connect (int s, struct sockaddr *name, int namelen)
  20. {
  21. /*  printf("U! connect: fd=%d, realsocket=%d\n",s,(__u->file+s)->r[0]); */
  22.   return (_connect ((__u->file + s)->r[0], name, namelen));
  23. }
  24.