From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14795 invoked by alias); 15 Aug 2005 19:04:47 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 14742 invoked by uid 22791); 15 Aug 2005 19:04:38 -0000 Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 15 Aug 2005 19:04:38 +0000 Received: from hiauly1.hia.nrc.ca (hiauly1.hia.nrc.ca [127.0.0.1] (may be forged)) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9) with ESMTP id j7FJ4LnV018845; Mon, 15 Aug 2005 15:04:22 -0400 (EDT) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9/Submit) id j7FJ4Kar018844; Mon, 15 Aug 2005 15:04:20 -0400 (EDT) Message-Id: <200508151904.j7FJ4Kar018844@hiauly1.hia.nrc.ca> Subject: Re: What systems (if any) have fprintf_unlocked? To: ghazi@caipclassic.rutgers.edu (Kaveh R. Ghazi) Date: Mon, 15 Aug 2005 19:04:00 -0000 From: "John David Anglin" Cc: zackw@panix.com, dave.anglin@nrc.ca, gcc@gcc.gnu.org, nix@esperi.org.uk In-Reply-To: <200508151822.j7FIMVs1013085@caipclassic.rutgers.edu> from "Kaveh R. Ghazi" at Aug 15, 2005 02:22:31 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-08/txt/msg00435.txt.bz2 > > I'm not going to be able to remember exactly. It might be worth > > looking at various proprietary Unixes to see if they've got > > fprintf_unlocked, but given the date I don't think I was looking at > > one of them. My best guess is that I simply assumed glibc had it, > > since it seemed to have _unlocked variants of all the other stdio > > functions. > > zw > > Hmm, I found another interesting reference to fprintf_unlocked here: > http://gcc.gnu.org/ml/gcc-patches/2003-03/msg00805.html > > In it Dave points out that hpux is missing fputc_unlocked and > therefore neither fputs_unlocked or fprintf_unlocked should transform > into fputc_unlocked. > > Dave, does hpux have fprintf_unlocked or was mentioning it a mistake? It doesn't have either fprintf_unlocked or fputc_unlocked. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)