afile
static int fcmp(struct afile *, struct afile *);
static char *fmtentry(struct afile *);
static struct afile single;
ap->head = ap->last = (struct afile *)0;
struct afile *fp;
struct afile single;
alist.head = (struct afile *)0;
struct afile *fp;
fcmp(struct afile *f1, struct afile *f2)
fmtentry(struct afile *fp)
alist.head = (struct afile *)NULL;
struct afile *head; /* start of argument list */
struct afile *last; /* end of argument list */
struct afile *base; /* current list arena */
struct afile *fp;
ap->base = (struct afile *)calloc((unsigned)ap->nent,
ap->base = (struct afile *)realloc((char *)ap->base,
(void) strncpy(afile, BASENAME(file, '/'), NAMESIZE);
afile[NAMESIZE-1] = NULLCHAR;
*afile = BOOKMARK_PRE; /* make up name by replacing C with A */
p_bookmark = fopen(afile, "r");
(void) unlink(afile);
(void) unlink(afile);
p_bookmark = fopen(afile, "w"); /* update bookmark file */
errent(Ct_OPEN, afile, errno, __FILE__, __LINE__);
chmod(afile, CFILEMODE);
static char afile[NAMESIZE]; /* file with line count for book marks */
char comparef[MAXBASENAME+1], afile[MAXBASENAME+1], cfile[MAXBASENAME+1];
(void) strcpy(afile, comparef);
*strchr(afile, 'A') = ' ';
if (EQUALS(cfile, afile)) {
struct l9p_fid **afile)
*afile = file;
fp = (struct afile *)calloc(argc, sizeof (struct afile));
qsort(fp0, fplast - fp0, sizeof (struct afile), fcmp);
register struct afile *fp;
struct afile *dfp0, *dfplast;
qsort(dfp0, dfplast - dfp0, sizeof (struct afile), fcmp);
getdir(char *dir, struct afile **pfp0, struct afile **pfplast)
register struct afile *fp;
fp = *pfp0 = (struct afile *)calloc(nent, sizeof (struct afile));
*pfp0 = (struct afile *)realloc((char *)*pfp0,
2 * nent * sizeof (struct afile));
static struct afile *
gstat(struct afile *fp, char *file, int statarg, off_t *pnb)
static struct afile azerofile;
formatf(struct afile *fp0, struct afile *fplast)
register struct afile *fp;
const struct afile *f1 = arg1;
const struct afile *f2 = arg2;
static char *fmtinum(struct afile *);
static char *fmtsize(struct afile *);
static char *fmtlstuff(struct afile *);
fmtentry(struct afile *fp)
fmtinum(struct afile *p)
fmtsize(struct afile *p)
fmtlstuff(struct afile *p)
static struct afile *gstat(struct afile *, char *, int, off_t *);
static char *fmtentry(struct afile *);
static void formatf(struct afile *, struct afile *);
static off_t getdir(char *, struct afile **, struct afile **);
struct afile *fp0, *fplast;
register struct afile *fp;