Lines Matching refs:buffer
44 char *buffer;
62 buffer = malloc(80+2*strlen(request_name));
63 if (!buffer) {
68 sprintf(buffer, "usage:\n\t%s [topic|command]\nor\t%s\n",
70 ss_perror(sci_idx, 0, buffer);
71 free(buffer);
84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 +
86 if (!buffer) {
91 (void) strcpy(buffer, info->info_dirs[idx]);
92 (void) strcat(buffer, "/");
93 (void) strcat(buffer, argv[1]);
94 (void) strcat(buffer, ".info");
95 fd = open(buffer, O_RDONLY);
96 free(buffer);