[PATCH 1/2] Add support for posix_devctl()

Joel Sherrill joel at rtems.org
Thu Jan 12 12:25:47 UTC 2017


On Jan 12, 2017 2:33 AM, "Sebastian Huber" <
sebastian.huber at embedded-brains.de> wrote:

Hello Joel,

thanks for your detailed information. I was just a bit surprised that a
search via Google revealed next nothing. For "_SC_POSIX_26_VERSION" I got
three hits and two of them are due to your patches to Newlib.


If you look at the method signature, you see that it does have a couple of
improvements over ioctl(). It has a buffer length and a way for drivers to
return a status separate from the method status.

But that would have to be propagated through the entire stack to be useful.
When I realized that, I just decided to heavily comment it and wrap ioctl().

FWIW I have a list of methods missing from the largest FACE profile. Many
are missing from newlib.

--joel



-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170112/a38c6a06/attachment-0002.html>


More information about the devel mailing list