forked from KolibriOS/kolibrios
Update skipped files in previous commit
git-svn-id: svn://kolibrios.org@9766 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <sys/ksys.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/ksys.h>
|
||||
|
||||
int main(int argc, char** argv){
|
||||
char hello1[]="Hello, KolibriOS!";
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
char hello1[] = "Hello, KolibriOS!";
|
||||
char hello2[20];
|
||||
memcpy(hello1, hello2, strlen(hello1));
|
||||
if(!__strcmp(hello1, hello2)){
|
||||
if (!__strcmp(hello1, hello2)) {
|
||||
printf("memcpy: Successfully!\n");
|
||||
return 0;
|
||||
} else{
|
||||
} else {
|
||||
printf("memcpy: Failure\n");
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user