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

/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dmain.c54 char *apath = NULL; local
87 apath = (char *)malloc(strlen(optarg) +
89 if (apath == NULL)
93 apath = strcpy(apath, optarg);
235 if (apath != NULL)
236 ypath = strcat(apath, strrchr(ypath, '/'));
244 free(apath);
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathkey.c41 pathkey(char* key, char* attr, const char* lang, const char* tool, const char* apath) argument
43 register char* path = (char*)apath;
/illumos-gate/usr/src/cmd/praudit/
H A Dtoken.c609 char *apath; /* anchored path */ local
626 apath = anchor_path(path);
629 apath = path;
630 cpath = collapse_path(apath);
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1506 char apath[MAXPATHLEN], mpath[MAXPATHLEN]; local
1543 if (snprintf(apath, sizeof (apath), "%s%s", rootdir,
1544 TMPALLOC) >= sizeof (apath))
1546 apathp = apath;
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c8262 char *apath; local
8269 apath = kmem_alloc(len, KM_SLEEP);
8270 (void) strcpy(apath, pathbuf);
8309 adjust_ancestors(apath, wasvolpmd);
8310 /* restore apath */
8311 (void) strcpy(apath, pathbuf);
8320 adjust_ancestors(apath, wasvolpmd);
8321 kmem_free(apath, len);

Completed in 93 milliseconds