memset

Section: C Library Functions (3)
Updated: 29 décembre 2022
Index Return to Main Contents
 

NOM

memset - Remplir une zone mémoire avec un octet donné  

BIBLIOTHÈQUE

Bibliothèque C standard (libc, -lc)  

SYNOPSIS

#include <string.h>

void *memset(void s[.n], int c, size_t n);
 

DESCRIPTION

La fonction memset() remplit les n premiers octets de la zone mémoire pointée par s avec l'octet c.  

VALEUR RENVOYÉE

La fonction memset() renvoie un pointeur sur la zone mémoire s.  

ATTRIBUTS

Pour une explication des termes utilisés dans cette section, consulter attributes(7).
InterfaceAttributValeur
memset() Sécurité des threadsMT-Safe

 

STANDARDS

POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD.  

VOIR AUSSI

bstring(3), bzero(3), swab(3), wmemset(3)

 

TRADUCTION

La traduction française de cette page de manuel a été créée par Christophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <stephan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, François Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Guérard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@debian.org>, David Prévot <david@tilapin.org> et Frédéric Hantrais <fhantrais@gmail.com>

Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.

Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à


 

Index

NOM
BIBLIOTHÈQUE
SYNOPSIS
DESCRIPTION
VALEUR RENVOYÉE
ATTRIBUTS
STANDARDS
VOIR AUSSI
TRADUCTION

This document was created by man2html, using the manual pages.
Time: 00:22:33 GMT, May 23, 2024