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: Mon Feb 13 0:31:32 2012 from 38.107.179.230
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Posix_openpt en anglais

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


posix_openpt - open a pseudo-terminal device
 
SYNOPSIS


#include #include int posix_openpt(int flags); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): posix_openpt(): _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
 
DESCRIPTION


The posix_openpt() function opens an unused pseudo-terminal master device, returning a file descriptor that can be used to refer to that device. The flags argument is a bit mask that ORs together zero or more of the following flags: O_RDWR Open the device for both reading and writing. It is usual to specify this flag. O_NOCTTY Do not make this device the controlling terminal for the pro- cess.
 
RETURN VALUE


On success, posix_openpt() returns a non-negative file descriptor which is the lowest numbered unused descriptor. On failure, -1 is returned, and errno is set to indicate the error.
 
ERRORS


See open(2).
 
VERSIONS


Glibc support for posix_openpt() has been provided since version 2.2.1.
 
CONFORMING TO


posix_openpt() is part of the Unix98 pseudo-terminal support (see pts(4)). This function is specified in POSIX.1-2001.
 
NOTES


This function is a recent invention in POSIX. Some Unix implementa- tions that support System V (aka Unix 98) pseudo-terminals don't have this function, but it is easy to implement: int posix_openpt(int flags) { return open("/dev/ptmx", flags); }
 
SEE ALSO


open(2), getpt(3), grantpt(3), ptsname(3), unlockpt(3), pts(4), 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/. 2007-07-26 POSIX_OPENPT(3)


 Dernières recherches
Man  en anglais Man posix_openpt en anglaisMan  en français Man posix_openpt en français
Man  en anglais Man udp en anglaisMan  en français Man udp en français
Man  en anglais Man raw en anglaisMan  en français Man raw en français
Man  en anglais Man pthread_once en anglaisMan  en français Man pthread_once en français
Man  en anglais Man err en anglaisMan  en français Man err en français
Man  en anglais Man brk en anglaisMan  en français Man brk en français
Man  en anglais Man dup en anglaisMan  en français Man dup en français
Man  en anglais Man pthread_kill en anglaisMan  en français Man pthread_kill en français
Man  en anglais Man zic en anglaisMan  en français Man zic en français
Man  en anglais Man sigwaitinfo en anglaisMan  en français Man sigwaitinfo en français
Man  en anglais Man ls en anglaisMan  en français Man ls en français
Man  en anglais Man rm en anglaisMan  en français Man rm en français
Man  en anglais Man wcsncasecmp en anglaisMan  en français Man wcsncasecmp en français
Man  en anglais Man df en anglaisMan  en français Man df en français
Man  en anglais Man ln en anglaisMan  en français Man ln 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