RFC: PCI SR-IOV Driver interface
Bruce Evans
brde at optusnet.com.au
Thu May 8 15:51:16 UTC 2014
On Thu, 8 May 2014, [utf-8] Dag-Erling Smørgrav wrote:
> Bruce Evans <brde at optusnet.com.au> writes:
>> Hrmph. style(9) explicitly forbids typedefs like nvlist_t.
>
> ...as does C, which reserves *_t, IIRC. Although I'm guilty of abusing
> that namespace myself.
No, _t is not reserved in C, and is reserved for the implementation in
POSIX. nv is an implementation. style(9) says not to use _t for
typedefs, but that is for applications. Kernel code can be considered
as both an implementation and an application. I normally consider it
as an application, but wouldn't want to disallow using _t in it.
Bruce
More information about the freebsd-arch
mailing list