none
C# equivalent to timeval structure RRS feed

  • Question

  • Hi

    I'm fairly sure that this is a trivial issue. I'm porting some code from C++, to C#. Most of it is fine, but I have come accross a block that uses the timeval structure, which is defined as:

    typedef struct timeval {
      long tv_sec;
      long tv_usec;
    } timeval;

    I have spent a lot of time searching for an equivalent and have been led all of the place by search engines.

    Is there an equivalent structure available in C#, or will I need to define my own?

    Kind regards

    Andrew


    Friday, April 26, 2013 11:51 AM

Answers

All replies