home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / electron / 15169 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.5 KB  |  53 lines

  1. Newsgroups: sci.electronics
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!pbinfo!caro
  3. From: caro@uni-paderborn.de (Carsten Rose)
  4. Subject: Re: 8051 assembler problems
  5. Message-ID: <1992Sep3.095723.2221@uni-paderborn.de>
  6. Sender: news@uni-paderborn.de (News Uni-Paderborn)
  7. Nntp-Posting-Host: obelix
  8. Organization: Uni-GH Paderborn
  9. X-Newsreader: Tin 1.1 PL4
  10. References: <20976@sbsvax.cs.uni-sb.de>
  11. Date: Thu, 3 Sep 1992 09:57:23 GMT
  12. Lines: 39
  13.  
  14. tobl@sbustd.rz.uni-sb.de (Tobias Blickle) writes:
  15. : In article <1992Aug.10.230409.29929@uwm.edu> markh@csd4.csd.uwm.edu (Hunk) writes:
  16. ....cut simething....
  17.  
  18. : I got this assembler source code but I have a little problem compiling
  19. : it: The compiler looks for the file "sys/timeb.h" when compiling
  20. : the file "io.c". My problem is that I haven't got the file "timeb.h"
  21. : for my compiler and I don't know what it's good for. I'm using the 
  22. : gnu c-compiler.
  23.  
  24. Look in include/sys/  .
  25.  
  26. The file is very short, so here it is:
  27.  
  28. Filename: include/sys/timeb.h
  29. ------------------------------------------------------------
  30. /*      @(#)timeb.h 2.6 88/08/19 SMI; from UCB 4.2 81/02/19     */
  31.  
  32. /*
  33.  * Structure returned by ftime system call
  34.  */
  35.  
  36. #ifndef _sys_timeb_h
  37. #define _sys_timeb_h
  38.  
  39. struct timeb
  40. {
  41.         time_t  time;
  42.         unsigned short millitm;
  43.         short   timezone;
  44.         short   dstflag;
  45. };
  46.  
  47. #endif /*!_sys_timeb_h*/
  48. ------------------------------------------------------------
  49.  
  50. Ciao
  51.  
  52.     Carsten
  53.