/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.dir.h | 18 * Structure for entries in directory stack. 20 struct directory { struct 21 struct directory *di_next; /* next in loop */ 22 struct directory *di_prev; /* prev in loop */ 26 struct directory *dcwd; /* the one we are in now */
|
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathfind.c | 34 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode)) macro 37 typedef struct Dir_s /* directory list element */ 40 char dir[1]; /* directory path */ 43 static struct /* directory list state */ 45 Dir_t* head; /* directory list head */ 46 Dir_t* tail; /* directory list tail */ 59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st)) 115 * check the directory of the including file
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | utility.c | 132 * file with a specific prefix in a single directory, usually 158 char directory[MAXNAMESIZE]; local 161 /* Separate prefix into directory part and file name part. */ 163 strncpy(directory, prefix, MAXNAMESIZE); 164 directory[MAXNAMESIZE-1] = NULLCHAR; 165 namePrefix = strrchr(directory, '/'); 167 *namePrefix++ = NULLCHAR; /* Terminate directory part */ 171 processes = cuantos(namePrefix, directory); 180 * return the number of files in directory <dir> who's names
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | rm.c | 45 "[d:directory?\bremove\b(3) (or \bunlink\b(2)) directories rather than" 48 " constitution, to use this option. Even though the directory must" 58 " enabled) for each directory before attempting to remove directory" 86 int directory; /* remove(dir) not rmdir(dir) */ member in struct:State_s 133 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search"); 154 error(2, "%s: directory", ent->fts_path); 183 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context)) 197 error(1, "%s: hard link to directory", ent->fts_path); 204 if (isempty(ent) || state->directory) [all...] |
H A D | cp.c | 36 "[+DESCRIPTION?If the last argument names an existing directory, \bcp\b" 38 " directory. Otherwise, if only two files are given, \bcp\b copies" 40 " not a directory and more than two files are given. By default" 48 " to the target directory a slash and the specified source file name." 49 " The last argument must be an existing directory. Missing destination" 62 "[+DESCRIPTION?If the last argument names an existing directory, \bln\b" 64 " directory. Otherwise, if only two files are given, \bln\b links" 66 " not a directory and more than two files are given. By default" 72 "[+DESCRIPTION?If the last argument names an existing directory, \bmv\b" 74 " directory 147 int directory; /* destination is directory */ member in struct:State_s [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_client.c | 42 #include "directory.h" 60 struct directory { struct 65 * Set up a directory search context. 94 "Insufficient memory setting up directory access", NULL); 101 * Tear down a directory search context. 211 /* For each directory entry returned */ 236 * Create a directory datum. Note that we allocate an extra byte and 275 * Unmarshall an RPC directory entry into an API directory entry. 302 "Insufficient memory copying directory entr [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mount.c | 514 char *hostname, *directory; local 528 directory = (char *)getxdr_string(buff2, MNTPATHLEN); 529 (void) sprintf(get_line(0, 0), " %s:%s", hostname, directory); 545 return ("No such file or directory"); 551 return ("Not a directory");
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_yacc.y | 115 | base | block | cd | directory | file | find | fill 245 " directory\n"), temp_cwd); 276 directory : DIRECTORY label
|
/illumos-gate/usr/src/lib/libkmf/include/ |
H A D | kmfpolicy.h | 56 char *directory; member in struct:__anon3413 113 #define VAL_CRL_DIRECTORY validation_info.crl_info.directory 157 #define KMF_CRL_DIRECTORY_ATTR "directory" 175 #define KMF_CERT_MAPPER_DIR_ATTR "mapper-directory"
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | read2.cc | 574 Name directory; local 595 /* Read the dependencies. They are "<directory> <target-made>*/ 606 directory = 636 if ((line->body.recursive.directory == directory) && 646 line2->body.recursive.directory = directory; 1550 * current directory. 1891 gettext("Current working directory %s\n"),
|
H A D | doname.cc | 1291 * directory path (if one exists). 1297 * search the directory, and replace the dependency 1306 * dot The Name ".", used to read directory 1324 Name directory; local 1518 directory = dot; 1521 directory = GETNAME(pattern, start-pattern); 1525 if (read_dir(directory, p, line, library)) { 2805 * Reads the directory the specified file lives in. 2822 register Name directory = dot; local 2849 directory [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 156 static int directory; variable 397 if (directory) {
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 116 * parent directory by truncation. 173 hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base) argument 183 g_snprintf (path, sizeof (path), "%s/%s", directory, file); 208 hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument 215 if (hal_util_get_int_from_file (directory, file, &value, base)) 223 hal_util_get_uint64_from_file (const gchar *directory, const gchar *file, guint64 *result, gint base) argument 233 g_snprintf (path, sizeof (path), "%s/%s", directory, file); 259 hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument 266 if (hal_util_get_uint64_from_file (directory, file, &value, base)) 273 hal_util_get_bcd2_from_file (const gchar *directory, cons argument 349 hal_util_set_bcd2_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument 363 hal_util_get_string_from_file(const gchar *directory, const gchar *file) argument 410 hal_util_set_string_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument 497 hal_util_grep_file(const gchar *directory, const gchar *file, const gchar *linestart, gboolean reuse) argument 569 hal_util_grep_string_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument 604 hal_util_grep_int_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument 650 hal_util_set_string_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument 690 hal_util_set_int_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument 747 hal_util_set_bool_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, const gchar *expected, gboolean reuse) argument [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 357 * If the path we have so far is a directory, 358 * look for a format.dat file in that directory, 1307 char *directory = "/dev/rdsk"; local 1312 * Change directory to the device directory. This 1313 * gives us the most efficient access to that directory. 1317 err_print("Cannot get current directory - %s\n", 1321 if (chdir(directory) == -1) { 1322 err_print("Cannot set directory to %s - %s\n", 1323 directory, strerro 1507 char *directory = "/dev/rdsk/"; local 2958 char *directory = "/dev/rdsk/"; local [all...] |
/illumos-gate/usr/src/cmd/zic/ |
H A D | zic.c | 434 "\n\t[ -p posixrules ] [ -d directory ] [ -L leapseconds ] " 439 "\n\t[ -p posixrules ] [ -d directory ] [ -y yearistype ] " 446 static const char *directory; variable 484 if (directory == NULL) 485 directory = optarg; 544 if (directory == NULL) 545 directory = TZDIR; 604 fromname = ecpyalloc(directory); 611 toname = ecpyalloc(directory); 1519 (int)(strlen(directory) [all...] |
/illumos-gate/usr/src/cmd/make/include/mksh/ |
H A D | defs.h | 462 * This target is a directory that has been read 611 struct _Name *directory; member in struct:Recursive
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 484 "%s is not a directory", path); 884 const char *special, const char *directory) 902 argv[2] = (char *)directory; 908 argv[4] = (char *)directory; 918 cmdbuf, special, directory, status); 922 cmdbuf, opts, special, directory, status); 930 * component of the mount point path, so it must be a directory. 957 zerror(zlogp, B_FALSE, "%s is not a directory", path); 1001 zerror(zlogp, B_FALSE, "invalid mount directory, " 1009 * is added to all paths (even non-directory path 883 domount(zlog_t *zlogp, const char *fstype, const char *opts, const char *special, const char *directory) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 563 char *directory; variable 766 directory = optarg; 1474 if (directory && (ismounted == 0)) { 2806 * create the lost+found directory 2823 * create the root directory 2838 * construct a set of directory entries in "buf". 2839 * return size of directory. 3845 "command:\n\n\tlockfs -u %s\n\n"), directory); 4249 if (directory) { 4250 if (strcmp(mntp->mnt_mountp, directory) ! [all...] |