tail head cat sleep
QR code linking to this page

manページ  — DEVCLASS_ADD_DRIVER

名称

devclass_add_driver, devclass_delete_driver, devclass_find_driver – devclass の中のドライバの操作

内容

書式

#include <sys/param.h>
#include <sys/bus.h>

int
devclass_add_driver(devclass_t dc, driver_t *driver);

int
devclass_delete_driver(devclass_t dc, driver_t *driver);

driver_t *
devclass_find_driver(devclass_t dc, const char *name);

解説

これらの関数は、システムに新しいドライバを追加するため、 古いドライバを削除するため、 および存在しているドライバを探すため、使用可能です。 通常、ドライバはシステム初期化時に自動的に追加されます。

関連項目

devclass(9), driver(9)

作者

このマニュアルページは Doug Rabson が書きました。

DEVCLASS_ADD_DRIVER (9) June 16, 1998

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.
— Maurice Wilkes