From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 19F583857830 for ; Thu, 8 Apr 2021 11:19:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 19F583857830 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vinschen@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617880749; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=SGHsYaspM4Is90QOszb4guQzS2VqVJdZx0agdjMciQk=; b=df9JOHTbfG4sdRYAFTm7WYanB0NoAIuyaP8Oyr3Yy5pmmRwiDuBT+kYIF/Rq3rXoc75Xcm B6jL9UH0YHx2uvmkJ1xk+qGjVF7wAtg/WyMEZ51+Tr/hldAcinFRnTd7kWJCIu6ZHTbKyR sZ2Wpj9N3ocI65QxLSo0jW0PU50z/eE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-445-ATw4ZHSJMBinMrDmNdQXnw-1; Thu, 08 Apr 2021 07:19:04 -0400 X-MC-Unique: ATw4ZHSJMBinMrDmNdQXnw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 45CDA1936B8E for ; Thu, 8 Apr 2021 11:18:56 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-112-38.ams2.redhat.com [10.36.112.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E00AD843E9 for ; Thu, 8 Apr 2021 11:18:55 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 66679A80E42; Thu, 8 Apr 2021 13:18:54 +0200 (CEST) Date: Thu, 8 Apr 2021 13:18:54 +0200 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: APIs in New POSIX Edition Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 11:19:11 -0000 On Apr 7 18:26, Joel Sherrill wrote: > Hi > > https://www.opengroup.org/austin/docs/austin_1110.pdf includes a set of new > methods to be added to the POSIX standard. RTEMS has a potential GSoC > student interested in working down the list for RTEMS. Some of these make > sense to be implemented in newlib. All will end up being prototyped in > newlib headers somewhere. > > >From the document and the formatting is completely lost. > > The additional APIs proposed by participants in the Austin Group that The > Open Group has agreed to sponsor are as follows: > getentropy() > memmem() > reallocarray() > strlcat() > strlcpy() > wcslcat() > wcslcpy() Already in newlib. > ppoll() Already defined in Cygwin. We don't have a generic poll.h header in newlib. > dladdr() Already defined in Cygwin. We don't have a generic dlfcn.h header in newlib. It's questionable if this really belongs in newlib. > getlocalename_l() > posix_getdents() > sig2str() > str2sig() No worries as soon as the API is stable. > pthread_cond_clockwait() > pthread_mutex_clocklock() > pthread_rwlock_clockrdlock() > pthread_rwlock_clockwrlock() > qsort_r() > sem_clockwait() No worries, these APIs won't change compared to their already existing implementations in GLibc. Corinna