◐ Shell
clean mode source ↗

memset – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<string.h>

void* memset( void* dest, int ch, size_t count );

Konvertiert den Wert ch in unsigned char und kopiert es in jedem der ersten count Zeichen des Objekts, auf das dest .

Original:

Converts the value ch to unsigned char and copies it into each of the first count characters of the object pointed to by dest.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

dest -

Zeiger auf das Objekt zu füllen

Original:

pointer to the object to fill

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

ch -

Füllen Byte

Original:

fill byte

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

count -

Anzahl von Bytes zu füllen

Original:

number of bytes to fill

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

dest

Beispiel

Siehe auch

einen Puffer kopiert zu einem anderen

Original:

copies one buffer to another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]