FreeNOS
Functions
string.h File Reference
#include <sys/types.h>
#include "errno.h"

Go to the source code of this file.

Functions

C int strcmp (const char *dest, const char *src)
 Compare two strings. More...
 
C int strncmp (const char *dest, const char *src, size_t count)
 Compare two strings, by only a maximum number of bytes. More...
 
C int strcasecmp (const char *dest, const char *src)
 Compare two strings, ignoring case considerations. More...
 
C int strncasecmp (const char *dest, const char *src, size_t count)
 Compare two strings, ignoring case considerations. More...
 
C char * strdup (const char *str)
 Duplicate a string. More...
 
C char * strndup (const char *s, size_t size)
 Duplicate a specific number of bytes from a string. More...
 
C void * memset (void *dest, int ch, size_t count)
 Fill memory with a constant byte. More...
 
C void * memcpy (void *dest, const void *src, size_t count)
 Copy memory from one place to another. More...
 
C size_t strlen (const char *str)
 Calculate the length of a string. More...
 
C int strcpy (char *dest, const char *src)
 Copy a string. More...
 
C int strncpy (char *dest, const char *src, size_t sz)
 Copy a string, given a maximum number of bytes. More...
 
C size_t strlcpy (char *dst, const char *src, size_t siz)
 Copy src to string dst of size siz. More...
 
C char * strcat (char *dest, const char *src)
 Concatenate two strings. More...
 
C char * strncat (char *dest, const char *src, size_t siz)
 Concatenate a string with part of another. More...
 
C char * strerror (int errnum)
 The strerror function maps the number in errnum to a message string. More...
 
C char * strchr (const char *s, int c)
 String scanning operation. More...
 
C char * strrchr (const char *s, int c)
 String scanning operation. More...