Difference between API and ABI

前端 未结 9 2040
余生分开走
余生分开走 2020-12-04 04:34

I am new to linux system programming and I came across API and ABI while reading Linux System Programming.

Definition of API :

9条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 05:10

    This is my layman explanations:

    • API - think of include files. They provide programming interfaces.
    • ABI - think of kernel module. When you run it on some kernel, it has to agree on how to communicate without include files, i.e. as low-level binary interface.

提交回复
热议问题