18 Sockets [socket]

18.2 Requirements [socket.reqmts]

18.2.12 I/O control command requirements [socket.reqmts.iocontrolcommand]

A type X meets the IoControlCommand requirements if it satisfies the requirements listed below.

In the table below, a denotes a (possibly const) value of type X, and b denotes a value of type X.

Table 31 — IoControlCommand requirements for extensible implementations
expressiontypeassertion/note pre/post-conditions
a.name() int Returns a value suitable for passing as the request argument to POSIX ioctl (or equivalent).
b.data() void*