X-Spam-Check-By: sourceware.org Date: Sun, 5 Feb 2006 15:00:02 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: _kbhit & memory leak in select() Message-ID: <20060205200002.GD4718@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <6CA15ADD82E5724F88CB53D50E61C9AE9ECE45 AT cgcmail DOT cgc DOT cpmc DOT columbia DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6CA15ADD82E5724F88CB53D50E61C9AE9ECE45@cgcmail.cgc.cpmc.columbia.edu> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Sun, Feb 05, 2006 at 01:17:33PM -0500, Michiel De Hoon wrote: >For one of my software projects, I need the _kbhit function to check the >console for keyboard input. While this function is present in msvcrt.dll, it >is missing from cygwin1.dll, so I started writing this function myself (I'm >hoping to contribute it to Cygwin if it works well). I really appreciate the sentiment of submitting code but _kbhit is not a linux function (or POSIX, POSIX, POSIX...) so it really isn't a candidate for inclusion in the Cygwin DLL. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/