Searched defs:basename (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dbasename.c36 #pragma weak _basename = basename
44 basename(char *s) function
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dbasename.c24 * basename(3) implementation
33 extern char *basename(register char *pathname) function
/illumos-gate/usr/src/tools/smatch/src/
H A Dcompile.c64 const char *basename = strrchr(file, '/'); local
65 basename = basename ? basename+1 : file;
70 emit_unit_begin(basename);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Dopenchild.c46 static char *basename(char *);
92 execl(SHELL, basename(SHELL), "-c", com, NULL);
124 basename(char *path) function
/illumos-gate/usr/src/lib/libshell/common/data/
H A Dsolaris_cmdlist.h72 #undef basename macro
77 ASTCMDLIST(basename)
78 GNUCMDLIST(basename)
79 XPG4CMDLIST(basename)
H A Dbuiltins.c46 #undef basename macro
128 CMDLIST(basename)
360 "[+?For each \apathname\a specified, the basename of the pathname "
361 "determines the name of the built-in. For each basename, the shell looks "
/illumos-gate/usr/src/lib/libxcurses/src/libc/gen/
H A Dbase.c30 * MKS Library -- basename -- produce base name of a file name
120 * Finds the basename of the given file. Spec1170 conformant.
123 basename(char *arg) function
142 basename(tmp));
155 printf("%s\t%s\n", dirname(arg), basename(tmp));
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_module_load.c250 const char *basename; local
260 basename = strbasename(name);
266 if ((v = mdb_nv_lookup(&mdb.m_dmodctl, basename)) != NULL) {
270 warn("%s is in the process of loading\n", basename);
273 warn("%s is already being unloaded\n", basename);
297 warn("unload of unregistered module %s\n", basename);
305 kmdb_module_request_unload(kmc, basename, mode);
/illumos-gate/usr/src/cmd/saf/
H A Dadmutil.c76 * args: bname - the basename of the file. For example foo/_config
272 * basename - name of script (relative to HOME (from misc.h))
276 do_config(char *script, char *basename) argument
308 tname = make_tempname(basename);
325 replace(basename, tname);
330 (void) sprintf(buf, "%s/%s", HOME, basename);
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dload_node.c204 search_for_fcode_file(fcode_env_t *env, char *basename) argument
206 return (find_lib_file(env, "", basename, ".fc", is_fcode_file));
/illumos-gate/usr/src/cmd/keyserv/
H A Dupdate.c61 static char *basename(char *path);
184 execl(SHELL, basename(SHELL), "-c", com, NULL);
213 basename(char *path) function
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dutil.c254 * objectname -- basename was taken (in man3c), so...
260 static char basename[MAXLINE]; local
268 (void) strlcpy(basename, p? p+1: name, MAXLINE);
269 if ((p = strstr(basename, ".c")) != NULL) {
272 return (strcat(basename, ".o"));
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dtruss.c155 char *basename; local
172 if ((basename = strrchr(lmp->l_name, '/')) != NULL)
173 basename++;
175 basename = lmp->l_name;
176 *cookie = (uintptr_t)basename;
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c54 static char *basename(char *);
70 basename(char *cp) function
229 cmdname = basename(argv[0]);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c280 buildDBName(const char *basename, const char *dbname) argument
285 if (basename)
287 if (( len = PL_strlen( basename )) > 3
288 && PL_strcasecmp( ".db", basename + len - 3 ) == 0 ) {
289 return (ldapssl_strdup(basename));
295 (( *(basename + pathlen - 1) != FILE_PATHSEP ) ||
296 ( *(basename + pathlen - 1) != '\\' )));
302 PL_strcpy( result, basename );
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c297 const char *kind, *basename; local
304 basename = defn;
357 if (mdb_ctf_lookup_by_name(basename, &id) != CTF_ERR) {
358 mdb_printf("type name %s already in use\n", basename);
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c109 char *basename; local
114 basename = argv[0];
125 (void) fprintf(stderr, "%s: permission denied\n", basename);
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c367 char temp[PATH_MAX], *basename; local
425 basename = pt;
429 srchp[nfp][i], basename);
437 (void) snprintf(host, sizeof (host), "%s/%s", dname[nfp], basename);
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c104 static char *basename(char *path);
205 cmdname = basename(argv[0]);
2216 * basename:
2222 basename(char *cp) function
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprof.c178 static char *basename(char *s);
360 cmdname = basename(*argv); /* command name. */
1187 basename(char *s) function
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h101 #undef basename macro
102 #define basename _ast_basename macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h80 #undef basename macro
81 #define basename _ast_basename macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h101 #undef basename macro
102 #define basename _ast_basename macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h80 #undef basename macro
81 #define basename _ast_basename macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h101 #undef basename macro
102 #define basename _ast_basename macro

Completed in 263 milliseconds

12