4 ms·
What are the advantages of using a named rather than an anonymous pipe?
by barbegal 6y ago
What are the advantages of using a named rather than an anonymous pipe?
- scarmig 6y agoHere? I guess that VLC displays whatever name you give the named pipe instead of just a file descriptor. In general, another advantage is that in scripts giving a pipe a name can sometimes aid in clarity, supposedly.
- gpvos 6y agoTechnically, they're the same kind of pipe as the anonymous ones you create in a shell. But you can give them a name yourself, and you can create one, then later have a program listening to it, and then later send data to it, from different programs if you want. You can also create them, send some data to them, and then later start a program to read that out, but you're likely to run into buffering issues with that. Also, don't forget to remove one when you don't use it anymore.