FreeBSD/usr.bin/catman/catman.c
/*
 * Processes a single man section.
 */
Processes a single man section.
Processes a single man section .
static void
process_section(char *mandir, char *section)
{
	char *cat_section;
	if (already_visited(mandir, section, 1))
		return;
	if (verbose)
		fprintf(stderr, "  section %s\n", section);
	cat_section = get_cat_section(section);
	if (make_writable_dir(mandir, cat_section))
		scan_section(mandir, section, cat_section);
	free(cat_section);
}
static void process_section ( char * mandir , char * section ) { char * cat_section ; if ( already_visited ( mandir , section , 1 ) ) return ; if ( verbose ) fprintf ( stderr , " \n " , section ) ; cat_section = get_cat_section ( section ) ; if ( make_writable_dir ( mandir , cat_section ) ) scan_section ( mandir , section , cat_section ) ; free ( cat_section ) ; }
Processes a single man section.
Processes a single man section .