Lines Matching refs:rname
68 static void sendf(char *rname, int opts);
237 char *rname; local
255 rname = exptilde(target, sizeof (target), src);
256 if (rname == NULL)
267 while (*rname == '/')
268 rname++;
271 rname = rindex(target, '/');
272 if (rname == NULL)
273 rname = target;
275 rname++;
278 printf("target = %s, rname = %s\n", target, rname);
298 strcpy(destination, rname);
302 sendf(rname, opts);
313 sendf(rname, opts) in sendf() argument
314 char *rname; in sendf()
328 printf("sendf(%s, %x%s)\n", rname, opts, printb(opts, OBITS));
336 if (index(rname, '\n')) {
338 "can't update\n", rname);
341 if ((u = update(rname, opts, &stb)) == 0) {
378 rname) >= sizeof (buf)) {
379 error("%s: Name too long\n", rname);
432 rname);
436 lp->pathname, rname);
438 error("%s: Name too long\n", rname);
450 protoname(), protogroup(), rname);
485 opts, lp->pathname, rname);
489 lp->pathname, rname);
491 error("%s: Name too long\n", rname);
508 protoname(), protogroup(), rname);
602 update(rname, opts, stp) in update() argument
603 char *rname; in update()
612 printf("update(%s, %x%s, %x)\n", rname, opts,
618 if (snprintf(buf, sizeof (buf), "Q%s\n", rname) >= sizeof (buf)) {
619 error("%s: Name too long\n", rname);