Subversion Repositories HelenOS-historic

Rev

Rev 994 | Rev 999 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 994 Rev 995
Line 30... Line 30...
30
#include <ipc.h>
30
#include <ipc.h>
31
#include <ns.h>
31
#include <ns.h>
32
#include <stdio.h>
32
#include <stdio.h>
33
#include <unistd.h>
33
#include <unistd.h>
34
#include <stdlib.h>
34
#include <stdlib.h>
-
 
35
/*
-
 
36
static void test_printf(void)
35
 
37
{
-
 
38
    printf("Simple text.\n");
-
 
39
    printf("Now insert '%s' string.\n","this");
-
 
40
    printf("We are brave enought to print numbers like %%d = '%d'\n", 0x123456);
-
 
41
    printf("And now... '%b' byte! '%w' word! '%W' Word! \n", 0x12, 0x1234, 0x1234);
-
 
42
    printf(" '%Q' Q! Another '%q' q! \n", 0x1234567887654321ll, 0x1234567887654321ll);
-
 
43
    printf(" '%P' with 64bit value and '%p' with 32 bit value. \n", 0x1234567887654321ll, 0x12345678 );
-
 
44
    printf("Thats all, folks!\n");
-
 
45
}
-
 
46
*/
36
/*
47
/*
37
static void test_mremap(void)
48
static void test_mremap(void)
38
{
49
{
39
    printf("Writing to good memory\n");
50
    printf("Writing to good memory\n");
40
    mremap(&_heap, 120000, 0);
51
    mremap(&_heap, 120000, 0);