Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
string.h File Reference

Go to the source code of this file.

Macros

#define __HAVE_ARCH_MEMSET
 
#define __HAVE_ARCH_MEMCPY
 

Functions

voidmemset (void *b, int c, size_t len)
 
voidmemcpy (void *to, const void *from, size_t len)
 

Macro Definition Documentation

#define __HAVE_ARCH_MEMCPY

Definition at line 14 of file string.h.

#define __HAVE_ARCH_MEMSET

Definition at line 11 of file string.h.

Function Documentation

void* memcpy ( void dest,
const void src,
size_t  count 
)

memcpy - Copy one area of memory to another : Where to copy to : Where to copy from : The size of the area.

You should not use this function to access IO space, use memcpy_toio() or memcpy_fromio() instead.

Definition at line 151 of file memcpy.c.

void* memset ( void s,
int  c,
size_t  count 
)

memset - Fill a region of memory with the given value : Pointer to the start of the area. : The byte to fill the area with : The size of the area.

Do not use memset() to access IO space, use memset_io() instead.

Definition at line 116 of file string.c.