Questions tagged [streams]

In computer networking, STREAMS is the native framework in Unix System V for implementing character devices.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
146 views

How to pipe all output streams to another process?

Take the following Bash script 3-output-writer.sh: echo A >&1 echo B >&2 echo C >&3 Of course when ran as . 3-output-writer.sh it gets the error 3: Bad file descriptor, because ...
1
vote
0answers
28 views

Proper (working) way to return an int pointer through STREAMS?

I had been doing some work with an old SVR4 box with serial i/o when I found that the driver for the serial card did not support TIOCMGET through an ioctl call (e.g. ioctl(fd, TIOCMGET, &arg);). ...
0
votes
0answers
28 views

Spawn a terminal and redirect its stdout to original process

I'm trying to spawn a new terminal, execute a few commands and pipe their output to stdin of the original process. A mwe of what I'm trying to do is the following bash one-liner: $ xterm -e sh -c &...
0
votes
0answers
14 views

Stream Video with Audio to a virtual device

I am able to write my video to virtual video device with the help of V4l2. Though video plays, audio is not available in the other end in Google meet. How to get stream audio of the video also. I am ...
0
votes
0answers
28 views

plex media server running on debian check for ongoing streams in bash

How can I check on my debian server, if content is being used (streamed) by the plex media server? I want to know if someone is using the server and react to that. Is there a way to find out via ...