Movatterモバイル変換


[0]ホーム

URL:


__clear_user
Prev User Space Memory Access Next

Name

__clear_user — Zero a block of memory in user space, with less checking.

Synopsis

unsigned long__clear_user(void __user *to,
 unsigned longn);
 

Arguments

void __user * to

Destination address, in user space.

unsigned long n

Number of bytes to zero.

Description

Zero a block of memory in user space. Caller must check the specified block withaccess_ok before calling this function.

Returns number of bytes that could not be cleared. On success, this will be zero.


Prev Up Next
clear_user Home More Memory Management Functions

[8]ページ先頭

©2009-2025 Movatter.jp