stdint.h.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. stdint.h
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='socket.h.html' title=' socket.h '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='symbol.h.html' title=' symbol.h '>NEXT</a>]
  19. </div>
  20. <pre>
  21. /*====================================================================*
  22. *
  23. * Copyright (c) 2011 by Qualcomm Atheros.
  24. *
  25. * Permission to use, copy, modify, and/or distribute this software
  26. * for any purpose with or without fee is hereby granted, provided
  27. * that the above copyright notice and this permission notice appear
  28. * in all copies.
  29. *
  30. * THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL
  31. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  32. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  33. * THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
  34. * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  35. * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  36. * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  37. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  38. *
  39. *--------------------------------------------------------------------*/
  40. /*====================================================================*
  41. *
  42. * stdint.h - substitute stdint.h file for Windows;
  43. *
  44. * this is an important POSIX header that Microsoft ommits;
  45. *
  46. * Contributor(s):
  47. * Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  48. *
  49. *--------------------------------------------------------------------*/
  50. #ifndef STDINT_HEADER
  51. #define STDINT_HEADER
  52. /*====================================================================*
  53. * system header files;
  54. *--------------------------------------------------------------------*/
  55. #include &lt;limits.h&gt;
  56. /*====================================================================*
  57. * variable types;
  58. *--------------------------------------------------------------------*/
  59. #ifdef _MSC_VER
  60. typedef __int8 int8_t;
  61. typedef __int16 int16_t;
  62. typedef __int32 int32_t;
  63. typedef __int64 int64_t;
  64. typedef unsigned __int8 uint8_t;
  65. typedef unsigned __int16 uint16_t;
  66. typedef unsigned __int32 uint32_t;
  67. typedef unsigned __int64 uint64_t;
  68. typedef long off_t;
  69. #endif
  70. /*====================================================================*
  71. *
  72. *--------------------------------------------------------------------*/
  73. #endif
  74. </pre>
  75. <div class='footerlink'>
  76. [<a href='socket.h.html' title=' socket.h '>PREV</a>]
  77. [<a href='toolkit.html' title=' Index '>HOME</a>]
  78. [<a href='symbol.h.html' title=' symbol.h '>NEXT</a>]
  79. </div>
  80. </body>
  81. </html>