StackOverflow Questions for Tag: dup

Peter Žaucer
Peter Žaucer

Reputation: 1

Restoring stdin after dup2 without using fflush is inconsistent

Score: 0

Views: 56

Answers: 0

Read More
tahzibi.jafar
tahzibi.jafar

Reputation: 317

linux does opening /dev/fd/n is the same as duplicating it?

Score: 3

Views: 78

Answers: 1

Read More
Emre Kırmızı
Emre Kırmızı

Reputation: 3

intercommunicating using stdin and stdout between forked C processes

Score: 0

Views: 90

Answers: 1

Read More

Xterm pager - two terminal output - using pipe and dup2

Score: 1

Views: 427

Answers: 1

Read More
pierrotlefou
pierrotlefou

Reputation: 40761

practical examples use dup or dup2

Score: 74

Views: 117409

Answers: 5

Read More
iknn
iknn

Reputation: 19

Issues with file redirection when building a simple shell

Score: 1

Views: 52

Answers: 1

Read More
Eight
Eight

Reputation: 4284

How to redirect the output of system() to a file?

Score: 8

Views: 33781

Answers: 5

Read More
Harish Reddy
Harish Reddy

Reputation: 185

How to supply input to a thread which is polling for stdin, form another thread in the same process?

Score: 0

Views: 90

Answers: 1

Read More
David W.
David W.

Reputation: 107080

How can I test STDERR with Test::More?

Score: 6

Views: 676

Answers: 4

Read More
Leon
Leon

Reputation: 11

STM32 .hex file convert to .dup file

Score: 0

Views: 136

Answers: 0

Read More
MrRhabdos
MrRhabdos

Reputation: 23

Executing the ls | wc linux command in c program using 2 processes communicating trough a pipe

Score: 2

Views: 1200

Answers: 1

Read More
Lidor Cohen
Lidor Cohen

Reputation: 11

C program prints to terminal instead of file even after using dup2/dup

Score: 0

Views: 696

Answers: 1

Read More
BrokenStarz111
BrokenStarz111

Reputation: 41

How do I use 2 child processes one for executing command and the other one for reading output and passing it to the next?

Score: 0

Views: 288

Answers: 1

Read More
BrokenStarz111
BrokenStarz111

Reputation: 41

In C how to read the output of a process and write it in the input of another?

Score: 0

Views: 683

Answers: 1

Read More
BrokenStarz111
BrokenStarz111

Reputation: 41

In C how can i get the size of a pipe file descriptor without using READ or Write?

Score: 1

Views: 645

Answers: 0

Read More
BrokenStarz111
BrokenStarz111

Reputation: 41

Restore contents of a file descriptor after reading it?

Score: 1

Views: 313

Answers: 0

Read More
blue
blue

Reputation: 11

C restore stdin to the actual standard input after using dup2

Score: -3

Views: 768

Answers: 1

Read More
trexxet
trexxet

Reputation: 338

Redirecting stdout to pipe and reading from it from a single process

Score: 1

Views: 970

Answers: 1

Read More
Ilya Zlatkin
Ilya Zlatkin

Reputation: 86

piping and redirection for execv command

Score: 0

Views: 460

Answers: 1

Read More
Aki
Aki

Reputation: 359

Python: fork, pipe and exec

Score: 8

Views: 15480

Answers: 3

Read More
PreviousPage 1Next