Reject posix_devctl(2).
This commit is contained in:
parent
752c9b8aa2
commit
95481db488
1 changed files with 14 additions and 0 deletions
|
@ -185,6 +185,20 @@ is rejected in this operating system.
|
||||||
.Xr close 2
|
.Xr close 2
|
||||||
never fails with
|
never fails with
|
||||||
.Ev EINTR on this operating system.
|
.Ev EINTR on this operating system.
|
||||||
|
.Ss posix_devctl
|
||||||
|
.Xr ioctl 2
|
||||||
|
should be used instead.
|
||||||
|
POSIX 2024 defined this optional function as a replacement for
|
||||||
|
.Xr ioctl 2
|
||||||
|
but never defined any way for portable applications to actually use it.
|
||||||
|
The
|
||||||
|
.Fa dev_info_ptr
|
||||||
|
parameter is especially useless as its semantics are not defined, and often
|
||||||
|
the desired output does not necessarily fit in an int type.
|
||||||
|
The
|
||||||
|
.Xr ioctl 2
|
||||||
|
interface is fine and this alternative function is rejected in this operating
|
||||||
|
system as it is optional in POSIX 2024.
|
||||||
.Ss printf
|
.Ss printf
|
||||||
.Xr printf 3
|
.Xr printf 3
|
||||||
is implemented, however floating point formatting is not currently implemented
|
is implemented, however floating point formatting is not currently implemented
|
||||||
|
|
Loading…
Reference in a new issue