详见:http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.kerneltechref%2Fdoc%2Fktechrf1%2Fcopyin.htm

copyin Kernel Service

Purpose

Copies data between user and kernel memory.

Syntax

#include <sys/types.h>
#include <sys/errno.h>

int copyin ( uaddr,  kaddr,  count)
char *uaddr;
char *kaddr;
int count;

Parameters

Item Description
uaddr Specifies the address of user data.
kaddr Specifies the address of kernel data.
count Specifies the number of bytes to copy.

Description

The copyin kernel service copies the specified
number of bytes from user memory to kernel memory. This service is
provided so that system calls and device driver top half routines
can safely access user data. The copyin service ensures that
the user has the appropriate authority to access the data. It also
provides recovery from paging I/O errors that would otherwise cause
the system to crash. The copyin service
should be called only while executing in kernel mode in the user process.

最新文章

  1. Redis教程(四):Hashes数据类型
  2. remote debug in visual studio
  3. Jquery选择器 讲解
  4. OC中字典:NSDictionary类是如何使用的
  5. 物联网操作系统 - Zephyr
  6. Java网络编程总结
  7. 解决SQLServer 2008 日志无法收缩,收缩后大小不改变
  8. iOS 如何优化 App 的启动时间
  9. 单元测试junit框架详解
  10. 浅谈SystemClock 和Thead的区别和联系
  11. Python爬虫的学习经历
  12. Navicat Premium 12 破解(MySQL、MariaDB、MongoDB、SQL Server、SQLite)
  13. mysql学习笔记--数据库设计
  14. Linux QT 连接 Sqlite数据库
  15. Idea2018激活破解
  16. zookeeper入门系列讲解
  17. javascript时间日期操作
  18. 玩转mongodb(六):索引,速度的引领(普通索引篇)
  19. 关于shader的学习
  20. Git_撤销修改

热门文章

  1. HDU2844(多重部分和)
  2. Win7点击文件夹右键可打开cmd控制台,并获取当前目录
  3. P-Function
  4. 2.8-2.10 HBase集成MapReduce
  5. 面试6-----11 const和静态变量那些事儿
  6. 第一节:Java 语言基础
  7. 解读大内老A的《.NET Core框架本质》
  8. E20180615-hm
  9. 使用fastadmin的页面跳转模板
  10. PhpStorm下载、破解