argv[0]可能得到相对路径, 例如./cmd
"/proc/进程id"也是这种情况, pidin也类似
不能象linux下,
ls -l /proc/进程id
直接看到连接地址
用fullpath命令
$ cd /bin $ fullpath ./ls /bin/ls