bsdtypes.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. $Id$
  3. Copyright (c) 2000-2002 by Marco van de Voort
  4. Some non POSIX BSD types used internally in the system unit.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. Type
  19. timeval = packed record
  20. sec,usec:clong;
  21. end;
  22. ptimeval = ^timeval;
  23. TTimeVal = timeval;
  24. timespec = packed record
  25. tv_sec : time_t;
  26. tv_nsec : clong;
  27. end;
  28. timezone = packed record
  29. minuteswest,
  30. dsttime : cint;
  31. end;
  32. ptimezone =^timezone;
  33. TTimeZone = timezone;
  34. {
  35. $Log$
  36. Revision 1.2 2002-09-07 16:01:17 peter
  37. * old logs removed and tabs fixed
  38. Revision 1.1 2002/08/19 12:29:11 marco
  39. * First working POSIX *BSD system unit.
  40. }