Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: Ross Smith Cc: cygwin AT sources DOT redhat DOT com Subject: Re: file descriptors opened as text files References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010214171434 DOT 00a8f6f0 AT pop DOT ma DOT ultranet DOT com> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010214175309 DOT 00a92220 AT pop DOT ma DOT ultranet DOT com> <3A8B284F DOT 8071591E AT ihug DOT co DOT nz> From: Jesper Eskilson Organization: Virtutech AB Date: 15 Feb 2001 10:36:38 +0100 In-Reply-To: Ross Smith's message of "Thu, 15 Feb 2001 13:52:31 +1300" Message-ID: Lines: 14 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thalia) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Ross Smith writes: > There's no standard way to select the mode for open(), but Cygwin > provides the non-standard one O_TEXT. Include it in your open mode flags > (second argument to open()). All flags to open() are documented in /usr/include/sys/fcntl.h. /Jesper -- ------------------------------------------------------------------------- Jesper Eskilson jojo AT virtutech DOT se Virtutech http://www.virtutech.se ------------------------------------------------------------------------- -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple