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: Wed May 30 13:13:21 2012 from 38.107.179.226
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Ttyname en anglais

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


ttyname, ttyname_r - return name of a terminal
 
SYNOPSIS


#include char *ttyname(int fd); int ttyname_r(int fd, char *buf, size_t buflen);
 
DESCRIPTION


The function ttyname() returns a pointer to the null-terminated path- name of the terminal device that is open on the file descriptor fd, or NULL on error (for example, if fd is not connected to a terminal). The return value may point to static data, possibly overwritten by the next call. The function ttyname_r() stores this pathname in the buffer buf of length buflen.
 
RETURN VALUE


The function ttyname() returns a pointer to a pathname on success. On error, NULL is returned, and errno is set appropriately. The function ttyname_r() returns 0 on success, and an error number upon error.
 
ERRORS


ttyname_r(): EBADF Bad file descriptor. ENOTTY File descriptor does not refer to a terminal device. ERANGE buflen was too small to allow storing the pathname.
 
CONFORMING TO


4.2BSD, POSIX.1-2001.
 
SEE ALSO


fstat(2), isatty(3)
 
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 2008-07-14 TTYNAME(3)


 Dernières recherches
Man  en anglais Man ttyname en anglaisMan  en français Man ttyname en français
Man  en anglais Man tty_ioctl en anglaisMan  en français Man tty_ioctl en français
Man  en anglais Man tset en anglaisMan  en français Man tset en français
Man  en anglais Man tsearch en anglaisMan  en français Man tsearch en français
Man  en anglais Man trunc en anglaisMan  en français Man trunc en français
Man  en anglais Man true en anglaisMan  en français Man true en français
Man  en anglais Man transport en anglaisMan  en français Man transport en français
Man  en anglais Man tput en anglaisMan  en français Man tput en français
Man  en anglais Man towupper en anglaisMan  en français Man towupper en français
Man  en anglais Man towlower en anglaisMan  en français Man towlower en français
Man  en anglais Man towctrans en anglaisMan  en français Man towctrans en français
Man  en anglais Man toupper en anglaisMan  en français Man toupper en français
Man  en anglais Man tolower en anglaisMan  en français Man tolower en français
Man  en anglais Man lesskey en anglaisMan  en français Man lesskey en français
Man  en anglais Man mail en anglaisMan  en français Man mail 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