Untitled
By: a guest | Mar 19th, 2010 | Syntax:
C | Size: 0.92 KB | Hits: 175 | Expires: Never
alinrus@alinrus-laptop:~/work/test1/rtems/testsuites/samples/hello$ cvs diff init.c
Index: init.c
===================================================================
RCS file: /usr1/CVS/rtems/testsuites/samples/hello/init.c,v
retrieving revision 1.15
diff -r1.15 init.c
26a27
> #define NO_OF_FUNCTIONS 6
32,34c33,45
< printf( "\n\n*** HELLO WORLD TEST ***\n" );
< printf( "Hello World\n" );
< printf( "*** END OF HELLO WORLD TEST ***\n" );
---
> char *functions[NO_OF_FUNCTIONS] = {"aio_read()","aio_write()","aio_cancel()","aio_error()","aio_return()","lio_listio()"};
> int i;
>
> printf( "\n\n*** Greetings RTEMS community! ***\n" );
> printf( "My name is Alin Rus and I would like to implement\n" );
> printf( "POSIX Asynchronous IO: \n" );
>
> for(i = 0; i < NO_OF_FUNCTIONS; i++){
> printf("\t - %s \n",functions[i]);
> }
>
> printf( "\n *** THANK YOU! :) \n" );
>
35a47
>