Lines Matching refs:buf
103 char buf[SMBIOC_MAX_NAME], *cp;
105 if (gethostname(buf, sizeof (buf)) != 0)
107 cp = strchr(buf, '.');
110 cp = strdup(buf);
343 static char buf[MAXPATHLEN];
349 (void) snprintf(buf, MAXPATHLEN, "KRB5CCNAME=%s", path);
354 (void) snprintf(buf, MAXPATHLEN, "KRB5CCNAME=%s", path);
364 (void) snprintf(buf, MAXPATHLEN,
370 (void) snprintf(buf, MAXPATHLEN,
378 if (putenv(buf) != 0) {
413 char *npw, *p, pwbuf[256], buf[256];
438 (void) smbfs_simpledecrypt(buf, npw);
439 npw = buf;
470 smbfs_hexdump(const void *buf, int len)
472 const uchar_t *p = buf;
646 char buf[2048];
650 (void) vsnprintf(buf, 2048, fmt, ap);
653 (void) fprintf(stderr, "%s: %s\n", fname, buf);
654 syslog(LOG_DEBUG, "%s: %s", fname, buf);