tail head cat sleep
QR code linking to this page

manページ  — DEVICE_DELETE_CHILD

名称

device_delete_child – デバイスから子を削除

内容

書式

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

int
device_delete_child(device_t dev, device_t child);

解説

指定されたデバイスを dev から取り除き削除します。 そのデバイスが現在アタッチされている場合には、先にデタッチ ( DEVICE_ATTACH(9) および DEVICE_DETACH(9) を参照してください) されます。

戻り値

成功時には 0 が返され、そうでない場合にはエラーが返されます。

関連項目

device_add_child(9)

作者

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

DEVICE_DELETE_CHILD (9) June 16, 1998

tail head cat sleep
QR code linking to this page


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

Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology.
— The Unix Haters' handbook