From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120350 invoked by alias); 12 Sep 2019 18:05:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 120342 invoked by uid 89); 12 Sep 2019 18:05:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_20,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*c:NHxtPHrt, H*UA:Outlook, H*x:Outlook, H*UA:Microsoft X-HELO: dnvrco-cmomta02.email.rr.com Received: from dnvrco-outbound-snat.email.rr.com (HELO dnvrco-cmomta02.email.rr.com) (107.14.73.228) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Sep 2019 18:05:29 +0000 Received: from TOMHOMEPC ([67.255.1.251]) by cmsmtp with ESMTPA id 8TTBiTm2kiYm28TTEiQMUh; Thu, 12 Sep 2019 18:05:28 +0000 From: To: Subject: Bug in TIME function Date: Thu, 12 Sep 2019 18:16:00 -0000 Message-ID: <009d01d56994$a8065040$f812f0c0$@twcny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2019-09/txt/msg00142.txt.bz2 The code below returns -1. It shouldn't. #include #include 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