How to get the absolute path for a given relative path programmatically in Linux?

后端 未结 7 1786
轻奢々
轻奢々 2020-12-05 07:33

How to get the absolute path for a given relative path programmatically in Linux?

Incase of Windows we have the _fullpath() API. In other words, I mean

相关标签:
7条回答
  • 2020-12-05 08:26

    There is the realpath from stdlib.h

    0 讨论(0)
提交回复
热议问题