LiS makes no attempt to provide abstractions for copyin/copyout.  If you need to do this be adised that it is only valid to do so from the driver's open (and perhaps close) routines.  No other STREAMS driver entry has an user context in which to copy to or from.

Note the following from the Solaris documentation:


This should not be used from a streams driver. See M_COPYIN and M_COPYOUT in STREAMS Programming Guide.

-- Dave

At 12:37 PM 9/29/2003 Monday, Gurol Akman wrote:
are there equivalents of solaris copyin(9)/copyout(9) calls under LiS? are lis_copyin/copyout calls intended to replace them? if so, what should be the value of the first arg (i.e., fp) when invoking these calls? thanks in advance,
 
gurol akman

Reply via email to