From nobody Tue Apr 12 03:29:03 2022 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E561217B48BF for ; Tue, 12 Apr 2022 03:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kcrmb2qCrz3nwF for ; Tue, 12 Apr 2022 03:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4271E7B9A for ; Tue, 12 Apr 2022 03:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23C3T3A2095138 for ; Tue, 12 Apr 2022 03:29:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23C3T3rJ095137 for doc@FreeBSD.org; Tue, 12 Apr 2022 03:29:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 196844] [patch][doc] Add EXAMPLES section to kqueue(2) man page Date: Tue, 12 Apr 2022 03:29:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pauamma@gundo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649734143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+yTDBqW+Qe4fH0s09vR8D6K7tUUje9iW4859jEsFTqc=; b=lK09Dr0/iAwMszdF95d0g4yLGs0/3WQCQSXihbyx4tJYs3Qr3mDeDLv5ezGnyQ8l3ygapr 3+M2GZa4YfalCQaREUOY8XZVNvHMAYGR01deTG8gJRLDeMO6v7dFrsbocYLzpaxSCm2/kn cA4b7OARBggWrBTOosWr7ukBC+bO6LhcVC2Y96cw9nOQ+u39InnM6nNHgBRnsovR3pcqEH U1WAFIRT5qrerdRyWZUAlnS6nMXnxV3bhrd/AkbaXKZtMQHXrLSLUdVSXrG34NfvrNcV8O SiS9ky+7XTfYzCW1AcB4dS1RGkspDEGC4Csj1faBIDjVR76ePWwbzA5W5841gw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649734143; a=rsa-sha256; cv=none; b=fmFpiBCNEzbDc2o+nBHDaG5CMbrxpGWsdryr1h+mP11uO1h6u1Bafhcm2FO6ASmpsFDetG 5GP7ytYg8bVR8BRwhHevUZ51jdtLc5QDB2YjbDXAuRUKWLP23RfqKNkjx6Qk4jb1vMAhw4 eBbxPn+Re7mo1aJ1KTaUBN8pLrRY/TmNJpvP2bLSHJaYt2rY3jxVgYznsLRrQpD7Ef5mHb sFlgcpiOQ8EJQOebyBuxTSbUSmEK2xpn5pm4HbWkRO+iFD4Anpc/cU5bTddxlm8dgqmyuU hDR4jTUVIU8clzsJXshUnVNzfPt8U6Gb5V9zgaMDDQBWwFhuEjc06ZoRcKeEiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196844 --- Comment #17 from PauAmma --- Comment on attachment 233152 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233152 Fix EXAMPLE in kqueue.2 >- printf("Something was written in '%s'\en", argv[1]); >- } >+ if (tevent.flags & EV_ERROR) >+ errx(EXIT_FAILURE, "Event error: %s", strerror(event.data)); >+ else >+ printf("Something was written in '%s'\n", argv[1]); \en, since this is a manual page, not a C source file. --=20 You are receiving this mail because: You are the assignee for the bug.=