m3core/src/unix/linux-common/Usysdep.i3


 Copyright (C) 1990, Digital Equipment Corporation.         
 All rights reserved.                                       
 See the file COPYRIGHT for a full description.             

INTERFACE Usysdep;

FROM Ctypes IMPORT char_star, int;
INTERFACE Unix;

CONST
  MaxPathLen = 1024;
  MAX_FDSET = 1024;

TYPE
INTERFACE Usocket;

  struct_linger = RECORD
    l_onoff: int;
    l_linger: int;
  END;
INTERFACE Utime;

struct_timeval = RECORD
    tv_sec: INTEGER;
    tv_usec: INTEGER;
  END;

  struct_tm = RECORD
    tm_sec:   int;
    tm_min:   int;
    tm_hour:  int;
    tm_mday:  int;
    tm_mon:   int;
    tm_year:  int;
    tm_wday:  int;
    tm_yday:  int;
    tm_isdst: int;
    tm_gmtoff:INTEGER;
    tm_zone:  char_star;
  END;
INTERFACE Utypes;

time_t = INTEGER; (* ideally always 64 bits *)

END Usysdep.