From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f179.google.com ([209.85.215.179]) by ewsd; Wed Dec 18 15:34:41 EST 2019 Received: by mail-pg1-f179.google.com with SMTP id b137so1874477pga.6 for <9front@9front.org>; Wed, 18 Dec 2019 12:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iastate.edu; s=google20150603; h=mime-version:from:date:message-id:subject:to; bh=dglZfGhuKYItpAZlS9EyODOHM4fZpSSe1Fwu0u3DJgs=; b=eQI37p/cL/sHIZk4ouHvOT2wzQkVFE9a1xYnxYNMdXwuGUjfbxn9OWhRZzLKM4epyK /jCAVqGWHT9tX/+y/xNFWKtXMXunipmLg/MxbwHfSnkDTESaO5caX/UoFLGxS6u30+H+ dFDQ3gyu0U01EDTxzv8aZdgl4BK6V6Icb1eCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dglZfGhuKYItpAZlS9EyODOHM4fZpSSe1Fwu0u3DJgs=; b=irMnK7BWf7G7nAflaIxrzc85ln/2XFqtrx8Y6KeOFwpaq7J5k31ikKmF8FgSXvuM+Z z9V9VW5bfnbcizCDPjORYiw6aQ1zgttO5FjkfejpgFY+wrybjaHoQtbbcZGZFisAAScB aKEO8JcF1gfGHiRwzN8iwwoCi8dmgCx7RDu0t+WnWqd4B/Mc9KlNCEgYi21yA0M2C0tf rSuB3qYUVzLseo5NooLP71F4ghUrxuzOXBsyCd/JyGppdbU7+DfOt2VygjZ0tPp2wMRe RfUvZQtWq9IG/d+lTdTNOqHld8ETjt32r+zu2jDh7cd+rmfaAreqfSEG56tyjScvexwf zpTg== X-Gm-Message-State: APjAAAWotNyUCLdkKqfJ4dZvlBrrUZu4dLTsN8TI5szUKVQsRiIdTyMz oLo6jsQzH0UDiazFQskrvJ4oA/P+lKQ8rfsVgBKCy60jv7o= X-Google-Smtp-Source: APXvYqzgSBt2gerpI29JxSym/vewp0UypgdsrGe74L9voDDNTTKDPgvRCNMV+L+9nclXRAZ+tvUx6C3oQFBDRQQ2XE0= X-Received: by 2002:a63:770c:: with SMTP id s12mr5276979pgc.25.1576701276597; Wed, 18 Dec 2019 12:34:36 -0800 (PST) MIME-Version: 1.0 From: Jacob Moody Date: Wed, 18 Dec 2019 14:34:25 -0600 Message-ID: Subject: [9front] thread(2) procexec To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: optimized replication JSON polling event Hello, I noticed that thread(2) claims that procexec and procexecl return -1 on error, but have a return type of void. This patch removes the mention of the -1 return from the man page. diff -r bd352bcef025 sys/man/2/thread --- a/sys/man/2/thread Wed Dec 18 09:01:38 2019 +1030 +++ b/sys/man/2/thread Wed Dec 18 14:27:39 2019 -0600 @@ -332,7 +332,6 @@ on success, they replace the calling thread (which must be the only thread in its proc) and invoke the external program, never returning. -On error, they return \-1. If .I cpid is not null, the pid of the invoked program -- Jacob Moody ISEAGE