Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Incorrect time_t value from time() in signal handler
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Sven, post: 2479955"] How do I have to do this? Is this just a linker option? That is no problem, I call: time_t tVal; time( &tVal ); I saw this, but what does ((time_t)-1) mean? Is this the value given in the parameter decreased by one? time_t tVal = 1; if ( ! time( &tVal ) ) { /* error */ } I cannot leave the timer away, because without the timer the program would make no more sense. Sven [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Incorrect time_t value from time() in signal handler
Top