Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取 MinGW/GLib 下的 Windows 快捷方式 lnk 文件(不是文件连接/符号链接)指向的文件大小。GLib 中的g_stat函数告诉我文件或文件连接的大小,但不告诉我 lnk 文件指向的文件的大小。任何人都可以在这里帮助我吗?
g_stat
你应该g_lstat改用(见这里)
g_lstat