Query: input_get_new_minor
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
INPUT_GET_NEW_MINOR(9) Input Subsystem INPUT_GET_NEW_MINOR(9)NAMEinput_get_new_minor - allocates a new input minor numberSYNOPSISint input_get_new_minor(int legacy_base, unsigned int legacy_num, bool allow_dynamic);ARGUMENTSlegacy_base beginning or the legacy range to be searched legacy_num size of legacy range allow_dynamic whether we can also take ID from the dynamic rangeDESCRIPTIONThis function allocates a new device minor for from input major namespace. Caller can request legacy minor by specifying legacy_base and legacy_num parameters and whether ID can be allocated from dynamic range if there are no free IDs in legacy range.COPYRIGHTKernel Hackers Manual 3.10 June 2014 INPUT_GET_NEW_MINOR(9)