Rechercher une page de manuel

Chercher une autre page de manuel:

__put_user

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

__put_user - Write a simple value into user space, with less checking.

SYNOPSIS

__put_user(x, ptr);

ARGUMENTS

x

Value to copy to user space.

ptr

Destination address, in user space.

CONTEXT

User context only. This function may sleep.

DESCRIPTION

This macro copies a single simple value from kernel space to user space. It supports simple types like char and int, but not larger data types like structures or arrays.

ptr must have pointer-to-simple-variable type, and x must be assignable to the result of dereferencing ptr.

Caller must check the pointer with access_ok before calling this function.

Returns zero on success, or -EFAULT on error.

«Je suis en train de peaufiner les definitions de locales pour le vietnamien;
est-ce que pour l'ordre alphabetique les lettres A(, A^, DD, E^, O^, O+ et U+
sont bien considerées comme des lettres à part ?»
Pablo in Guide du linuxien pervers : "Les locales ? C'est simple !"