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 6:15:09 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 Inet_ntop en anglais

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


inet_ntop - convert IPv4 and IPv6 addresses from binary to text form
 
SYNOPSIS


#include const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
 
DESCRIPTION


This function converts the network address structure src in the af address family into a character string, which is copied to a character buffer dst, which is cnt bytes long. inet_ntop() extends the inet_ntoa(3) function to support multiple address families, inet_ntoa(3) is now considered to be deprecated in favor of inet_ntop(). The following address families are currently supported: AF_INET src points to a struct in_addr (in network byte order) which is converted to an IPv4 network address in the dotted-decimal for- mat, "ddd.ddd.ddd.ddd". The buffer dst must be at least INET_ADDRSTRLEN bytes long. AF_INET6 src points to a struct in6_addr (in network byte order) which is converted to a representation of this address in the most appro- priate IPv6 network address format for this address. The buffer dst must be at least INET6_ADDRSTRLEN bytes long.
 
RETURN VALUE


On success, inet_ntop() returns a non-null pointer to dst. NULL is returned if there was an error, with errno set to indicate the error.
 
EXAMPLE


See inet_pton(3).
 
ERRORS


EAFNOSUPPORT af was not a valid address family. ENOSPC The converted address string would exceed the size given by cnt.
 
CONFORMING TO


POSIX.1-2001. Note that RFC 2553 defines a prototype where the last argument cnt is of type size_t. Many systems follow RFC 2553. Glibc 2.0 and 2.1 have size_t, but 2.2 and later have socklen_t.
 
BUGS


AF_INET6 converts IPv4-mapped IPv6 addresses into an IPv6 format.
 
SEE ALSO


getnameinfo(3), inet(3), inet_pton(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-06-18 INET_NTOP(3)


 Dernières recherches
Man  en anglais Man inet_ntop en anglaisMan  en français Man inet_ntop en français
Man  en anglais Man wc en anglaisMan  en français Man wc en français
Man  en anglais Man sigaction en anglaisMan  en français Man sigaction en français
Man  en anglais Man dirname en anglaisMan  en français Man dirname en français
Man  en anglais Man strtol en anglaisMan  en français Man strtol en français
Man  en anglais Man strtoul en anglaisMan  en français Man strtoul en français
Man  en anglais Man on_exit en anglaisMan  en français Man on_exit en français
Man  en anglais Man _exit en anglaisMan  en français Man _exit en français
Man  en anglais Man strtod en anglaisMan  en français Man strtod en français
Man  en anglais Man exec en anglaisMan  en français Man exec en français
Man  en anglais Man readlink en anglaisMan  en français Man readlink en français
Man  en anglais Man strerror en anglaisMan  en français Man strerror en français
Man  en anglais Man vsprintf en anglaisMan  en français Man vsprintf en français
Man  en anglais Man utime en anglaisMan  en français Man utime en français
Man  en anglais Man difftime en anglaisMan  en français Man difftime 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