-
January 11th, 2009, 03:51 PM
#1
Write to stdin and read from stdout
Hello,
I was wondering how I could write something to stdin and read from stdout or stderr. I understand that stdin is normally for incoming data (from the keyboard) and that we usually write to stdout and/or stderr. I believe I might need to work with the file descriptors and use pipes but I'm really not sure how that works. If anyone is able to help it would be greatly appreciated.
Thanks,
Bill
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|