IoControlCommand.qbk 871 B

12345678910111213141516171819202122232425262728293031323334
  1. [/
  2. / Copyright (c) 2003-2019 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. [section:IoControlCommand I/O control command requirements]
  8. A type `X` meets the `IoControlCommand` requirements if it satisfies the
  9. requirements listed below.
  10. In the table below, `a` denotes a (possibly const) value of type `X`, and `b`
  11. denotes a value of type `X`.
  12. [table IoControlCommand requirements for extensible implementations
  13. [[expression] [type] [assertion/note\npre/post-conditions]]
  14. [
  15. [`a.name()`]
  16. [`int`]
  17. [
  18. Returns a value suitable for passing as the /request/ argument to
  19. __POSIX__ __ioctl__ (or equivalent).
  20. ]
  21. ]
  22. [
  23. [`b.data()`]
  24. [`void*`]
  25. [
  26. ]
  27. ]
  28. ]
  29. [endsect]