From nobody Mon Apr 11 14:20:40 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 37CE21A9C087 for ; Mon, 11 Apr 2022 14:20:40 +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 4KcWGv6WjDz3Lrt for ; Mon, 11 Apr 2022 14:20:39 +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 C0C8F24558 for ; Mon, 11 Apr 2022 14:20:39 +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 23BEKd8h076011 for ; Mon, 11 Apr 2022 14:20:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23BEKdER076009 for doc@FreeBSD.org; Mon, 11 Apr 2022 14:20:39 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: Mon, 11 Apr 2022 14:20:40 +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: cc 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=1649686839; 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=U8krF3J8+8RB/0SXG96JupGfGoae1ZGdZv2hEdWW+6E=; b=CPylXx6QM7Y0nTVjyzanRbX1vZaTEth4gVvcN+6QVzYQATgEMfIjGB1edfqyguYEbtPCed oEadqQgIEqwwkLB1/btlFWfC4jhjTHeBh5eSRwJcjoVGtOT5M8ePouu3oTMeqXoF3+oB0Z /PggBwlAMJl/3tgROJ4UTIcQbRs+c4TRrPPJaiTarK5VZoN9cryNBU1f7quvTVRYSd2Adl AzHd6JsNL1ztGDXdsE7v5HRrOGdtTVloXUyrU/QxYTqY8tecZqdp4eBqmn0kp+b4EBFdFo rm1KkDZo5oB8SGkZeGWcFz0T7uLIEunyTiVH8oj3pmZY69FDy2XOg5pPAQmiLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649686839; a=rsa-sha256; cv=none; b=m8meiYX+H/eHORiagq+Mcx+mpFXQ+INOApiM6/GLQUW30geMnZKE8nZFwJ0Z/fD03FOlxT xozkSVguJfSCoB0/PJj3ixk+RYWOWpUs3pAKWGY6fn84hFlz87QMpamSX15VOgsbRFrqL8 fQMj9BimEjmprhvbhvri/k+eZD6b6eoM/XYkwXzxGA72fo7bBT7sCo/sQvLL7U2kznqOgG jeoHy/oHV8jY7vNg7d5VWjYM9KzgKjwcevOrSht7NcyY+2VGudxZACZF1rkBlg1f+Pw+dx QUz91d0YJlhVxUps+WYSNPFvxl7X0HvDFA08XeU3rvtPDpwsS4X4riPpZwkD+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196844 PauAmma changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pauamma@gundo.com --- Comment #12 from PauAmma --- (In reply to Eugene Grosbein from comment #11) *stares at kevent(2) for a while* So the first kevent call should be ret =3D kevent(kq, &event, 1, &tevent, 1, NULL); and the test should be for tevent.flags & EV_ERROR instead of event? Would that correct the problem? --=20 You are receiving this mail because: You are the assignee for the bug.=