Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement