From owner-freebsd-hackers Wed Feb 20 16: 1:30 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from artemis.drwilco.net (diana.drwilco.net [66.48.127.79]) by hub.freebsd.org (Postfix) with ESMTP id 2D63437B416 for ; Wed, 20 Feb 2002 16:01:24 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g1L01FD74701 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO); Wed, 20 Feb 2002 19:01:17 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020221010548.045258c0@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 21 Feb 2002 01:11:42 +0100 To: "Lane, Frank L" , "'freebsd-hackers@freebsd.org'" From: "Rogier R. Mulhuijzen" Subject: Re: Posix question In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 16:32 20-2-2002 -0600, Lane, Frank L wrote: >Hi List, > >I'm facing a serial write problem. Posix provides a function tcdrain () >that blocks until all serial data has been written from the card. Is there >an analogous function in the gnu c compiler for windows platforms? Does the >gnu c compiler try to give you posix functionality within the windows >environment? Thank you for any help you'll offer. A few things. 1) the GNU C Compiler doesn't provide the tcdrain() function, but libc does this. 2) if you're looking for UNIX like behavior on windows system (like GCC) I suggest you check out www.cygwin.com. I'm sure they can answer your question much better than the FreeBSD community. 3) why not use FreeBSD instead of windows? (not trying to be zealous, just curious, and you did post to a FreeBSD mailing list) Hope that helps you out, Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message