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:27:22 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 Socketpair en anglais

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


socketpair - create a pair of connected sockets
 
SYNOPSIS


#include /* See NOTES */ #include int socketpair(int d, int type, int protocol, int sv[2]);
 
DESCRIPTION


The socketpair() call creates an unnamed pair of connected sockets in the specified domain d, of the specified type, and using the optionally specified protocol. The descriptors used in referencing the new sock- ets are returned in sv[0] and sv[1]. The two sockets are indistin- guishable.
 
RETURN VALUE


On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
 
ERRORS


EAFNOSUPPORT The specified address family is not supported on this machine. EFAULT The address sv does not specify a valid part of the process address space. EMFILE Too many descriptors are in use by this process. ENFILE The system limit on the total number of open files has been reached.
 
EOPNOTSUPP


The specified protocol does not support creation of socket pairs.
 
EPROTONOSUPPORT


The specified protocol is not supported on this machine.
 
CONFORMING TO


4.4BSD, POSIX.1-2001. The socketpair() function call appeared in 4.2BSD. It is generally portable to/from non-BSD systems supporting clones of the BSD socket layer (including System V variants).
 
NOTES


On Linux, the only supported domain for this call is AF_UNIX (or syn- onymously, AF_LOCAL). (Most implementations have the same restric- tion.) POSIX.1-2001 does not require the inclusion of , and this header file is not required on Linux. However, some historical (BSD) implementations required this header file, and portable applications are probably wise to include it.
 
SEE ALSO


pipe(2), read(2), socket(2), write(2), unix(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/. Linux 2004-06-17 SOCKETPAIR(2)


 Dernières recherches
Man  en anglais Man socketpair en anglaisMan  en français Man socketpair en français
Man  en anglais Man getnetent en anglaisMan  en français Man getnetent en français
Man  en anglais Man standards en anglaisMan  en français Man standards en français
Man  en anglais Man getmntent en anglaisMan  en français Man getmntent en français
Man  en anglais Man setlocale en anglaisMan  en français Man setlocale en français
Man  en anglais Man epoll_ctl en anglaisMan  en français Man epoll_ctl en français
Man  en anglais Man setresuid en anglaisMan  en français Man setresuid en français
Man  en anglais Man mq_notify en anglaisMan  en français Man mq_notify en français
Man  en anglais Man nanosleep en anglaisMan  en français Man nanosleep en français
Man  en anglais Man fpathconf en anglaisMan  en français Man fpathconf en français
Man  en anglais Man inet_aton en anglaisMan  en français Man inet_aton en français
Man  en anglais Man ftp en anglaisMan  en français Man ftp en français
Man  en anglais Man strsignal en anglaisMan  en français Man strsignal en français
Man  en anglais Man bootparam en anglaisMan  en français Man bootparam en français
Man  en anglais Man inet_ntoa en anglaisMan  en français Man inet_ntoa 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