| 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 compactpciCOPYINSection: Linux Fast-STREAMS DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMEcopyin - copy user data in from user space to kernel space.SYNOPSIS#include <sys/stream.h>
ARGUMENTS
INTERFACEDESCRIPTIONcopyin() verifies that len bytes of memory at current user-space address from are valid for read and then copies those bytes to the kernel address to. RETURNUpon success, copyin() copies the requested bytes and returns zero (0). Upon failure, copyin() does nothing but return a negative error number. ERRORSUpon failure, copyin() does nothing but return an appropriate negative error number as follows:
CONTEXTcopyin() can only be called from user context. MP-STREAMScopyin() is MP-safe and does not require the holding of any global locks. IMPLEMENTATIONcopyin() simply calls the Linux copy_from_user(9) function, with the first two arguments reversed. If optimization is used, the call is inlined. SEE ALSOcopyout(9), copy_from_user(9), copy_to_user(9). BUGSCOMPATIBILITYcopyin() is compatible with SVR 4.2 MP DDI/DKI[1], and implementations based on SVR 4[2], with the following portability considerations:
See STREAMS(9) for additional compatibility information. CONFORMANCEHISTORYcopyin() 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: 16:54:32 GMT, May 21, 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. |