tech-kern archive

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

re: gets in the kernel



Christos Zoulas writes:
> 
> Hi,
> 
> I noticed that gets_s (a bounded version of gets) was added in the kernel.
> While this iis nice, it conflicts with the c-11 "Annex K" which has a
> different prototype (takes rsize_t instead of size_t). Perhaps we should
> rename this to kgets() or getl() now before it causes problems.
> 
> Opinions?

sounds like a good idea to me.  i like kgets() over getl().


.mrg.


Home | Main Index | Thread Index | Old Index