String_Functions

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

Contents

String Functions

strcpy

void strcpy(char *dest, char *src);
void strncpy(char *dest, char *src, int max);
void memcpy(char *dest, char *src, int nb);
    Copy the source information to the destination area, as in ANSI 'C'.


strcat

void strcat(char *dest, char *src);
void strncat(char *dest, char *src, int max);
    Concatenate source string onto the end od destination string, as in ANSI 'C'.


strcmp

int strcmp(char *dest, char *src);
int strncmp(char *dest, char *src, int max);
int memcmp(char *dest, char *src, int nb);
    Compare the source information against the destination information, as in ANSI 'C'.
Personal tools