Lines Matching defs:table
250 * the rcm_info_t data in the form of a table to the given character pointer.
253 scsi_rcm_info_table(rcm_info_t *rinfo, char **table)
270 if (rinfo == NULL || table == NULL)
273 /* Set localized table header strings */
308 /* Allocate space for the table */
310 if (*table == NULL) {
312 *table = calloc(table_size, sizeof (char));
313 if (*table == NULL)
316 newtable = realloc(*table, strlen(*table) + table_size);
320 *table = newtable;
323 /* Place a table header into the string */
326 (void) strcat(*table, "\n");
329 (void) strcat(*table, " ");
330 (void) strcat(*table, rsrc);
332 (void) strcat(*table, " ");
335 (void) strcat(*table, " ");
338 (void) strcat(*table, " ");
339 (void) strcat(*table, info);
341 (void) strcat(*table, " ");
344 (void) strcat(*table, "\n");
346 (void) strcat(*table, "-");
347 (void) strcat(*table, " ");
349 (void) strcat(*table, "-");
355 /* Add the tuples to the table string */
359 (void) strcat(*table, "\n");
360 (void) sprintf(&((*table)[strlen(*table)]),