Top "C-standard-library" questions

The C standard library is the standard library for the C programming language, as specified in the ANSI C standard

What is the difference between getch() and getchar()?

What is the exact difference between the getch and getchar functions?

c io console-application stdio c-standard-library
Why isn't there int128_t?

A number of compilers provide 128-bit integer types, but none of the ones I've used provide the typedefs int128_t. …

c++ c c++-standard-library c-standard-library
Advantages of strncmp over strcmp?

Seems strncmp is usually recommended than strcmp, what are the advantages? I think it could be related to security. If …

c c-standard-library
what is difference between fgetpos/fsetpos and ftell/fseek

What's the difference between using the functions fgetpos() and fsetpos() and using the functions ftell() and fseek() to get and …

c c-standard-library
Header files are not found by GCC

Working with embedded C-projects. There are libraries, include files and so on - for micro controllers. No need for me …

linux gcc include-path c-standard-library
What does the first "c" stand for in "calloc"?

A student asked the question and I didn't know for sure. Guesses include: "counted", "clearing", "chunked", "complete", ... The standard library …

c malloc libc calloc c-standard-library
"getenv... function ... may be unsafe" - really?

I'm using MSVC to compile some C code which uses standard-library functions, such as getenv(), sprintf and others, with /W3 …

visual-c++ compiler-warnings crt getenv c-standard-library
What standard C library does Clang use? glibc, its own, or some other one?

I'm pretty sure glibc is the name of the standard C library implementation for gcc. But for LLVM/Clang I'm …

printf glibc llvm-clang libc c-standard-library