Reputation: 77
I am working on an implementation of named pipes client/server for school. I have asked my teacher what happens if i use unlink while either of the pipes end is still opened. He had no answer for me.
Anyone know?
Upvotes: 3
Views: 1342
Reputation: 229244
Nothing in particular happens, except the name is removed from the file system so no future processes can open the same named pipe.
The processes that has the pipe open will continue as normal.
Upvotes: 3