0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【用語解説】カーネルヘッダーとは・・・

Posted at

概要

定義

カーネルヘッダーとは、Linuxカーネルと外部プログラムのインターフェースを定義するヘッダーファイル群のこと。
具体的には、C言語で他のプログラムから呼び出せる関数や構造体、定数などの宣言が含まれている。

一般的な配置場所

標準的にはカーネルソースツリーのinclude/以下や、ディストリビューションでは、/usr/src/linux-headers-<バージョン>/include/のようなディレクトリに配置される。

目的

カーネルヘッダーは、カーネルの外にあるユーザースペースのライブラリやアプリケーションがカーネル機能を利用する際に必要不可欠だそう。また、それらをビルドする際も対象のカーネルバージョンに一致したヘッダーが必要となる。

参考文献(参照日:2025年5月26日)

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?