Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 46 lignes de commande disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Aug 1 7:53:09 2010 from 38.107.191.104
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Grantpt en anglais

GRANTPT(3) Linux Programmer's Manual GRANTPT(3)
 
NAME


grantpt - grant access to the slave pseudo-terminal
 
SYNOPSIS


#define _XOPEN_SOURCE #include int grantpt(int fd);
 
DESCRIPTION


The grantpt() function changes the mode and owner of the slave pseudo- terminal device (pty) corresponding to the master pty referred to by fd. The user ID of the slave is set to the real UID of the calling process. The group ID is set to an unspecified value (e.g. tty). The mode of the slave is set to 0620 (crw--w----). The behavior of grantpt() is unspecified if a signal handler is installed to catch SIGCHLD signals.
 
RETURN VALUE


When successful, grantpt() returns 0. Otherwise, it returns -1 and sets errno appropriately.
 
ERRORS


EACCES The corresponding slave pty could not be accessed. EBADF The fd argument is not a valid open file descriptor. EINVAL The fd argument is valid but not associated with a master pty.
 
CONFORMING TO


POSIX.1-2001
 
NOTES


This is part of the Unix98 pty support, see pts(4). Many systems implement this function via a set-user-ID helper binary called "pt_chown". With Linux devpts no such helper binary is required.
 
SEE ALSO


open(2), posix_openpt(3), ptsname(3), unlockpt(3), pts(4), pty(7) PTY Control 2003-01-30 GRANTPT(3)


 Dernières recherches
Man  en anglais Man grantpt en anglaisMan  en français Man grantpt en français
Man  en anglais Man tr en anglaisMan  en français Man tr en français
Man  en anglais Man sh en anglaisMan  en français Man sh en français
Man  en anglais Man shmctl en anglaisMan  en français Man shmctl en français
Man  en anglais Man ld en anglaisMan  en français Man ld en français
Man  en anglais Man connect en anglaisMan  en français Man connect en français
Man  en anglais Man confstr en anglaisMan  en français Man confstr en français
Man  en anglais Man master en anglaisMan  en français Man master en français
Man  en anglais Man wc en anglaisMan  en français Man wc en français
Man  en anglais Man strstr en anglaisMan  en français Man strstr en français
Man  en anglais Man sched_setaffinity en anglaisMan  en français Man sched_setaffinity en français
Man  en anglais Man ls en anglaisMan  en français Man ls en français
Man  en anglais Man fifo en anglaisMan  en français Man fifo en français
Man  en anglais Man chroot en anglaisMan  en français Man chroot en français
Man  en anglais Man timezone en anglaisMan  en français Man timezone 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