Subversion Repositories Kolibri OS

Rev

Rev 9553 | Rev 9620 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9553 Rev 9558
Line 6... Line 6...
6
 
6
 
7
int main(int argc, char** argv){ 
7
int main(int argc, char** argv){ 
8
    char hello1[]="Hello, KolibriOS!";
8
    char hello1[]="Hello, KolibriOS!";
9
    char hello2[20];
9
    char hello2[20];
10
    memcpy(hello1, hello2, strlen(hello1));
10
    memcpy(hello1, hello2, strlen(hello1));
11
    if(!__strcmp(hello1, hello2)){
11
    if(!_ksys_strcmp(hello1, hello2)){
12
        printf("memcpy: Successfully!\n");
12
        printf("memcpy: Successfully!\n");
13
        return 0;
13
        return 0;
14
    } else{
14
    } else{
15
        printf("memcpy: Failure\n");
15
        printf("memcpy: Failure\n");