SHARE
TWEET

Untitled

a guest Mar 19th, 2010 198 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alinrus@alinrus-laptop:~/work/test1/rtems/testsuites/samples/hello$ cvs diff init.c
  2. Index: init.c
  3. ===================================================================
  4. RCS file: /usr1/CVS/rtems/testsuites/samples/hello/init.c,v
  5. retrieving revision 1.15
  6. diff -r1.15 init.c
  7. 26a27
  8. > #define NO_OF_FUNCTIONS 6
  9. 32,34c33,45
  10. <   printf( "\n\n*** HELLO WORLD TEST ***\n" );
  11. <   printf( "Hello World\n" );
  12. <   printf( "*** END OF HELLO WORLD TEST ***\n" );
  13. ---
  14. >       char *functions[NO_OF_FUNCTIONS] = {"aio_read()","aio_write()","aio_cancel()","aio_error()","aio_return()","lio_listio()"};
  15. >       int i;
  16. >    
  17. >       printf( "\n\n*** Greetings RTEMS community! ***\n" );
  18. >       printf( "My name is Alin Rus and I would like to implement\n" );
  19. >       printf( "POSIX Asynchronous IO: \n" );
  20. >
  21. >       for(i = 0; i < NO_OF_FUNCTIONS; i++){
  22. >               printf("\t - %s \n",functions[i]);
  23. >       }  
  24. >
  25. >       printf( "\n *** THANK YOU! :) \n" );
  26. >
  27. 35a47
  28. >
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top