473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

where can i get the c library source code

Hi ,
can any one please help me to get the source code of the c library
( stdio.h , stdlib.h ....) ....

Thanks in advance
Prashanth ( Man who saw the end of war )
Nov 14 '05 #1
5 1569
Prashanth Badabagni wrote:
Hi ,
can any one please help me to get the source code of the c library
( stdio.h , stdlib.h ....) ....

Thanks in advance
Prashanth ( Man who saw the end of war )


There is no such thing as *the C library*; there are, however, several
implementations.

If you work with an open source platform, there's no problem -- just
Google for it.

If you don't, you'll have to contact your vendor (and likely pay a
considerable fee).

The other thing is that the `stdio.h and stdlib.h' are *headers*
containing principally declarations of library functions, not their
implementations.

HTH,
--ag

--
Artie Gold -- Austin, Texas
http://it-matters.blogspot.com (new post 12/5)
http://www.cafepress.com/goldsays
Nov 14 '05 #2
In article <d1**************************@posting.google.com >,
Prashanth Badabagni <b_*********@hotmail.com> wrote:
: can any one please help me to get the source code of the c library
:( stdio.h , stdlib.h ....) ....

gcc, glibc, linux, openbsd, freebsd...
--
Strange but true: there are entire WWW pages devoted to listing
programs designed to obfuscate HTML.
Nov 14 '05 #3
In VisualC6 lib sources ARE included.
I have the "Enterprise" edition.
Don't know, if sources are also included for
cheaper versions (probably not).
"Prashanth Badabagni" <b_*********@hotmail.com> schrieb im Newsbeitrag
news:d1**************************@posting.google.c om...
Hi ,
can any one please help me to get the source code of the c library
( stdio.h , stdlib.h ....) ....

Thanks in advance
Prashanth ( Man who saw the end of war )

Nov 14 '05 #4
Jens Marder wrote:

In VisualC6 lib sources ARE included.


Ha! Have you /looked/ at them?

Next time you have a moment, check out the source for, say, printf.
Here's the version that accompanied the v5 release (with much elision
of whitespace):

int __cdecl printf (
const char *format,
...
)
/** stdout 'PRINT', 'F'ormatted */
{
va_list arglist;
int buffing;
int retval;
va_start(arglist, format);
_ASSERTE(format != NULL);
_lock_str2(1, stdout);
buffing = _stbuf(stdout);
retval = _output(stdout,format,arglist);
_ftbuf(buffing, stdout);
_unlock_str2(1, stdout);
return(retval);
}

*Very* helpful to those of you planning on writing your own printf
mods, isn't it?
Nov 14 '05 #5
<posted & mailed>

There's hundreds of implementations, including a variety of open-source ones
you can download from the Internet (the GNU C library is especially widely
used).

If you want access to the source code for a proprietary implementation (like
Microsoft's), you need to contact the company an negotiate terms,
non-disclosure agreements, etc.

Prashanth Badabagni wrote:
Hi ,
can any one please help me to get the source code of the c library
( stdio.h , stdlib.h ....) ....

Thanks in advance
Prashanth ( Man who saw the end of war )


--
Remove '.nospam' from e-mail address to reply by e-mail
Nov 14 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Stegano | last post by:
I am learning C Programming after working with Java for 5 years. I want to know where can I find the source files for C language itself. For example strcat is a function, which concatenates two...
7
by: wwxw_0 | last post by:
I am going to have some look at the ansi C implemention source of linux, such as stdio, file operation and so on, Where can I get some source code, I have downloaded linux source code but I cann't...
15
by: amit.man | last post by:
Hi, i have newbie qestion, when i write #include <somthing.h> the precompiler subtitue that line with the lines from "somthing.h" header file. when, where and how the compiler insert the...
20
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.