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: Thu Feb 9 5:59:32 2012 from 38.107.179.227
[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.
 
VERSIONS


grantpt() is provided in glibc since version 2.1.
 
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), fea- ture_test_macros(7), pty(7)
 
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/. GNU 2008-06-14 GRANTPT(3)


 Dernières recherches
Man  en anglais Man grantpt en anglaisMan  en français Man grantpt 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 inotify_add_watch en anglaisMan  en français Man inotify_add_watch en français
Man  en anglais Man getppid en anglaisMan  en français Man getppid en français
Man  en anglais Man asctime en anglaisMan  en français Man asctime en français
Man  en anglais Man rt_sigpending en anglaisMan  en français Man rt_sigpending en français
Man  en anglais Man slabtop en anglaisMan  en français Man slabtop en français
Man  en anglais Man waitpid en anglaisMan  en français Man waitpid en français
Man  en anglais Man recvmsg en anglaisMan  en français Man recvmsg en français
Man  en anglais Man getconf en anglaisMan  en français Man getconf en français
Man  en anglais Man fmtmsg en anglaisMan  en français Man fmtmsg en français
Man  en anglais Man mkfifo en anglaisMan  en français Man mkfifo en français
Man  en anglais Man uptime en anglaisMan  en français Man uptime en français
Man  en anglais Man sysctl en anglaisMan  en français Man sysctl 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