Compares the names of all modules currently present in the stream to a specified name.
The I_FIND operation compares the names of all modules currently present in the stream to the name pointed to by the arg parameter, and returns a value of 1 if the named module is present in the stream. It returns a value of 0 if the named module is not present.
This operation is part of STREAMS Kernel Extensions.
If unsuccessful, the errno global variable is set to one of the following values:
Value | Description |
---|---|
EFAULT | The arg parameter points outside the allocated address space. |
EINVAL | The arg parameter does not contain a valid module name. |