Home
last modified time | relevance | path

Searched refs:base_name (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/tcpd/
H A Dinetcf.c40 static char *base_name();
171 char *base_name_path = base_name(path);
172 char *tcpd_proc_name = (arg0[0] == '/' ? base_name(arg0) : arg0);
218 if (arg0[0] == '/' && STR_EQ(tcpd_proc_name, base_name(arg1)))
309 static char *base_name(path) in base_name() function
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c85 static char *prog_path_expand(const char *base_name);
554 prog_path_expand(const char *base_name) in prog_path_expand() argument
562 base_len = strlen(base_name); in prog_path_expand()
565 if (NULL != strchr(base_name, '/')) { in prog_path_expand()
566 if (0 == access(base_name, X_OK)) { in prog_path_expand()
567 return (strdup_vital(base_name)); in prog_path_expand()
583 (void) memcpy(path + dir_len, base_name, base_len + 1); in prog_path_expand()