summaryrefslogtreecommitdiffstats
path: root/doc/user/example.texi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-10 15:03:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-05-10 15:03:01 +0000
commite3ec4cc3f7f76d0577a11f5bdfaa587c43424805 (patch)
tree77d5833d88ea232a8f44d2cabafea1b56f411d7d /doc/user/example.texi
parentMade examples include checking of return status. (diff)
downloadrtems-e3ec4cc3f7f76d0577a11f5bdfaa587c43424805.tar.bz2
Added "@" in front of "{" and "}" to make texinfo happy.
Diffstat (limited to 'doc/user/example.texi')
-rw-r--r--doc/user/example.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/example.texi b/doc/user/example.texi
index 60862e6a6e..72ad71f740 100644
--- a/doc/user/example.texi
+++ b/doc/user/example.texi
@@ -39,16 +39,16 @@ rtems_task init_task(
name, 1, RTEMS_MINIMUM_STACK_SIZE,
RTEMS_NO_PREEMPT, RTEMS_FLOATING_POINT, &tid
);
- if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+ if ( status != RTEMS_STATUS_SUCCESSFUL ) @{
printf( "rtems_task_create failed with status of %d.\n", status );
exit( 1 );
- }
+ @}
status = rtems_task_start( tid, user_application, 0 );
- if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+ if ( status != RTEMS_STATUS_SUCCESSFUL ) @{
printf( "rtems_task_start failed with status of %d.\n", status );
exit( 1 );
- }
+ @}
status = rtems_task_delete( SELF ); /* should not return */
printf( "rtems_task_delete returned with status of %d.\n", status );