Subversion Repositories HelenOS

Rev

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

Rev 2479 Rev 2615
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#include <stdio.h>
29
#include <stdio.h>
30
#include <unistd.h>
30
#include <unistd.h>
31
#include "../tester.h"
31
#include "../tester.h"
-
 
32
#include <ipc/ipc.h>
32
 
33
 
33
char * test_send_sync(bool quiet)
34
char * test_send_sync(bool quiet)
34
{
35
{
35
    int phoneid;
36
    int phoneid;
36
    int res;
37
    int res;
Line 42... Line 43...
42
        c = getchar();
43
        c = getchar();
43
    } while (c < '2' || c > '9');
44
    } while (c < '2' || c > '9');
44
    phoneid = c - '0';
45
    phoneid = c - '0';
45
   
46
   
46
    printf("Sending msg...");
47
    printf("Sending msg...");
47
    res = ipc_call_sync_2(phoneid, 2000, 0, 0, NULL, NULL);
48
    res = ipc_call_sync_0_0(phoneid, 2000);
48
    printf("done: %d\n", res);
49
    printf("done: %d\n", res);
49
   
50
   
50
    return NULL;
51
    return NULL;
51
}
52
}