Diff for /gforth/Attic/select.c between versions 1.1 and 1.3

version 1.1, 1994/12/12 17:10:50 version 1.3, 1995/11/07 18:06:59
Line 1 Line 1
   /* select replacement for DOS computers for ms only
   
     Copyright (C) 1995 Free Software Foundation, Inc.
   
     This file is part of Gforth.
   
     Gforth is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     as published by the Free Software Foundation; either version 2
     of the License, or (at your option) any later version.
   
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
   
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   */
   
   
 #include <sys/time.h>  #include <sys/time.h>
   
 /* select replacement for DOS computers for ms only */  
 void select(int n, int a, int b, int c, struct timeval * timeout)  void select(int n, int a, int b, int c, struct timeval * timeout)
 {  {
    struct timeval time1;     struct timeval time1;
Line 29  void select(int n, int a, int b, int c, Line 50  void select(int n, int a, int b, int c,
          time2.tv_sec == time1.tv_sec);           time2.tv_sec == time1.tv_sec);
   
 }  }
   
 /* cheap ecvt replacement */  
   

Removed from v.1.1  
changed lines
  Added in v.1.3


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