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

Go to the source code of this file.


#define TOLOWER(x)   ((x) | 0x20)


int strcmp (const char *str1, const char *str2)
int strncmp (const char *cs, const char *ct, size_t count)
size_t strnlen (const char *s, size_t maxlen)
unsigned int atou (const char *s)
unsigned long long simple_strtoull (const char *cp, char **endp, unsigned int base)
size_t strlen (const char *s)
charstrstr (const char *s1, const char *s2)

Macro Definition Documentation

#define TOLOWER (   x)    ((x) | 0x20)

Definition at line 69 of file string.c.

Function Documentation

unsigned int atou ( const char s)

Definition at line 60 of file string.c.

unsigned long long simple_strtoull ( const char cp,
char **  endp,
unsigned int  base 

simple_strtoull - convert a string to an unsigned long long : The start of the string : A pointer to the end of the parsed string will be placed here : The number base to use

Definition at line 90 of file string.c.

int strcmp ( const char str1,
const char str2 

strcmp - Compare two strings : One string : Another string

returns 0 if and are equal, < 0 if is less than > 0 if is greater than

Definition at line 17 of file string.c.

size_t strlen ( const char s)

strlen - Find the length of a string : The string to be sized

Definition at line 119 of file string.c.

int strncmp ( const char cs,
const char ct,
size_t  count 

Definition at line 33 of file string.c.

size_t strnlen ( const char s,
size_t  maxlen 

strnlen - Find the length of a length-limited string : The string to be sized
: The maximum number of bytes to search

returns the minimum of the length of and

Definition at line 49 of file string.c.

char* strstr ( const char s1,
const char s2 

strstr - Find the first substring in a NUL terminated string : The string to be searched : The string to search for

Definition at line 133 of file string.c.