Visible to Intel only — GUID: mwh1416946823998
Ixiasoft
Visible to Intel only — GUID: mwh1416946823998
Ixiasoft
8.7.1.1.2. Default Behavior for Functions Defined in alt_dev
Function | Default Behavior |
---|---|
open | Calls to open() for this device succeed, unless the device was previously locked by a call to ioctl() with req = TIOCEXCL. |
close | Calls to close() for a valid file descriptor for this device always succeed. |
read | Calls to read() for this device always fail. |
write | Calls to write() for this device always fail. |
lseek | Calls to lseek() for this device always fail. |
fstat | The device identifies itself as a character mode device. |
ioctl | ioctl() requests that cannot be handled without reference to the device fail. |
In addition to the function pointers, the alt_dev structure contains two other fields: llist and name. llist is for internal use, and must always be set to the value ALT_LLIST_ENTRY. name is the location of the device in the HAL file system and is the name of the device as defined in system.h.