tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ptrdiff_t in the kernel

On Dec 2, 2013, at 5:58 PM, Lourival Vieira Neto 
<> wrote:

> Hi Folks,
> Is there a reason to do not have ptrdiff_t defined in the kernel?
> Shouldn't be OK to define it in sys/cdefs.h? Or even for having
> stddef.h itself in the kernel?

It is defined in the kernel and comes from <machine/ansi.h> via

No, <stddef.h> is not allowed in the kernel.  Symbols from it are
provided via other means.

Home | Main Index | Thread Index | Old Index