/* Main loop */
do {
-
/* Init all structures */
reset_stats();
* @curr Index in array for current sample statistics.
* @file System activity data file name (name of file being read).
* @tab Number of tabulations to print.
- * @file_actlst List of (known or unknown) activities in file.
* @file_magic System activity file magic header.
+ * @file_actlst List of (known or unknown) activities in file.
* @rectime Structure where timestamp (expressed in local time or in UTC
* depending on whether options -T/-t have been used or not) can
* be saved for current record.
* Display the field list (used eg. in database format).
*
* IN:
- * @act_d Activity to display, or ~0 for all.
+ * @act_id Activity to display, or ~0 for all.
***************************************************************************
*/
void list_fields(unsigned int act_id)
* Save or restore position in file.
*
* IN:
- * @ifd File descriptor of input file.
+ * @ifd File descriptor of input file.
* @action DO_SAVE to save position or DO_RESTORE to restore it.
***************************************************************************
*/
* @cur_date Date string of current restart message.
* @cur_time Time string of current restart message.
* @utc True if @cur_time is expressed in UTC.
- * @file_hdr System activity file standard header (unused here).
+ * @file_hdr System activity file standard header.
*
* OUT:
* @tab Number of tabulations.
* @cur_date Date string of current restart message.
* @cur_time Time string of current restart message.
* @utc True if @cur_time is expressed in UTC.
- * @file_hdr System activity file standard header (unused here).
+ * @file_hdr System activity file standard header.
*
* OUT:
* @tab Number of tabulations.
* @cur_date Date string of current restart message.
* @cur_time Time string of current restart message.
* @utc True if @cur_time is expressed in UTC.
- * @file_hdr System activity file standard header (unused here).
+ * @file_hdr System activity file standard header.
***************************************************************************
*/
__printf_funct_t print_raw_restart(int *tab, int action, char *cur_date,