本文介绍了在哪里可以找到stdio.h中函数的实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我学习C和我注意到,我找不到一些头文件,如执行文件,例如, stdio.h中这是包含一个库大量的输入/输出功能,如的printf 。我在哪里可以找到它的实现?

I study C and I noticed that I can't find the implementation file for some header files like, for example, stdio.h which is a library which contains a lot of input/output functions, like printf. Where can I find its implementation?

推荐答案

下载其中的一个:






  • glibc
  • uclibc
  • dietlibc
  • BSD libc

,或者甚至更好,下载其中的几个,并比较它们的实现。当然,这些都有可能做了很多比较,不同事物的的特定标准库的实现,但仍是如挺有意思具体的非平台的功能如sprintf的

Or, even better, download several of these and compare their implementations. Of course, these are likely doing a lot of things different compared to your particular standard library implementation, but would still be quite interesting for e.g. non-platform-specific functionality such as sprintf.

这篇关于在哪里可以找到stdio.h中函数的实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 13:38