Lines Matching defs:n

43 #define	FORMFS_MSG ",\\n\\ \\ or [f] to format %s and place a filesystem on it"
44 #define FORMAT_MSG ",\\n\\ \\ or [f] to format the %s"
45 #define MAKEFS_MSG ",\\n\\ \\ or [m] to place a filesystem on %s"
46 #define EJECT_MSG ",\\n\\ \\ or [e] to eject the %s"
47 #define UNLOAD_MSG ",\\n\\ \\ or [u] to unload/offline the %s"
48 #define WLABEL_MSG ",\\n\\ \\ or [w] to write a new label on the %s"
49 #define OLABEL_MSG ",\\n\\ \\ or [o] to use the current label anyway"
50 #define QUIT_MSG ",\\n\\ \\ or [q] to quit"
52 #define ERR_ACCESS "\n%s (%s) cannot be accessed.\n"
53 #define ERR_FMT "\nAttempt to format %s failed.\n"
54 #define ERR_MKFS "\nAttempt to place filesystem on %s failed.\n"
55 #define ERR_REMOVE "\nExecution of \"removecmd\"[%s] failed.\n"
104 int n, override;
138 n = insert(device, label, options, prompt);
139 if (n < 0)
141 else if (n)
142 return (n); /* input function failed */
185 int n, c;
209 n = (int)strlen(look);
211 if (strncmp(pt, look, n) == 0) {
217 n = (int)strlen(look);
221 n = (int)strlen(look);
247 int n;
250 if (n = ckstr(fsname, NULL, LABELSIZ, NULL, NULL, NULL,
252 return (n);
256 if (n = ckstr(volname, NULL, LABELSIZ, NULL, NULL, NULL,
258 return (n);
264 "/etc/labelit %s \"%s\" \"%s\" -n 1>&2",
289 int n;
338 " should appear on the %s:\\n\\t%s",
348 "\\n\\t%s\\n", label);
354 n = 0;
356 keyword[n++] = "go";
362 keyword[n++] = "f";
366 keyword[n++] = "f";
371 keyword[n++] = "m";
377 keyword[n++] = "f";
383 keyword[n++] = "w";
387 keyword[n++] = "o";
393 keyword[n++] = "e";
397 keyword[n++] = "u";
400 keyword[n] = NULL;
409 if (n = ckkeywd(strval, keyword, NULL, NULL, NULL, pt))
410 return (n);
441 (void) fprintf(stderr, "\t[%s]\n", fmtcmd);
449 (void) fprintf(stderr, "\t[%s]\n", mkfscmd);
468 (void) fprintf(stderr, "\t[%s]\n", removecmd);
484 (void) fprintf(stderr, "\nLabel incorrect.\n");
487 "The internal label on the inserted %s is\n", volume);
490 (void) fprintf(stderr, "\t%s,%s\n", fsname, volname);