DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

M_COPYOUT(D7str)


M_COPYOUT -- request a copyout operation

Description

M_COPYOUT is generated by a module or driver and sent upstream to request that the Stream head perform a copyout(D3) for the module or driver. It is valid only after receiving an M_IOCTL(D7str) message and before an M_IOCACK(D7str) or M_IOCNAK(D7str) message.

The message format is one M_COPYOUT(D7str) message block followed by one or more M_DATA(D7str) blocks. The M_COPYOUT message block contains a copyreq(D4str) structure.

Data to be copied to user space is contained in the linked M_DATA blocks.

This message should not be queued by a module or driver unless it intends to process the data for the ioctl( ) in some way.

Message type

Priority.

Version applicability

ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
oddi: 1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp

Differences between versions

This message type is the same for DDI and ODDI, but note differences in the copyreq(D4str) structure.

References

copyreq(D4str), M_COPYIN(D7str), M_DATA(D7str), M_IOCACK(D7str), streamio

``STREAMS ioctls'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005