Rechercher une page de manuel
strnlen
Langue: fr
Version: 21 juillet 2003 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NOM
strnlen - Déterminer la longueur d'une chaîne.SYNOPSIS
#include <string.h> size_t strnlen (const char *s, size_t maxlen);
DESCRIPTION
La fonction strnlen renvoie le nombre de caractères de la chaîne pointée par s (non compris le caractère '\0' final), mais en examinant au maximum maxlen caractères. Les caractères suivants (s+maxlen) ne seront jamais lus.VALEUR RENVOYÉE
La fonction strnlen renvoie strlen(s) si la longeur est inférieure à maxlen, sinon elle renvoie maxlen.CONFORMITÉ
Cette fonction est une extension GNU.VOIR AUSSI
strlen(3)TRADUCTION
Thierry Vignaud <tvignaud@mandrakesoft.com>, 1999Christophe Blaess, 2003.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre