E100_SET_INT_OPTION

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

e100_set_int_option - check and set an integer option  

SYNOPSIS

"SYNOPSIS"

void __devinit e100_set_int_option (int * option, int val, int min, int max, int default_val, char * name);  

ARGUMENTS

option
a pointer to the relevant option field
val
the value specified
min
the minimum valid value
max
the maximum valid value
default_val
the default value
name
the name of the option
 

DESCRIPTION

This routine does range checking on a command-line option. If the option's value is '-1' use the specified default. Otherwise, if the value is invalid, change it to the default.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:20:46 GMT, October 06, 2005