Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 46 lignes de commande disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Aug 1 7:45:45 2010 from 38.107.191.102
[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 - Parse network address structures
 
SYNOPSIS


#include #include #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(3) 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(3). The following address families are currently supported: AF_INET src points to a struct in_addr (network byte order format) which is converted to an IPv4 network address in the dotted-quad 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 (network byte order format) which is converted to a representation of this address in the most appropriate IPv6 network address format for this address. The buffer dst must be at least INET6_ADDRSTRLEN bytes long.
 
RETURN VALUE


inet_ntop() returns a non-null pointer to dst. NULL is returned if there was an error, with errno set to EAFNOSUPPORT if af was not set to a valid address family, or to ENOSPC if the converted address string would exceed the size of dst given by the cnt argument.
 
CONFORMING TO


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


inet_pton(3)
 
BUGS


AF_INET6 converts IPv6-mapped IPv4 addresses into an IPv6 format. Linux Man Page 2000-12-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 strptime en anglaisMan  en français Man strptime en français
Man  en anglais Man dd en anglaisMan  en français Man dd en français
Man  en anglais Man wcslen en anglaisMan  en français Man wcslen en français
Man  en anglais Man mkfs en anglaisMan  en français Man mkfs en français
Man  en anglais Man kill en anglaisMan  en français Man kill en français
Man  en anglais Man sigaction en anglaisMan  en français Man sigaction en français
Man  en anglais Man getty en anglaisMan  en français Man getty en français
Man  en anglais Man getrlimit en anglaisMan  en français Man getrlimit en français
Man  en anglais Man wcscasecmp en anglaisMan  en français Man wcscasecmp en français
Man  en anglais Man id en anglaisMan  en français Man id en français
Man  en anglais Man sscanf en anglaisMan  en français Man sscanf en français
Man  en anglais Man accept en anglaisMan  en français Man accept en français
Man  en anglais Man fread en anglaisMan  en français Man fread en français
Man  en anglais Man slabtop en anglaisMan  en français Man slabtop 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