Searched defs:directory (Results 1 - 9 of 9) sorted by relevance
/ast/src/lib/libast/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
|
/ast/src/lib/libcmd/ |
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" 59 " enabled) for each directory before attempting to remove directory" 87 int directory; /* remove(dir) not rmdir(dir) */ member in struct:State_s 136 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search"); 157 error(2, "%s: directory", ent->fts_path); 186 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context)) 200 error(1, "%s: hard link to directory", ent->fts_path); 207 if (isempty(ent) || state->directory) [all...] |
H A D | cp.c | 36 "[+DESCRIPTION?If the last argument names an existing directory, \bcp\b " 37 "copies each \afile\a into a file with the same name in that directory. " 39 "the second. It is an error if the last argument is not a directory and " 54 "appending to the target directory a slash and the specified source file " 55 "name. The last argument must be an existing directory. Missing " 69 "[+DESCRIPTION?If the last argument names an existing directory, \bln\b " 70 "links each \afile\a into a file with the same name in that directory. " 72 "second. It is an error if the last argument is not a directory and more " 78 "[+DESCRIPTION?If the last argument names an existing directory, \bmv\b " 79 "renames each \afile\a into a file with the same name in that directory 161 int directory; /* destination is directory */ member in struct:State_s [all...] |
/ast/src/lib/libjcl/ |
H A D | find.c | 31 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode)) macro 34 static struct /* directory list state */ 36 Dirlist_t dirs; /* global directory list */ 176 if (dir && *(dir = (const char*)expand(jcl, dir, 0)) && !streq(dir, ".") && directory(dir, &st)) 288 * check the directory of the including file
|
/ast/src/cmd/pax/ |
H A D | pax-vdb.c | 34 Sfio_t* directory; /* directory trailer stream */ member in struct:Vdb_s 113 if (vdb->directory) 114 sfclose(vdb->directory); 181 if (!(vdb = newof(0, Vdb_t, 1, 0)) || !(vdb->directory = sfstropen())) 187 sfprintf(vdb->directory, "%c%s%c%s\n", VDB_DELIMITER, VDB_MAGIC, VDB_DELIMITER, state.volume); 188 paxwrite(pax, ap, sfstrbase(vdb->directory), sfstrtell(vdb->directory)); 189 sfstrseek(vdb->directory, 0, SEEK_SET); 190 sfprintf(vdb->directory, " [all...] |
H A D | pax.h | 134 #define SLASHDIR PAX_SLASHDIR /* trailing slash => directory */ 415 unsigned char directory; member in struct:Pattern_s 595 int delimiter; /* directory delimiter */ \
|
/ast/src/cmd/mam/ |
H A D | mamnew.c | 49 "[x:omit?Omit pathnames with directory \aprefix\a.]#[prefix]" 68 #define A_ancestor (A_LAST<<1) /* ancestor directory */ 70 #define A_directory (A_LAST<<3) /* source directory */ 81 struct rule* directory; /* directory prefix */ member in struct:local 364 x->directory = initdir(r->name, s);
|
/ast/src/cmd/INIT/ |
H A D | mamake.c | 71 " found in each leaf directory is scanned for leaf directory" 75 " \adirectory\a.]:[directory]" 221 char* directory; /* work in this directory */ member in struct:__anon22 224 char* pwd; /* current directory */ 268 fprintf(stderr, "Usage: %s [-iknFKNV] [-f mamfile] [-r pattern] [-C directory] [-D level] [target ...] [name=value ...]\n", state.id); 281 if (state.directory) 282 fprintf(sp, "%s [%s]: ", state.id, state.directory); 2135 state.directory [all...] |
/ast/src/cmd/nmake/ |
H A D | make.h | 343 #define D_source (1L<<15) /* .SOURCE directory */ 374 #define M_directory (1<<2) /* bind directory mark */ 442 typedef struct Dir_s /* scanned directory entry */ 444 char* name; /* directory name */ 446 unsigned char archive; /* directory is an archive */ 447 unsigned char directory; /* directory is a real directory*/ member in struct:Dir_s 455 Dir_t* dir; /* directory containing file */ 669 char* lib; /* related file lib directory */ [all...] |
Completed in 47 milliseconds