home *** CD-ROM | disk | FTP | other *** search
/ MPEG Toolkit / MPEG Toolkit.iso / os2 / mpegenc / src / os2port.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-01  |  466 b   |  24 lines

  1. /*
  2.  
  3. os2port.h - Bits needed to complete port to OS/2
  4.  
  5. Fake up 'times' interface found on UNIX boxes.
  6. The times stuff seems to be to allow the encoder to display how long it
  7. has taken to encode the data.
  8.  
  9. Provide popen() and pclose().
  10.  
  11. @@@ Andy Key
  12.  
  13. */
  14.  
  15. #include <time.h>
  16.  
  17. struct tms { long tms_utime, tms_stime; };
  18. extern void times(struct tms *t);
  19.  
  20. #include <stdio.h>
  21.  
  22. extern FILE *popen(char *cmd, char *mode);
  23. extern void pclose(FILE *fp);
  24.