0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AUTOSAR: OSが主人公じゃない環境について

Posted at

Unixは、OSが主人公ではなく、Ethernet, TCP/IPを助けるありがたいサービス群。
Unixを使うのに、OSの知識はほとんど必要がない。

C言語は、HostedとFreestandingの2種類がある。

C.png

C言語とPOSIXは蜜につながっている。
Hostedは、main()関数がstartupである。
Freestandingでは、main()関数でなくてもよい。

実際には、POSIX関数とHosted関数

OSがない場合は、FreestandingのC言語規定を利用する。
POSIX OSより小さいOSは、FreestandingとそのOSを利用する。

OSEK/VDX は、OSが主人公ではない。
OSEK/VDX OSも、POSIX同様、Cの精神を継承している。

Cの精神とCの原則:C言語がわかるとは
https://qiita.com/kaizen_nagoya/items/d2a24a41f00c939c5e70

「本物のC」は「Cの精神」と 「freestanding と hosted」と「未定義、未規定、処理系定義」
https://qiita.com/kaizen_nagoya/items/11d66a02479239bf80dd

C言語を習得する3つの方法
https://qiita.com/kaizen_nagoya/items/84cab0888c193bba429b

C言語(C++)が必要な人と必要ない人
https://qiita.com/kaizen_nagoya/items/2afe9e846b55b24cb6f1

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?