Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 03:29:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 196844] [patch][doc] Add EXAMPLES section to kqueue(2) man page
Message-ID:  <bug-196844-9-rYXqWTP271@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196844-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196844-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196844

--- Comment #17 from PauAmma <pauamma@gundo.com> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196844-9-rYXqWTP271>