Re: time returns -1
--------- Received message begins Here ---------
> From @mongo.pixar.com:debian-user-request@Pixar.com Wed Nov 8 08:18 EST 1995
> when I run the program, using the area of code that I modified, I
> discovered that the time function was returning -1 (error?).
Time will return a -1 if it encounters an error. Check errno for the
reason.
> Is anyone else using the time function? Has anyone else had this problem?
No my apps work ok with time.
> Does anyone have any ideas?
Print errno out and see if it helps you. Be sure that the parameter
passed to time is a pointer to a time_t or long variable.
Is the date/time on your machine right?
>
> Thanks,
>
> Dale
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + +
> + Sex is like computer documentation. When it's good, it's +
> + very very good, when it's bad, it's better than nothing. +
> + +
> + Anonymous +
> + +
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
------------------------------------------------------------------------
Jim Lynch, Sales Analyst, Cray Research, Inc. / ARS: K4GVO
Southeast District, Phone: (770) 631-2254, Email: jwl@cray.com
Suite 270, 200 Westpark Drive, Peachtree City, GA 30269
Reply to: