From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by sourceware.org (Postfix) with ESMTPS id 104DE395192B for ; Thu, 20 May 2021 14:58:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 104DE395192B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joel.sherrill@gmail.com Received: by mail-lf1-f50.google.com with SMTP id m11so25007609lfg.3 for ; Thu, 20 May 2021 07:58:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=VwkYmwD2yGp1+QWmTbapfUIYjV9+rE4I3jWfWtX7or4=; b=TX4hRbppbq3jaxnsh6HfOabZGlSeUoi/NxPGSumk/jwZIWIEtns9arZPn1KyJwWekt e8cZeqEKXlIelEqucBf6pdwsJtkolObq0q0ah4V/c66HfldyPyioIqDpimCTU+2dthI/ yF01ZyZ/+ERZlIeOCk9bmM0tU9V22wVbZSGqUlIloEw6VIiDBQa64ddqAiS3N1vmN4EL pwN87fqHobIMSCgkuhy1IsZNcrAaiPJhX+pHVHReY9kYYXBZYbO+zzx/CLuGDO3MYnfy gQSAEjUK+1gnT3W6K7bVSpFAE7J7N/pT3w36Z9UPMrp6hFjaCuxkXCiIqfOu/zWfYOwb EbuA== X-Gm-Message-State: AOAM5316EKOIDBRdrF40WeVSLK0numN7GfF2oMYOH2Gae9TxQSRIW7ME UlBCPddS2oReGx3unr0UYVzl6sCaqmIkKg== X-Google-Smtp-Source: ABdhPJzt83l1ojRopO9z5rvh2C/ThODdQh8vJmKvpseUsdzNyG2gPMiqTWrj3vH0xewOMI98TNcDPQ== X-Received: by 2002:a05:6512:3292:: with SMTP id p18mr3571392lfe.631.1621522708293; Thu, 20 May 2021 07:58:28 -0700 (PDT) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id z18sm344852lfd.180.2021.05.20.07.58.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 May 2021 07:58:28 -0700 (PDT) Received: by mail-lf1-f41.google.com with SMTP id m11so25007516lfg.3 for ; Thu, 20 May 2021 07:58:27 -0700 (PDT) X-Received: by 2002:a05:6512:1387:: with SMTP id p7mr3690321lfa.50.1621522707575; Thu, 20 May 2021 07:58:27 -0700 (PDT) MIME-Version: 1.0 Reply-To: joel@rtems.org From: Joel Sherrill Date: Thu, 20 May 2021 09:58:16 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Does Cygwin have str2sig/sig2str? To: Newlib , Matthew Joyce X-Spam-Status: No, score=-3031.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 20 May 2021 14:58:31 -0000 Hi The next POSIX version is wrapping up and unless something changes will be adding str2sig and sig2str. Does Cygwin have those? I'm asking to see if we adapt the Cygwin version for general use or have to write it from scratch. The glibc and Illumos implementations are what you would expect. They just use an array of { signal, string_name} and a lookup search. Something similar would be OK for newlib. Thanks. --joel