Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Tue May 29 18:42:38 2012 from 38.107.179.229
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Modify_ldt en anglais

MODIFY_LDT(2) Linux Programmer's Manual MODIFY_LDT(2)
 
NAME


modify_ldt - get or set ldt
 
SYNOPSIS


#include int modify_ldt(int func, void *ptr, unsigned long bytecount);
 
DESCRIPTION


modify_ldt() reads or writes the local descriptor table (ldt) for a process. The ldt is a per-process memory management table used by the i386 processor. For more information on this table, see an Intel 386 processor handbook. When func is 0, modify_ldt() reads the ldt into the memory pointed to by ptr. The number of bytes read is the smaller of bytecount and the actual size of the ldt. When func is 1, modify_ldt() modifies one ldt entry. ptr points to a user_desc structure and bytecount must equal the size of this struc- ture. The user_desc structure is defined in as: struct user_desc { unsigned int entry_number; unsigned long base_addr; unsigned int limit; unsigned int seg_32bit:1; unsigned int contents:2; unsigned int read_exec_only:1; unsigned int limit_in_pages:1; unsigned int seg_not_present:1; unsigned int useable:1; }; In Linux 2.4 and earlier, this structure was named modify_ldt_ldt_s.
 
RETURN VALUE


On success, modify_ldt() returns either the actual number of bytes read (for reading) or 0 (for writing). On failure, modify_ldt() returns -1 and sets errno to indicate the error.
 
ERRORS


EFAULT ptr points outside the address space. EINVAL ptr is 0, or func is 1 and bytecount is not equal to the size of the structure modify_ldt_ldt_s, or func is 1 and the new ldt entry has invalid values. ENOSYS func is neither 0 nor 1.
 
CONFORMING TO


This call is Linux-specific and should not be used in programs intended to be portable.
 
NOTES


Glibc does not provide a wrapper for this system call; call it using syscall(2).
 
SEE ALSO


vm86(2)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2007-06-01 MODIFY_LDT(2)


 Dernières recherches
Man  en anglais Man modify_ldt en anglaisMan  en français Man modify_ldt en français
Man  en anglais Man mktime en anglaisMan  en français Man mktime en français
Man  en anglais Man mktemp en anglaisMan  en français Man mktemp en français
Man  en anglais Man mkstemp en anglaisMan  en français Man mkstemp en français
Man  en anglais Man mkreiserfs en anglaisMan  en français Man mkreiserfs en français
Man  en anglais Man mknodat en anglaisMan  en français Man mknodat en français
Man  en anglais Man mkfifoat en anglaisMan  en français Man mkfifoat en français
Man  en anglais Man mkdtemp en anglaisMan  en français Man mkdtemp en français
Man  en anglais Man mesg en anglaisMan  en français Man mesg en français
Man  en anglais Man memset en anglaisMan  en français Man memset en français
Man  en anglais Man mempcpy en anglaisMan  en français Man mempcpy en français
Man  en anglais Man memmove en anglaisMan  en français Man memmove en français
Man  en anglais Man memmem en anglaisMan  en français Man memmem en français
Man  en anglais Man memfrob en anglaisMan  en français Man memfrob en français
Man  en anglais Man memcpy en anglaisMan  en français Man memcpy en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher