apps/top.c
/**
 * @brief Given a process, expand any columns that need to be bigger to fit it.
 */
@brief Given a process, expand any columns that need to be bigger to fit it.
@brief Given a process expand any columns that need to be bigger to fit it .
void update_column_widths(struct process * out) {
	int len;
	for (int * c = columns; *c; ++c) {
		if ((len = size_column(out, *c)) > ColumnDescriptions[*c].width) ColumnDescriptions[*c].width = len;
	}
}
void update_column_widths ( struct process * out ) { int len ; for ( int * c = columns ; * c ; ++ c ) { if ( ( len = size_column ( out , * c ) ) > ColumnDescriptions [ * c ] . width ) ColumnDescriptions [ * c ] . width = len ; } }
@brief Given a process, expand any columns that need to be bigger to fit it.
@brief Given a process expand any columns that need to be bigger to fit it .