Questions tagged [standard-library]

The standard library contains core utilities provided by all implementations of the language.

The standard library contains core utilities provided by all implementations of the language.

The size and scope of the standard library varies between languages, some provide only a few basic components for such things as string handling and I/O, whereas others provide higher-level tools for a wide variety of tasks such as XML processing, networking and database access.

For questions about specific languages' standard libraries use this tag in conjunction with the tag for the language, or use the indicated tags for these languages:

677 questions
-6
votes
2 answers

Procedure to include own functions to ANSI C Standard library

How one can include his/her own programming functions to standard C (ANSI C) library? And any one who is learning or working on C language able to use those functions anywhere anytime, no need of development in general. Example : someone developed…
Parth
  • 644
  • 4
  • 10
-6
votes
1 answer

Which is better, ch = '\n'; write(1, &ch, 1); or putchar('\n');?

I came across system call "write" then, I tried to compare "putchar" with "write". Now, I am confused with above lines of code.
1 2 3
…
45
46