Retrieve filename from file descriptor in C

前端 未结 7 1517
野性不改
野性不改 2020-11-22 12:48

Is it possible to get the filename of a file descriptor (Linux) in C?

7条回答
  •  太阳男子
    2020-11-22 13:40

    In Windows, with GetFileInformationByHandleEx, passing FileNameInfo, you can retrieve the file name.

提交回复
热议问题