Home
last modified time | relevance | path

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

/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c44 struct afile { struct
79 static struct afile *gstat(struct afile *, char *, int, off_t *); argument
83 static char *fmtentry(struct afile *);
86 static void formatf(struct afile *, struct afile *);
87 static off_t getdir(char *, struct afile **, struct afile **);
93 struct afile *fp0, *fplast; in main()
94 register struct afile *fp; in main()
170 fp = (struct afile *)calloc(argc, sizeof (struct afile)); in main()
185 qsort(fp0, fplast - fp0, sizeof (struct afile), fcmp); in main()
222 register struct afile *fp; in formatd()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Danlwrk.c80 static char afile[NAMESIZE]; /* file with line count for book marks */ in anlwrk() local
109 (void) strncpy(afile, BASENAME(file, '/'), NAMESIZE); in anlwrk()
110 afile[NAMESIZE-1] = NULLCHAR; in anlwrk()
111 *afile = BOOKMARK_PRE; /* make up name by replacing C with A */ in anlwrk()
113 p_bookmark = fopen(afile, "r"); in anlwrk()
132 (void) unlink(afile); in anlwrk()
147 (void) unlink(afile); in anlwrk()
153 p_bookmark = fopen(afile, "w"); /* update bookmark file */ in anlwrk()
155 errent(Ct_OPEN, afile, errno, __FILE__, __LINE__); in anlwrk()
157 chmod(afile, CFILEMODE); in anlwrk()
H A Duustat.c1231 char comparef[MAXBASENAME+1], afile[MAXBASENAME+1], cfile[MAXBASENAME+1]; local
1245 (void) strcpy(afile, comparef);
1246 *strchr(afile, 'A') = ' ';
1250 if (EQUALS(cfile, afile)) {
/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c41 static int fcmp(struct afile *, struct afile *);
42 static char *fmtentry(struct afile *);
592 static struct afile single; in expandarg()
595 ap->head = ap->last = (struct afile *)0; in expandarg()
627 struct afile *fp; in printlist()
630 struct afile single; in printlist()
648 alist.head = (struct afile *)0; in printlist()
708 struct afile *fp; in formatf()
803 fcmp(struct afile *f1, struct afile *f2) in fcmp()
813 fmtentry(struct afile *fp) in fmtentry()
H A Drestore.h190 struct afile { struct
197 struct afile *head; /* start of argument list */ argument
198 struct afile *last; /* end of argument list */
199 struct afile *base; /* current list arena */
H A Dutilities.c770 struct afile *fp; in mkentry()
774 ap->base = (struct afile *)calloc((unsigned)ap->nent, in mkentry()
789 ap->base = (struct afile *)realloc((char *)ap->base, in mkentry()
H A Dmain.c492 alist.head = (struct afile *)NULL; in main()
/illumos-gate/usr/src/lib/lib9p/common/
H A Drequest.c504 struct l9p_fid **afile) in fid_lookup() argument
545 *afile = file; in fid_lookup()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Diffe.sh881 \b#include "FEATURE/\b\afile\a". The \bnmake\b(1) base rules contain