Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/library/linux/khg/HyperNews/get/devices/reference/10/1.html
Дата изменения: Thu Mar 23 12:37:27 2000
Дата индексирования: Wed Sep 15 04:21:36 2010
Кодировка:

Поисковые слова: star
Register_*dev() can assign an unused major number. The HyperNews Linux KHG Discussion Pages

Note: Register_*dev() can assign an unused major number.

Forum: Supporting Functions
Re: Question Can register_*dev() assign an unused major number?
Keywords: register_chrdev major device
Date: Mon, 03 Feb 1997 17:48:13 GMT
From: Reinhold J. Gerharz <rgerharz@erols.com>

If the first parameter to register_chrdev() is zero (0), register_chrdev() will attempt to return an unused major device number. If it returns <0, then the return value is an error code.

(Moderator: Please delete this paragraph and replace my previous message, above, with this one.)