Is it possible to recreate a file from an opened file descriptor? Is it possible to recreate a file from an opened file descriptor? unix unix

Is it possible to recreate a file from an opened file descriptor?


I'm afraid it is not possible because the link system call demands a valid file name (which means, an existing link) rather than an UNIX file descriptor. There is no flink function in the Single UNIX Specification.