Searched refs:exec_name (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A DPexecname.c266 char exec_name[PATH_MAX]; local
275 (void) snprintf(exec_name, sizeof (exec_name),
277 if ((ret = readlink(exec_name, buf, buflen - 1)) > 0) {
287 (void) snprintf(exec_name, sizeof (exec_name),
290 if (stat64(exec_name, &st) != 0 || !S_ISREG(st.st_mode))

Completed in 715 milliseconds