svn commit: r313704 - head/sys/sys

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Tue Feb 14 07:15:58 UTC 2017


> On Feb 13, 2017, at 22:19, Ed Schouten <ed at nuxi.nl> wrote:
> 
> Hi there,
> 
> 2017-02-13 20:53 GMT+01:00 Ngie Cooper <yaneurabeya at gmail.com>:
>> Thanks! Should kqueue(2)/kevent(2) be updated?
> 
> I'm really not sure what's best here. On one hand the header no longer
> depends on <sys/event.h>, but the man page does refer to types and
> identifiers that are no longer declared by simply including this
> header.
> 
> Maybe it's best to leave it there, so that it's more likely for people
> to write code that also builds with previous versions of this header?

	Hm… Thinking about this a bit more, I think it’s a good idea to update the manpages. My gut says that unless the explicit requirement is removed, people will keep on using the old #include list. Maybe a note should be made in the BUGS section about sys/types.h being required in previous releases (or folks should just pay attention to previous versions’ manpages *shrugs*?)?
Thanks!
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170213/0805ffe4/attachment.sig>


More information about the svn-src-all mailing list