Technical data

sad(7D) Devices SunOS 5.5
installed on the system). arg is a pointer to a str_list structure with the follow-
ing members:
int sl_nmods;
struct str_mlist sl_modlist;
The str_mlist structure has the following member:
char l_name[FMNAMESZ+1];
sl_nmods indicates the number of entries the user has allocated in the array
and sl_modlist points to the array of module names. The return value is 0 if
the list is valid, 1 if the list contains an invalid module name, or 1 on failure.
On failure, errno is set to one of the following values:
EFAULT arg points outside the allocated address space.
EINVAL The sl_nmods field of the str_list structure is less than or
equal to zero.
SEE ALSO intro(2), ioctl(2), open(2)
STREAMS Programming Guide
DIAGNOSTICS Unless otherwise specified, the return value from ioctl is 0 upon success and 1 upon
failure with errno set as indicated.
7D-282 modified 3 Jul 1990