This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Issues in utmp/utmpx headers


David Lee <mailtolky <at> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]