• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/zsh-61/zsh/Src/Modules/

Lines Matching refs:outbuf

47 statmodeprint(mode_t mode, char *outbuf, int flags)
50 sprintf(outbuf, (flags & STF_OCTAL) ? "0%lo" : "%lu",
53 strcat(outbuf, " (");
123 strcat(outbuf, pm);
125 strcat(outbuf, ")");
132 statuidprint(uid_t uid, char *outbuf, int flags)
135 sprintf(outbuf, "%lu", (unsigned long)uid);
137 strcat(outbuf, " (");
144 strcat(outbuf, pwd->pw_name);
149 for (optr = outbuf; *optr; optr++)
154 strcat(outbuf, ")");
161 statgidprint(gid_t gid, char *outbuf, int flags)
164 sprintf(outbuf, "%lu", (unsigned long)gid);
166 strcat(outbuf, " (");
173 strcat(outbuf, gr->gr_name);
178 for (optr = outbuf; *optr; optr++)
183 strcat(outbuf, ")");
191 stattimeprint(time_t tim, char *outbuf, int flags)
194 sprintf(outbuf, "%ld", (unsigned long)tim);
196 strcat(outbuf, " (");
199 char *oend = outbuf + strlen(outbuf);
210 statulprint(unsigned long num, char *outbuf)
212 sprintf(outbuf, "%lu", num);
218 statlinkprint(struct stat *sbuf, char *outbuf, char *fname)
224 (num = readlink(fname, outbuf, PATH_MAX)) > 0) {
226 outbuf[num] = '\0';
233 statprint(struct stat *sbuf, char *outbuf, char *fname, int iwhich, int flags)
235 char *optr = outbuf;
238 sprintf(outbuf, (flags & (STF_PICK|STF_ARRAY)) ?
240 optr += strlen(outbuf);
543 char outbuf[PATH_MAX + 9]; /* "link " + link name + NULL */
549 sprintf(outbuf, "%d", fd);
550 zwarnnam(name, "%s: %e", OPT_ISSET(ops,'f') ? outbuf : *args,
569 statprint(&statbuf, outbuf, *args, iwhich, flags);
571 *arrptr++ = metafy(outbuf, -1, META_DUP);
575 *hashptr++ = metafy(outbuf, -1, META_DUP);
577 printf("%s\n", outbuf);
581 statprint(&statbuf, outbuf, *args, i, flags);
583 *arrptr++= metafy(outbuf, -1, META_DUP);
587 *hashptr++ = metafy(outbuf, -1, META_DUP);
589 printf("%s\n", outbuf);