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 15:31:07 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 Wctomb en anglais

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


wctomb - convert a wide character to a multibyte sequence
 
SYNOPSIS


#include int wctomb(char *s, wchar_t wc);
 
DESCRIPTION


If s is not NULL, the wctomb() function converts the wide character wc to its multibyte representation and stores it at the beginning of the character array pointed to by s. It updates the shift state, which is stored in a static anonymous variable only known to the wctomb func- tion, and returns the length of said multibyte representation, that is, the number of bytes written at s. The programmer must ensure that there is room for at least MB_CUR_MAX bytes at s. If s is NULL, the wctomb() function resets the shift state, only known to this function, to the initial state, and returns non-zero if the encoding has nontrivial shift state, or zero if the encoding is state- less.
 
RETURN VALUE


If s is not NULL, the wctomb() function returns the number of bytes that have been written to the byte array at s. If wc can not be repre- sented as a multibyte sequence (according to the current locale), -1 is returned. If s is NULL, the wctomb() function returns non-zero if the encoding has nontrivial shift state, or zero if the encoding is stateless.
 
CONFORMING TO


C99.
 
NOTES


The behavior of wctomb() depends on the LC_CTYPE category of the cur- rent locale. This function is not multi-thread safe. The function wcrtomb(3) pro- vides a better interface to the same functionality.
 
SEE ALSO


MB_CUR_MAX(3), wcrtomb(3), wcstombs(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/. GNU 1999-07-25 WCTOMB(3)


 Dernières recherches
Man  en anglais Man wctomb en anglaisMan  en français Man wctomb en français
Man  en anglais Man wctob en anglaisMan  en français Man wctob en français
Man  en anglais Man wcsxfrm en anglaisMan  en français Man wcsxfrm en français
Man  en anglais Man wcswidth en anglaisMan  en français Man wcswidth en français
Man  en anglais Man wcstombs en anglaisMan  en français Man wcstombs en français
Man  en anglais Man wcstok en anglaisMan  en français Man wcstok en français
Man  en anglais Man wcsspn en anglaisMan  en français Man wcsspn en français
Man  en anglais Man wcsrtombs en anglaisMan  en français Man wcsrtombs en français
Man  en anglais Man wcsrchr en anglaisMan  en français Man wcsrchr en français
Man  en anglais Man stat en anglaisMan  en français Man stat en français
Man  en anglais Man gethostbyaddr en anglaisMan  en français Man gethostbyaddr en français
Man  en anglais Man getline en anglaisMan  en français Man getline en français
Man  en anglais Man dgst en anglaisMan  en français Man dgst en français
Man  en anglais Man toupper en anglaisMan  en français Man toupper en français
Man  en anglais Man colcrt en anglaisMan  en français Man colcrt 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