X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=xGs vDmm/3eQEaa9SUqTXUOJvd39FF68he4EHwmQy/2sG00cFHFcEDtVjMwMoicZvkiL H0iPuQyFFLULHfoJnmuFJP+ip/y3byhnD1QaqrQTny7M2dg0e+FB/1JdLbdALiHL 3Wpp718wfrqgoc/fxw4ZH1gMOrk5wRVhcFYSFxww= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=MlBde9a6J p09WmX2QgnIRiGzEP4=; b=S/qqBYt/EPhRJwKggOxAF/kNt1xFag4yUap0nPrkz 11UhQoaiNQ9sZTALr5R6DKF9hpPFFXrV4E9TucesUSuxeubVJe+Nc8BKvMFv+uWI QYahTTBcATMyhtyP/nU4moUbhBYJuzdOTcBQbbxXwo59d1j7rysRcotNu7qOV1Zv Fc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 From: To: Subject: Bug in TIME function Date: Thu, 12 Sep 2019 14:05:24 -0400 Message-ID: <009d01d56994$a8065040$f812f0c0$@twcny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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