自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

create_module 中文man頁面

系統(tǒng)
create_module試圖生成一條可加載模塊的記錄并保留用來容納模塊的內(nèi)核空間內(nèi)存.該系統(tǒng)調(diào)用只對超級用戶開放.

NAME

create_module - 生成一條可加載模塊記錄.  

總覽

#include <linux/module.h>

caddr_t create_module(const char *name, size_t size);  

描述

create_module試圖生成一條可加載模塊的記錄并保留用來容納模塊的內(nèi)核空間內(nèi)存.該系統(tǒng)調(diào)用只對超級用戶開放.  

返回值

成功時返回模塊駐留的內(nèi)核空間地址,錯誤時返回-1,errno被相應(yīng)設(shè)置.  

錯誤

EPERM

    用戶非超級用戶.
EEXIST

    相同名字的模塊已經(jīng)存在.
EINVAL

    要求的大小即使對模塊的頭信息來說也太小.
ENOMEM

    內(nèi)核無法給模塊分配足夠的連續(xù)的內(nèi)存塊.
EFAULT

    name 越出了程序可訪問的地址空間.                  

#p#

NAME

create_module - create a loadable module entry  

SYNOPSIS

#include <linux/module.h>

caddr_t create_module(const char *name, size_t size);

DESCRIPTION

create_module attempts to create a loadable module entry and reserve the kernel memory that will be needed to hold the module. This system call is only open to the superuser.  

RETURN VALUE

On success, returns the kernel address at which the module will reside. On error -1 is returned and errno is set appropriately.  

ERRORS

EPERM
The user is not the superuser.
EEXIST
A module by that name already exists.
EINVAL
The requested size is too small even for the module header information.
ENOMEM
The kernel could not allocate a contiguous block of memory large enough for the module.
EFAULT
name is outside the program's accessible address space.

SEE ALSO

init_module(2), delete_module(2), query_module(2).

責任編輯:韓亞珊 來源: CMPP.net
相關(guān)推薦

2011-08-24 10:56:32

CREATE CONV中文man

2011-08-24 10:46:36

CREATE AGGR中文man

2011-08-24 11:15:24

CREATE INDE中文man

2011-08-24 13:43:09

CREATE USER中文man

2011-08-24 13:46:39

CREATE VIEW中文man

2011-08-24 13:29:20

CREATE TABL中文man

2011-08-24 13:36:25

CREATE TRIG中文man

2011-08-24 13:32:56

CREATE TABL中文man

2011-08-24 13:23:10

CREATE SCHE中文man

2011-08-24 10:59:19

CREATE DATA中文man

2011-08-24 11:02:11

CREATE DOMA中文man

2011-08-24 13:26:19

CREATE SEQU中文man

2011-08-24 11:18:53

CREATE LANG中文man

2011-08-24 11:23:20

CREATE OPER中文man

2011-08-24 11:31:47

CREATE RULE中文man

2011-08-24 11:05:36

CREATE FUNC中文man

2011-08-24 13:39:44

CREATE TYPE中文man

2011-08-24 11:10:17

CREATE GROU中文man

2011-08-24 10:53:20

CREATE CONS中文man

2011-08-24 11:26:46

CREATE OPER中文man
點贊
收藏

51CTO技術(shù)棧公眾號