FreeBSD/usr.sbin/config/mkoptions.c
/*
 * read the options and options.<machine> files
 */
read the options and options. files
read the options and options . files
static void
read_options(void)
{
	char fname[MAXPATHLEN];
	SLIST_INIT(&otab);
	read_option_file("../../conf/options", 0);
	(void)snprintf(fname, sizeof fname, "../../conf/options.%s",
	    machinename);
	if (!read_option_file(fname, 0)) {
		(void)snprintf(fname, sizeof fname, "options.%s", machinename);
		read_option_file(fname, 0);
	}
	read_option_file("../../conf/options-compat", OL_ALIAS);
}
static void read_options ( void ) { char fname [ MAXPATHLEN ] ; SLIST_INIT ( & otab ) ; read_option_file ( " " , 0 ) ; ( void ) snprintf ( fname , sizeof fname , " " , machinename ) ; if ( ! read_option_file ( fname , 0 ) ) { ( void ) snprintf ( fname , sizeof fname , " " , machinename ) ; read_option_file ( fname , 0 ) ; } read_option_file ( " " , OL_ALIAS ) ; }
read the options and options.<machine> files
read the options and options . <machine > files