Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Syscalls.html 3.7KB

před 3 roky
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <title>Syscalls (The Red Hat newlib C Library)</title>
  7. <meta name="description" content="Syscalls (The Red Hat newlib C Library)">
  8. <meta name="keywords" content="Syscalls (The Red Hat newlib C Library)">
  9. <meta name="resource-type" content="document">
  10. <meta name="distribution" content="global">
  11. <meta name="Generator" content="makeinfo">
  12. <link href="index.html#Top" rel="start" title="Top">
  13. <link href="Document-Index.html#Document-Index" rel="index" title="Document Index">
  14. <link href="Document-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
  15. <link href="index.html#Top" rel="up" title="Top">
  16. <link href="Stubs.html#Stubs" rel="next" title="Stubs">
  17. <link href="Object-Size-Checking.html#Object-Size-Checking" rel="prev" title="Object Size Checking">
  18. <style type="text/css">
  19. <!--
  20. a.summary-letter {text-decoration: none}
  21. blockquote.indentedblock {margin-right: 0em}
  22. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  23. blockquote.smallquotation {font-size: smaller}
  24. div.display {margin-left: 3.2em}
  25. div.example {margin-left: 3.2em}
  26. div.lisp {margin-left: 3.2em}
  27. div.smalldisplay {margin-left: 3.2em}
  28. div.smallexample {margin-left: 3.2em}
  29. div.smalllisp {margin-left: 3.2em}
  30. kbd {font-style: oblique}
  31. pre.display {font-family: inherit}
  32. pre.format {font-family: inherit}
  33. pre.menu-comment {font-family: serif}
  34. pre.menu-preformatted {font-family: serif}
  35. pre.smalldisplay {font-family: inherit; font-size: smaller}
  36. pre.smallexample {font-size: smaller}
  37. pre.smallformat {font-family: inherit; font-size: smaller}
  38. pre.smalllisp {font-size: smaller}
  39. span.nolinebreak {white-space: nowrap}
  40. span.roman {font-family: initial; font-weight: normal}
  41. span.sansserif {font-family: sans-serif; font-weight: normal}
  42. ul.no-bullet {list-style: none}
  43. -->
  44. </style>
  45. </head>
  46. <body lang="en">
  47. <a name="Syscalls"></a>
  48. <div class="header">
  49. <p>
  50. Next: <a href="Arglists.html#Arglists" accesskey="n" rel="next">Arglists</a>, Previous: <a href="Overflow-Protection.html#Overflow-Protection" accesskey="p" rel="prev">Overflow Protection</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="Document-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Document-Index.html#Document-Index" title="Index" rel="index">Index</a>]</p>
  51. </div>
  52. <hr>
  53. <a name="System-Calls"></a>
  54. <h2 class="chapter">13 System Calls</h2>
  55. <a name="index-linking-the-C-library"></a>
  56. <p>The C subroutine library depends on a handful of subroutine calls for
  57. operating system services. If you use the C library on a system that
  58. complies with the POSIX.1 standard (also known as IEEE 1003.1), most of
  59. these subroutines are supplied with your operating system.
  60. </p>
  61. <p>If some of these subroutines are not provided with your system&mdash;in
  62. the extreme case, if you are developing software for a &ldquo;bare board&rdquo;
  63. system, without an OS&mdash;you will at least need to provide do-nothing
  64. stubs (or subroutines with minimal functionality) to allow your
  65. programs to link with the subroutines in <code>libc.a</code>.
  66. </p>
  67. <table class="menu" border="0" cellspacing="0">
  68. <tr><td align="left" valign="top">&bull; <a href="Stubs.html#Stubs" accesskey="1">Stubs</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Definitions for OS interface
  69. </td></tr>
  70. <tr><td align="left" valign="top">&bull; <a href="Reentrant-Syscalls.html#Reentrant-Syscalls" accesskey="2">Reentrant Syscalls</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Reentrant covers for OS subroutines
  71. </td></tr>
  72. </table>
  73. </body>
  74. </html>