<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20171229103256258296 { }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>is the posix api and the c api used together?</div><div><br></div><div>sorry . i am also confused about this two things . because i find that when i config the rtems kernel ,there is a option which is --enable posix.</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>bin.wang@qkmtech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:bin.wang@qkmtech.com">bin.wang@qkmtech.com</a></div><div><b>Date:</b> 2017-12-29 09:25</div><div><b>To:</b> <a href="mailto:chrisj@rtems.org">Chris Johns</a>; <a href="mailto:users@rtems.org">Users</a></div><div><b>Subject:</b> Re: Re: the difference between posix user and c user</div></div></div><div><div class="FoxDiv20171229103256258296">
<div style="orphans: auto; text-align: justify; widows: auto;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 16px; orphans: 2; widows: 2;">i google the posix .now i know that posix is the </span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 16px; orphans: 2; widows: 2;">abbreviation of "</span><span style="background-color: window; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 16px; line-height: 1.5; orphans: 2; widows: 2;">the Portable Operating System Interface" it is </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(34, 34, 34); font-family: sans-serif; orphans: 2; widows: 2;">for software compatibility with variants of </span><a href="https://en.wikipedia.org/wiki/Unix" title="Unix" style="font-size: 10.5pt; line-height: 1.5; background-color: window; text-decoration: none; color: rgb(11, 0, 128); background-image: none; font-family: sans-serif; orphans: 2; widows: 2;">Unix</a><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(34, 34, 34); font-family: sans-serif; orphans: 2; widows: 2;"> and other operating systems</span></div><div style="orphans: auto; text-align: justify; widows: auto;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(34, 34, 34); font-family: sans-serif; orphans: 2; widows: 2;"><br></span></div><div style="orphans: auto; text-align: justify; widows: auto;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window; color: rgb(34, 34, 34); font-family: sans-serif; orphans: 2; widows: 2;">but you said, "</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">POSIX and the Classic API are both C APIs."</span></div><div style="orphans: auto; text-align: justify; widows: auto;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">than i think the posix is packaged on the basis of the standard C, is it right ?</span></div><div style="orphans: auto; text-align: justify; widows: auto;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">the classic api is the standard c interface , is it right?</span></div><div style="orphans: auto; text-align: justify; widows: auto;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div style="orphans: auto; text-align: justify; widows: auto;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">best wishes</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>bin.wang@qkmtech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:chrisj@rtems.org">Chris Johns</a></div><div><b>Date:</b> 2017-12-29 02:18</div><div><b>To:</b> <a href="mailto:users@rtems.org">users</a></div><div><b>Subject:</b> Re: the difference between posix user and c user</div></div></div><div><div>On 29/12/17 12:00 am, bin.wang@qkmtech.com wrote:</div>
<div>> hi everyone:</div>
<div>> </div>
<div>> i am new to linux and rtems. i do not understand</div>
<div>> what the difference between posix user and c user .</div>
<div>> </div>
<div>> i am confused about these two concept. which condition i should choose posix ?</div>
<div>> which condition i should choose c ?</div>
<div>> </div>
<div> </div>
<div>This is a good question and it is understandable why you do not understand the</div>
<div>difference. The reason is specific to RTEMS and relates to it's history.</div>
<div> </div>
<div>The original RTEMS was written in Ada and C and the C API is what we now call</div>
<div>the Classic API. It's manual was called the C User Guide hence the name.</div>
<div> </div>
<div>The Ada version of RTEMS was removed from the source tree and POSIX came a while</div>
<div>later.</div>
<div> </div>
<div>POSIX and the Classic API are both C APIs. The C User manual is now called the</div>
<div>RTEMS Classic API Guide. See:</div>
<div> </div>
<div> https://docs.rtems.org/</div>
<div> </div>
<div>Chris</div>
<div>_______________________________________________</div>
<div>users mailing list</div>
<div>users@rtems.org</div>
<div>http://lists.rtems.org/mailman/listinfo/users</div>
</div></blockquote>
</div></div></blockquote>
</body></html>