Re: File descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks to ALL
I've solved this problem by myself. Just open /proc/getpid()/fd/old_fd for write.

On Tue, Aug 5, 2008 at 6:20 PM, Сергей - <sergeykleymenov@xxxxxxxxx> wrote:
Hello dear ALL,


How can I change access mode of existing file descriptor.
I have a file descriptor open for reading, and I need to write to this file descriptor.

Thanks.





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux