Top "Io" questions

In computing, input/output, or I/O, refers to the communication between an information processing system (such as a computer), and the outside world, possibly a human, or another information processing system.

How do you do non-blocking console I/O on Linux in C?

How do you do nonblocking console IO on Linux/OS X in C?

c linux macos io nonblocking
Get a TextReader from a Stream?

I'm trying to read an embedded text file with System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(resource); but it gives me a …

c# .net io
How can I use "puts" to the console without a line break in ruby on rails?

I have a method which goes through a loop -- I want it to output a "." each loop so I …

ruby io console
Java: Difference between PrintStream and PrintWriter

What is the difference between PrintStream and PrintWriter? They have many methods in common due to which I often mix …

java io printwriter printstream
FileStream vs/differences StreamWriter?

Question: What is different between FileStream and StreamWriter in .Net? What context are you supposed to use it? What is …

c# io filestream streamwriter
How are the O_SYNC and O_DIRECT flags in open(2) different/alike?

The use and effects of the O_SYNC and O_DIRECT flags is very confusing and appears to vary somewhat …

io posix synchronous
Getting path to the parent folder of the solution file using C#

I am a beginner in C#, and I have a folder from which I am reading a file. I want …

c# file path io streamreader
What to import to use IOUtils.toString()?

I am trying to use IOUtils.toString() to read from a file. However, I am getting an error saying "IOUtils …

java apache io tostring
What’s the correct way to use printf to print a clock_t?

I'm currently using a explicit cast to unsigned long long and using %llu to print it, but since size_t …

c io printf clock
How to purge disk I/O caches on Linux?

I need to do it for more predictable benchmarking.

linux caching io disk