Linux下獲取程序絕對路徑(全路徑)的方法

Linux下獲取程序絕對路徑(全路徑)的方法code 直接上源代碼:get #include <stdio.h> #include <unistd.h> #define MAXL_PATH 1024 /** * NAME: getAbsopath * DESC: 獲取程序的絕對路徑 * REMK: Absopath - Absolute path */ char* getAbsopath()
相關文章
相關標籤/搜索