mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 11:22:34 +03:00
728f124678
Configured autobuild git-svn-id: svn://kolibrios.org@8687 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
414 B
C
19 lines
414 B
C
#include <errno.h>
|
|
#include <sys/ksys.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
|
|
int main(int argc, char** argv){
|
|
char hello1[]="Hello, KolibriOS!";
|
|
char hello2[20];
|
|
memcpy(hello1, hello2, strlen(hello1));
|
|
if(!_ksys_strcmp(hello1, hello2)){
|
|
printf("memcpy: Successfully!\n");
|
|
return 0;
|
|
} else{
|
|
printf("memcpy: Failure\n");
|
|
return -1;
|
|
}
|
|
}
|