Main Page | Alphabetical List | Class List | File List | Class Members | File Members

string.h File Reference

#include <nlibc.h>
#include <stddef.h>
#include <errno.h>
#include <string/memcpy.h>
#include <string/memset.h>
#include <string/strlen.h>
#include <string/stringexpand.h>
#include <string/strcmp.h>
#include <string/strncmp.h>

Include dependency graph for string.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void * memmove (void *s1, const void *s2, size_t n)
char * strcpy (char *restrict s1, const char *restrict s2)
char * strncpy (char *restrict s1, const char *restrict s2, size_t n)
char * strcat (char *restrict s1, const char *restrict s2)
char * strncat (char *restrict s1, const char *restrict s2, size_t n)
int memcmp (const void *s1, const void *s2, size_t n)
int strcoll (const char *s1, const char *s2)
size_t strxfrm (char *restrict s1, const char *restrict s2, size_t n)
void * memchr (const void *s, int c, size_t n)
char * strchr (const char *s, int c)
size_t strcspn (const char *s1, const char *s2)
char * strpbrk (const char *s1, const char *s2)
char * strrchr (const char *s, int c)
size_t strspn (const char *s1, const char *s2)
char * strstr (const char *s1, const char *s2)
char * strtok (char *restrict s1, const char *restrict s2)
char * strerror (int errnum)


Function Documentation

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

int memcmp const void *  s1,
const void *  s2,
size_t  n
 

void* memmove void *  s1,
const void *  s2,
size_t  n
 

include memcpy()

char* strcat char *restrict  s1,
const char *restrict  s2
 

char* strchr const char *  s,
int  c
 

int strcoll const char *  s1,
const char *  s2
 

char* strcpy char *restrict  s1,
const char *restrict  s2
 

size_t strcspn const char *  s1,
const char *  s2
 

char* strerror int  errnum  )  [inline]
 

SYNOPSIS

#include <string.h>
char *strerror(int errnum);

DESCRIPTION

The strerror function maps the number in errnum to a message
string. Typically, the values for errnum come from errno, but
strerror shall map any value of type int to a message.

The implementation shall behave as if no library function calls
the strerror function.

RETURN VALUE

The strerror function returns a pointer to the string, the
contents of which are locale-specific. The array pointed to
shall not be modified by the program, but may be overwritten by
a subsequent call to the strerror function.

Definition at line 84 of file string.h.

References N_ERRNO, NULL, and sys_errlist.

char* strncat char *restrict  s1,
const char *restrict  s2,
size_t  n
 

char* strncpy char *restrict  s1,
const char *restrict  s2,
size_t  n
 

char* strpbrk const char *  s1,
const char *  s2
 

char* strrchr const char *  s,
int  c
 

size_t strspn const char *  s1,
const char *  s2
 

char* strstr const char *  s1,
const char *  s2
 

char* strtok char *restrict  s1,
const char *restrict  s2
 

size_t strxfrm char *restrict  s1,
const char *restrict  s2,
size_t  n
 


Generated on Mon Feb 20 15:54:47 2006 for nlibc by doxygen 1.3.5