MCPcopy Create free account
hub / github.com/coreutils/coreutils / alloc_table_row

Function alloc_table_row

src/df.c:367–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 can then be accessed with standard 2D array notation. */
366
367static void
368alloc_table_row (void)
369{
370 if (nrows == nrows_alloc)
371 table = xpalloc (table, &nrows_alloc, 1, -1, sizeof *table);
372 table[nrows++] = xinmalloc (ncolumns, sizeof *table[0]);
373}
374
375/* Output each cell in the table, accounting for the
376 alignment and max width of each column. */

Callers 2

get_headerFunction · 0.85
get_devFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected