Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <3921AF0C.DF9724F0@vinschen.de> Date: Tue, 16 May 2000 22:26:52 +0200 From: Corinna Vinschen Reply-To: cygdev Organization: Cygnus Solutions, a Red Hat Company X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygdev Subject: Re: [RFD]: fcntl call substituting `setmode' References: <3921AC64 DOT C20AB40B AT vinschen DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Corinna Vinschen wrote: > > Hi all, > > I'm just using the `setmode' function and I wonder > if it wouldn't be a nice thing to have some sort of > fcntl call for that, eg. > > fcntl(fd, F_SETMODE, O_TEXT); > [...] Perfect timing! I just got a segmentation violation in `ash' when calling `setmode'. In gdb I could see the reason: ash already has an own function called `setmode'. :-} Corinna