Linux: Sharing a file descriptor to another process

1137300 pts.
Tags:
IPC
Linux
We have two Linux processes. Here's my question: If we perform int fd=open(somefile) in one of the processes, would we be able to pass the value of the file descriptor over IPC to the other process and then have it manipulate the same file?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: