From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id d0b71fb5 for ; Sun, 4 Nov 2018 14:30:46 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id B1022A21DD; Mon, 5 Nov 2018 00:30:44 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 26A96A1FB3; Mon, 5 Nov 2018 00:30:13 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 4F18DA1FB5; Sun, 4 Nov 2018 23:36:05 +1000 (AEST) Received: from mail-it1-f172.google.com (mail-it1-f172.google.com [209.85.166.172]) by minnie.tuhs.org (Postfix) with ESMTPS id DF3D0A1FA4 for ; Sun, 4 Nov 2018 23:35:59 +1000 (AEST) Received: by mail-it1-f172.google.com with SMTP id t190-v6so3402123itb.2 for ; Sun, 04 Nov 2018 05:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MtNfJDfP43isHek8+ga+nAhvFUS7ngxR0S8fGJRmw3Y=; b=IdW5NRqWbEReNW6J/4YF+80bDusqNc8mBfficsG7emc+D/j8nfcubb+porfREoOV/X nO7CtLyIp72CnfHqpP8Vc86K8n+0l5wTg1M3/2QhCS3hK09QrqQbQlWCL2JAdudwgxqh ZveHKbNxsIvCUujaBf+wrUwSSSOhix09eNFbEYo//NVuYQgxQy6LLflpqd72S4JO6pQ3 ERpj8iNoq2ENoo4yUPdoa6UWoRuO5Ph1A5AXGw6jcTSzLEaf/V2fE1zjX9PuvUN9z068 ccN3b8tCV2DoHmisqxKy8B5eM9qTUkrh6svWxuFqQPdQ25HGx462IDtXMljX5cVFJYCa xdDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MtNfJDfP43isHek8+ga+nAhvFUS7ngxR0S8fGJRmw3Y=; b=FtTjZCbUUCuQPCso0YDzoLIAi1bz5VlEFG9mzpWi4y3qvMfwfLufcbyBdVojck8/g2 8GWCX8Fg4zsAzuCIv97hGxPFa4cvlvpNq57ttQytoZyfFHC4rsHztVtQdkOQl9FMGq/e SAqDTERmuq3ri8eoNz4arWjRRROG7bZRBsZ9lqgq11YKwGFLbe1BQi+g3/bZv41rkCQB BWHJ/Hr1usk9ys2IyBj+Nds90Dve/SXxl6LfpDoHWwJdRZ8Z2rGi2mLqhw58i+j902fL ZocsS3/VKU03p7rMCoAeN2TM0hh9S7QwlMG7E6OF2OGBMAG9Cn6zyA8WVONAAT6MJGVb mx2w== X-Gm-Message-State: AGRZ1gK4EqKFujIossW4Kk6Sa9m8Jy/aaU0ONktE3f6oyCDiG6JSZAkR 5OQSkt6eqSoSFvyOt/X0qOA7RS/I+jZlc31qJZtD+g== X-Google-Smtp-Source: AJdET5ciC27lySArnsyGDiZ5DDLEBjVumJ7TQ/DbO65xqAaU+tIA13NBrWWoESkmoWsOORFPg2GiifMOfJfugIXD+2U= X-Received: by 2002:a24:eb0b:: with SMTP id h11-v6mr3587247itj.47.1541338559025; Sun, 04 Nov 2018 05:35:59 -0800 (PST) MIME-Version: 1.0 References: <20181031043810.GA10775@minnie.tuhs.org> <7B5918F3-A65F-45FC-805A-07FE3FCE9253@eschatologist.net> In-Reply-To: <7B5918F3-A65F-45FC-805A-07FE3FCE9253@eschatologist.net> From: Warner Losh Date: Sun, 4 Nov 2018 06:35:47 -0700 Message-ID: To: Chris Hanson Content-Type: multipart/alternative; boundary="0000000000004a3ce20579d6d9d4" Subject: Re: [TUHS] Unix APIs: elegant or not? X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000004a3ce20579d6d9d4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Nov 4, 2018, 4:28 AM Chris Hanson If anyone ever asks me about the elegance of UNIX, there=E2=80=99s one wo= rd, or > really term, that springs to mind: EINTR. > > The fact that man pages on modern systems still describe calls as > returning -1 with errno set to EINTR baffles me. > Why? It's still a thing... Warner > --0000000000004a3ce20579d6d9d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


= On Sun, Nov 4, 2018, 4:28 AM Chris Hanson <cmhanson@eschatologist.net wrote:
If anyone ever asks me about the elegance of UNIX, ther= e=E2=80=99s one word, or really term, that springs to mind: EINTR.

The fact that man pages on modern systems still describe calls as returning= -1 with errno set to EINTR baffles me.

Why? It's still a thing...
=

Warner
--0000000000004a3ce20579d6d9d4--