From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14958 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: y38h5z@protonmail.com Newsgroups: gmane.linux.lib.musl.general Subject: Re: non-standard implementation of fflush() Date: Sat, 23 Nov 2019 21:35:42 +0000 Message-ID: References: <20191121190444.GE16318@brightrain.aerifal.cx> <20191121225849.GF16318@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="213397"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "musl@lists.openwall.com" To: Rich Felker Original-X-From: musl-return-14974-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 23 22:36:04 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iYd4V-000tNm-E7 for gllmg-musl@m.gmane.org; Sat, 23 Nov 2019 22:36:03 +0100 Original-Received: (qmail 23674 invoked by uid 550); 23 Nov 2019 21:36:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 23653 invoked from network); 23 Nov 2019 21:36:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1574544948; bh=rUuO2mKhb76Z973SvDPv154Hks6GLgSrHlawzWbWxgE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=axH9OL1Nz1ZJkw7NIxV5B9aC/hYweatekFlCNZ5EKxTZxU+hGbiBYEeEIugs8lLiv 9TleavmuUKdjqmSnlBAjetuiNglG2q+QMmnh/kJIyJDjqCu+x9e4mrabSy+114rPE5 LaI7ayxIVa2Shq2TC8IJF/csqKfTZuIf/eyLJjrc= In-Reply-To: <20191121225849.GF16318@brightrain.aerifal.cx> Feedback-ID: Bk7rvOuinIvjlW9uJ81hcmtJvl2ajZuS5fM6ypgJ3Y1VCTp5H7Hvx704YQdYntguuQArzs5qftFH9_oBoiOn_g==:Ext:ProtonMail Xref: news.gmane.org gmane.linux.lib.musl.general:14958 Archived-At: > > For practical purposes, to use stdio with a socket via fdopen, you > must limit yourself to one direction through a given FILE. If you want > bidirectional access via stdio, you need to dup() the socket file > descriptor and fdopen both. > Thanks for your help Rich. I've updated my code accordingly and got it to c= ompile against different runtime libs now. Greetings, Michael