| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:41:54 GMT | ||||||||||||||||
| |||||||||||||||||
| Description: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciCOPYOUTSection: Linux Fast-STREAMS DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMEcopyout - copy user data in from kernel space to user space.SYNOPSIS#include <sys/stream.h>
ARGUMENTS
INTERFACEDESCRIPTIONcopyout() verifies that len bytes of memory at current user-space address to are valid for write and then copies those bytes from the kernel address from. RETURNUpon success, copyout() copies the requested bytes and returns zero (0). Upon failure, copyout() does nothing but return a negative error number. ERRORSUpon failure, copyout() does nothing but return an appropriate negative error number as follows:
CONTEXTcopyout() can only be called from user context. MP-STREAMScopyout() is MP-safe; however, the caller is responsible for ensuring exclusive access to the kernel memory to which data is being copied. NOTICEScopyout() simply calls the Linux copy_to_user(9) function, with the first two arguments reversed. If optimization is used, the call is inline. SEE ALSOcopyout(9), copy_from_user(9), copy_to_user(9). BUGSCOMPATIBILITYcopyout() is source-level compatible with SVR 4.2 MP DDI/DKI[1], Solaris® and LiS[2] with the following exceptions:
See STREAMS(9) for additional compatibility information. CONFORMANCESVR 4.2 MP DDI/DKI, Solaris® documentation. HISTORYcopyout() first appeared (for use by STREAMS devices) in SVR 3[3]. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 08:00:29 GMT, May 22, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:41:54 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |