Commit 47cb33ce authored by Ariful Islam Shoikot's avatar Ariful Islam Shoikot Committed by Jonathan Corbet
Browse files

docs: clarify wording in programming-language.rst



Clarify that the Linux kernel is written in C and improve
punctuation in the clang sentence.

Signed-off-by: default avatarAriful Islam Shoikot <islamarifulshoikat@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Message-ID: <20260214132842.1161-1-islamarifulshoikat@gmail.com>
parent 6c5c07bc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3,10 +3,10 @@
Programming Language
====================

The kernel is written in the C programming language [c-language]_.
More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
The Linux kernel is written in the C programming language [c-language]_.
More precisely, it is typically compiled with ``gcc`` [gcc]_
under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11.
``clang`` [clang]_ is also supported, see docs on
``clang`` [clang]_ is also supported; see documentation on
:ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.

This dialect contains many extensions to the language [gnu-extensions]_,