From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20535 invoked from network); 28 Apr 2022 13:52:02 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 28 Apr 2022 13:52:02 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1651153923; b=iu1XPj251CdZn5brIFfPBnh545L7RaNeVOwk+1E5J1HGKGOi01tEHqninNOHKV61m0TiybOV3o WK/1VyfHDy2A/6E08bqSJBjq7NvtHoUprIa1tYxniIRc6GqNpoBSHBLpv0S4HE3MrrG5iL85sq TUuLYZotGOfKyY4OnZTBKsgbSp3LgLV0DmVC0FYDmyq20Gqhx8Uj9LvrWXhsl6YiQf7C0/QlBf +zQpF/9yvq0eWh/M3iPLrIsNu1x0xUbzn1lRPTvpx6zHXcV1Aa3xY7eQ/vWC3TGrl/7YOqnpE0 JgSXWEv0CJMvY/9JLz9RwgemXPtfl0YDJ+5eDFsyZ/uIzg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yw1-f171.google.com) smtp.remote-ip=209.85.128.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1651153923; bh=rm/hKrmV883q06MVXEIQoGiOOYQAzhOUu7MwItZXWGA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:Reply-To: In-Reply-To:References:MIME-Version:DKIM-Signature:DKIM-Signature; b=qcjix017Ndhjn7s/3GqULKg3z/SrKF6XfDdchh68mn7BEpfXryU0aZ+5LdQuqCLXHnBMBly9UQ y6ndgd3LCmKH5ZoC+ALLvxBqOLJt9yOSlrx9YxNOJJIlw/REPqIdG07RfnmhX5Tt4Ack/YGBT4 vP+t+ghOUwV7X3VC8ygJo+cUWZ7E603JzeTNyCUZuM0C/cx+6+5OvCgrWfaKMw6YgXnEdFwF5h L12ljXGpmMvR6kDMUTM7mvyKjGFgd5h5o9bfWZSBZDwhgZUEMtYO0FTq97xSC2RknbfZKE3l3K nbHZHcCMBHN69IWQx8mQ3JHP2o8bmfOzqGeuG4G9BKqdpA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:Reply-To:In-Reply-To:References:MIME-Version:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=YSWILiuCa2UyKT3ZgVabiujoGwa7cqMc2/z1Qr4uXqw=; b=XcHBqztnxPcsukNrfrS0zNeGc2 uzHKmbV4HHcYSOVKBDClYdRjnrZxOWh21z1eohV7bd+50qAyAg5QeiwFgWRlyGE1ZYTPoB+miKr26 tCJ2CotjIQ82Z3EA2MlQ85pX6TyPZUm2ftFxnfXHsjyrM5rXHt5URTZnO/wBLT3YK2aw2RmZwyV9D ij66oA6iQhD/15PY52Ikl9xavOwK1r4FDxgrvmHiFYB4aLJ2wjNIK/AGUMo+3NF3E+ATYbincP+4J k48lMYAe7LvkIyx4s6gJCgwwTzY9jsMXc1jrMK+/QaXGfRU5SZMnPGxYbR4/C2qJ8LDAAzd0aFll+ 4Fna9KgQ==; Received: from authenticated user by zero.zsh.org with local id 1nk4Ys-000D9j-F6; Thu, 28 Apr 2022 13:52:02 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yw1-f171.google.com) smtp.remote-ip=209.85.128.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-yw1-f171.google.com ([209.85.128.171]:37061) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nk4YZ-000CsQ-KX; Thu, 28 Apr 2022 13:51:44 +0000 Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-2f16645872fso53737897b3.4 for ; Thu, 28 Apr 2022 06:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=YSWILiuCa2UyKT3ZgVabiujoGwa7cqMc2/z1Qr4uXqw=; b=OOcdngcy5Jx3GhxmbCCIyoYWnRIRL7uHs/mPcnx5GxHQjDh8/bimwtksFkeZjL7pTT M7lQlsTDLEf8a+vqgcCw2AtTya0LGYg1+9o+d2Gr54psMr7GxG1LEIQt7mI2JyUZmfM1 3rOLFihEOHJLKvIcJCtc2qxECGSHKkYNkHea6JUqOBmWsZYmHB8mUvVbCNIAx75N00wP alNJJPuMTd0YAkRrtk3uHVSyd7Y7jptqUJ9LnHmkhczKPBc8A4CXL3BG4R8bTtB6MXoN rogRvdhdhjouxt2Ktv0pbaqOkNxfenXt6QCHM/wQomQjIb9SM7l5w7BfA5DzkGOnW5wM 6hog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=YSWILiuCa2UyKT3ZgVabiujoGwa7cqMc2/z1Qr4uXqw=; b=YgS9qPHpfxg09uVDlFH7xT9IB7dEb0DNd5TIFB8SkbBY3AYtkhHEDUG7aJO3ZHXn51 kp+0MmrwUiiUw7bihG04T8CvyIFWQ9xsKg3hoqYuoXUxk9iTPK5rjF/TlNfZQ78bQJcB aCFxkQtXzoyHzJD2XKyjea0gv2Vqb19ZRhpGjiwys4xDgSUE0X1DAD/OTTMY8/IMhDGm wcp7HQQbAYLJAYndrg7ZjbjELBjsTRI96rVkO4c7ewK2lrfkAQmD84qBcNIzvjuH8oQb mlX+Lw2FsOkGVvp6OUsG0AbtcfT47GSHonCVe9uigW1snBZBQZaFKPT7764VmVgVEf0w um3A== X-Gm-Message-State: AOAM533tsgbUK/jVGrhw2Kaer0bQK84mrZxWsDVHip82drXJJJKKc3SZ zBOMzgXpmIReHujNWGzCLANRpWaJmSPeHDx0Fy42vNZX X-Google-Smtp-Source: ABdhPJwyYgoTS8KvhRg6yp6ae+g8EyBlrcJ789Z2wHUJ80frtSuN42yhDykE6q8x1ux4spT2yE5JioZlEzTe/+VRsdw= X-Received: by 2002:a81:164a:0:b0:2f7:e364:f36 with SMTP id 71-20020a81164a000000b002f7e3640f36mr20716491yww.110.1651153902576; Thu, 28 Apr 2022 06:51:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: linuxtechguy@gmail.com From: Jim Date: Thu, 28 Apr 2022 08:50:08 -0500 Message-ID: Subject: Re: Possible missing status info for builtins sysopen and sysseek in zsh/system module To: devs Content-Type: multipart/alternative; boundary="000000000000d5295a05ddb7395f" X-Seq: 50129 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --000000000000d5295a05ddb7395f Content-Type: text/plain; charset="UTF-8" Hi again, On Thu, Apr 28, 2022 at 8:18 AM Jim wrote: > Hi, > > Man page zshmodules(5.8) seems to be missing status information in module > zsh/system for builtins sysopen and sysseek. All the other builtins have > some > kind of statement for return status. I believe status 0 is success and 1 > would > be an error of some kind for both. Don't know if there are other error > numbers > or if the parameter ERRNO is used. > > Should it be assumed 0 and 1 are the only status numbers if nothing is > stated? > Can't assume that at least for sysseek. If fd isn't assigned it returns a status of 2. Thanks, > > Jim Murphy > Jim --000000000000d5295a05ddb7395f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi again,

On Thu, Apr 28, 2022 at 8:18 AM Jim <= linux.tech.guy@gmail.com>= ; wrote:
Hi,

Man page zshmodules(5.8) seems = to be missing status information in module
zsh/system for builtin= s sysopen and sysseek.=C2=A0 All the other builtins have some
kin= d of statement for return status. I believe status 0 is success and 1 would=
be an error of some kind for both. Don't know if there are o= ther error numbers
or if the parameter ERRNO is used.
<= br>
Should it be assumed 0 and 1 are the only status numbers if n= othing is stated?
=C2=A0
Can't a= ssume that at least for sysseek.=C2=A0 If fd isn't assigned it returns = a status of 2.

Thanks,

Jim Murphy

Jim
--000000000000d5295a05ddb7395f--