24 #if (defined(sun) || defined(__sun) || defined(__sun__)) && defined(__SVR4) 26 #define METHOD_SYMLINK 27 #define SYMLINK_PATH "/proc/self/path/a.out" 30 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) 32 #define METHOD_SYMLINK 33 #define SYMLINK_PATH "/proc/curproc/file" 36 #if defined(__linux__) || defined(__linux)|| defined(linux) 38 #define METHOD_SYMLINK 39 #define SYMLINK_PATH "/proc/self/exe" 42 #if defined(HAVE_PROC_PIDPATH) 68 #ifdef HAVE_PROC_PIDPATH
GLenum GLuint GLenum GLsizei const GLchar * buf
_Check_return_ _CRTIMP char *__cdecl strdup(_In_opt_z_ const char *_Src)
_CRTIMP int __cdecl getpid(void)
EXPORT char * getexecpath()
int readlink(const char *path, char *buf, size_t size)