Top "Stdio" questions

This tag is for questions regarding "Standard I/O", i.e. I/O using the facilities in the C header <stdio.

Where can I find the implementation of stdio.h in Visual Studio?

I could find stdio.h header file easily through search in Windows Explorer, but couldn't find its implementation file like …

visual-studio header-files stdio
String Stream in C

print2fp(const void *buffer, size_t size, FILE *stream) { if(fwrite(buffer, 1, size, stream) != size) return -1; return 0; } How …

c string stream stdio
Clang Error - stddef file not found?

After upgrading to Ubuntu 13.10 "Saucy", Clang now gives me the error message: clang -Wall -Werror -std=c99 -ggdb -O0 5.1.c …

c linux ubuntu clang stdio
How to send output to stderr?

One uses this to send output to stdout: println!("some output") I think there is no corresponding macro to do …

rust stdio
stdio vs iostream

When I search on the internet for the difference between these two libraries, everyone says that <iostream> is …

c++ io iostream stdio
What does "< /dev/null >& /dev/null" at the end of a command do?

One of the scripts I run over ssh was hanging and I found a solution for it on this site: …

linux bash stdio
Arduino: printf/fprintf prints question mark instead of float

I have the following code for an Arduino sketch: #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); static FILE lcdout = {0} ; static …

c arduino stdio printf
whitespace in the format string (scanf)

Consider the following code: #include<stdio.h> int main() { int i=3, j=4; scanf("%d c %d",&i,&…

c input whitespace scanf stdio
Write to stdout in JNI Android? Without <android/log.h>

I have changed the HelloJni sample of the android ndk, I want to write something to the stdout. Here is …

android android-ndk java-native-interface logcat stdio
How can I trap a signal (`SIGPIPE`) for a socket that closes?

I've written a server that accepts a socket connection on a secondary port for the purposes of streaming debugging information …

linux sockets stdio