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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=tJ/9FZWt3VNvOFB6RGPA3HDHOFZztg5LPIN8cUtZFgiyFPBKnpHY7 dyTiqaCDBJ2g/0AFjIyD2PWx4NxMVC44sorz7KFO0GSmyLG9vm9lBx8z1Hgclzqc 1v4ypyRgk5gjjZbEhoT1K+SnDZwr/ax12f7RThHK7KlE9Suo7vc3lE= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=wvtJN2DW8RKYesGQNHAjhVM5F+w=; b=DkLJwyYRsAvi4QeU3/Cbq7NxYqSC C0JMHr5i1Ba4oYpNf++C4v5DqBoAk8i5ikE3adpyBu1k9dgX3e9RWicZu0HtsqCv /cQYEnROJGkIiLY9W3M+ZmuI/t47YWOZ3XYEwJQw5e43By+H1ZB+ALnJSNSD8nQp Wk6wxQWHKxaGsCc= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Issues, brings, H*M:post, H*f:CALiPeumt3nnNr X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Brian Inglis Subject: Re: Issues in utmp/utmpx headers Date: Sun, 27 Dec 2015 19:02:47 +0000 (UTC) Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes David Lee gmail.com> writes: > While trying to port bsdgames to Cygwin I spotted the following issues: > (1) In /usr/include/utmpx.h, utmpxname() is declared a void function. > Should it return int? > (2) In /usr/include/sys/utmp.h, utmpname() is declared a void > function. Should it return int? > (3) _PATH_UTMPX is not defined in any system headers. Search packages for missing files e.g. https://cygwin.com/cgi-bin2/package-grep.cgi?grep=utmp.h&arch=x86_64 brings up package cygwin-devel and cygwin32. Download and run setup and select cygwin-devel to install the headers and libraries. -- 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