Home
last modified time | relevance | path

Searched refs:afile (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/ucbcmd/ls/
H A Dls.c46 struct afile { struct
81 static struct afile *gstat(struct afile *, char *, int, off_t *); argument
85 static char *fmtentry(struct afile *);
88 static void formatf(struct afile *, struct afile *);
89 static off_t getdir(char *, struct afile **, struct afile **);
95 struct afile *fp0, *fplast; in main()
96 register struct afile *fp; in main()
172 fp = (struct afile *)calloc(argc, sizeof (struct afile)); in main()
187 qsort(fp0, fplast - fp0, sizeof (struct afile), fcmp); in main()
224 register struct afile *fp; in formatd()
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Danlwrk.c82 static char afile[NAMESIZE]; /* file with line count for book marks */ local
111 (void) strncpy(afile, BASENAME(file, '/'), NAMESIZE);
112 afile[NAMESIZE-1] = NULLCHAR;
113 *afile = BOOKMARK_PRE; /* make up name by replacing C with A */
115 p_bookmark = fopen(afile, "r");
134 (void) unlink(afile);
149 (void) unlink(afile);
155 p_bookmark = fopen(afile, "w"); /* update bookmark file */
157 errent(Ct_OPEN, afile, errno, __FILE__, __LINE__);
159 chmod(afile, CFILEMODE);
H A Duustat.c1233 char comparef[MAXBASENAME+1], afile[MAXBASENAME+1], cfile[MAXBASENAME+1]; local
1247 (void) strcpy(afile, comparef);
1248 *strchr(afile, 'A') = ' ';
1252 if (EQUALS(cfile, afile)) {
/titanic_41/usr/src/cmd/backup/restore/
H A Dinteractive.c44 static int fcmp(struct afile *, struct afile *);
45 static char *fmtentry(struct afile *);
618 static struct afile single;
621 ap->head = ap->last = (struct afile *)0;
657 struct afile *fp;
660 struct afile single;
678 alist.head = (struct afile *)0;
739 struct afile *fp;
835 struct afile *f1, *f2; in fcmp()
846 struct afile *fp; in fmtentry()
H A Drestore.h216 struct afile { struct
223 struct afile *head; /* start of argument list */ argument
224 struct afile *last; /* end of argument list */
225 struct afile *base; /* current list arena */
H A Dutilities.c793 struct afile *fp;
797 ap->base = (struct afile *)calloc((unsigned)ap->nent,
812 ap->base = (struct afile *)realloc((char *)ap->base,
H A Dmain.c494 alist.head = (struct afile *)NULL; in main()