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_STRRCHR
 
#define __HAVE_ARCH_STRCHR
 
#define __HAVE_ARCH_MEMCPY
 
#define __HAVE_ARCH_MEMMOVE
 
#define __HAVE_ARCH_MEMCHR
 
#define __HAVE_ARCH_MEMSET
 

Functions

charstrrchr (const char *s, int c)
 
charstrchr (const char *s, int c)
 
voidmemcpy (void *, const void *, __kernel_size_t)
 
voidmemmove (void *, const void *, __kernel_size_t)
 
voidmemchr (const void *, int, __kernel_size_t)
 
voidmemset (void *, int, __kernel_size_t)
 

Macro Definition Documentation

#define __HAVE_ARCH_MEMCHR

Definition at line 32 of file string.h.

#define __HAVE_ARCH_MEMCPY

Definition at line 26 of file string.h.

#define __HAVE_ARCH_MEMMOVE

Definition at line 29 of file string.h.

#define __HAVE_ARCH_MEMSET

Definition at line 35 of file string.h.

#define __HAVE_ARCH_STRCHR

Definition at line 23 of file string.h.

#define __HAVE_ARCH_STRRCHR

Definition at line 20 of file string.h.

Function Documentation

void* memchr ( const void s,
int  c,
size_t  n 
)

memchr - Find a character in an area of memory. : The memory area : The byte to search for
: The size of the area.

returns the address of the first occurrence of , or NULL if is not found

Definition at line 96 of file string.c.

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* memmove ( void dest,
const void src,
size_t  count 
)

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

Unlike memcpy(), memmove() copes with overlapping areas.

Definition at line 10 of file memmove.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.

char* strchr ( const char s,
int  c 
)

strchr - Find the first occurrence of a character in a string : The string to be searched : The character to search for

Definition at line 106 of file string.c.

char* strrchr ( const char s,
int  c 
)

strrchr - Find the last occurrence of a character in a string : The string to be searched : The character to search for

Definition at line 226 of file string.c.