E
E
Egorithm2016-06-23 21:32:29
C++ / C#
Egorithm, 2016-06-23 21:32:29

Pure C. Where is the source code for the standard C library?

In general, I have MinGW. I got into the header files, and there are only function declarations and preprocessor directives and nothing more.
As I understand it, all header files are stored in object form.
I would like to know. Is this nonsense only on Windows or on Linux too?
Is the STANDARD LIBRARY (which is almost part of the language) some kind of secret?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2016-06-23
@EgoRusMarch

Неужели СТАНДАРТНАЯ БИБЛИОТЕКА (которая почти часть языка) это какой-то секрет?

Вовсе нет:
glibc: https://sourceware.org/git/?p=glibc.git;a=tree
musl: git.musl-libc.org/cgit/musl/tree
uclibc-ng: repo.or.cz/uclibc-ng.git/tree
newlib: https://sourceware.org/git/gitweb.cgi?p=newlib-cyg...
Просто обычному человеку эти исходники почти никогда не нужны.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question