• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/
2 / Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
3 /
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 /]
7
8[section:IoControlCommand I/O control command requirements]
9
10A type `X` meets the `IoControlCommand` requirements if it satisfies the
11requirements listed below.
12
13In the table below, `a` denotes a (possibly const) value of type `X`, and `b`
14denotes a value of type `X`.
15
16[table IoControlCommand requirements for extensible implementations
17  [[expression] [type] [assertion/note[br]pre/post-conditions]]
18  [
19    [`a.name()`]
20    [`int`]
21    [
22      Returns a value suitable for passing as the /request/ argument to
23      __POSIX__ __ioctl__ (or equivalent).
24    ]
25  ]
26  [
27    [`b.data()`]
28    [`void*`]
29    [
30    ]
31  ]
32]
33
34[endsect]
35