public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bug in TIME function
@ 2019-09-12 18:16 tlake
  2019-09-12 18:44 ` Kaz Kylheku
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: tlake @ 2019-09-12 18:16 UTC (permalink / raw)
  To: cygwin

The code below returns -1. It shouldn't.

 

#include <sys/times.h>

#include <stdio.h>

 

int main(int argc, char *argv[])

{

  printf("return value %ld\n", (long)times((struct tms*)0));

  return 0;

}

 


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-16 20:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 18:16 Bug in TIME function tlake
2019-09-12 18:44 ` Kaz Kylheku
2019-09-13  0:50   ` Kaz Kylheku
2019-09-12 23:03 ` Brian Inglis
2019-09-13 11:37   ` tlake
2019-09-13 19:59     ` Wayne Davison
2019-09-13 23:05       ` Kaz Kylheku
2019-09-18  0:16         ` Brian Inglis
2019-09-16  7:30 ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).