#include <stddef.h>
#include <device.h>

Go to the source code of this file.
Functions | |
| devcall | control (int descrp, int func, long arg1, long arg2) |
| control a device (e.g., set the mode) | |
Definition in file control.c.
| devcall control | ( | int | descrp, | |
| int | func, | |||
| long | arg1, | |||
| long | arg2 | |||
| ) |
control a device (e.g., set the mode)
| descrp | definition of device to control | |
| func | specific control function for device | |
| arg1 | specific argument for func | |
| arg2 | specific argument for func |
Definition at line 20 of file control.c.
References isbaddev, and SYSERR.
Referenced by etherWrite(), shell(), and test_ttydriver().

1.5.6