[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Command rtc

NAME

Command rtc :: Ref Task count

SYNOPSIS

rtc RefName

DESCRIPTION

The rtc function returns the number of tasks in a referential. The parameter is the referential name.

EXAMPLE

In this example, a referential named `my_ref' is created with ra. Two tasks are created in this referential with the rta command : `my_task_1' and `my_task_2'.

rtc is used before and after tasks creation to print tasks count.

 
$ dio87d -d
$ dio87c -- ra my_ref
$ dio87c -- rtc my_ref
0
$
$ dio87c -- rta my_ref my_task_1
$ dio87c -- rta my_ref my_task_2 
$
$ dio87c -- rtc my_ref
2
$ dio87c -- rtl my_ref
my_task_1
my_task_2 
$

ACCESS CONTROL

This function requires the `consult' privilege for the `referential' command family.

SEE ALSO



This document was generated by dom on September, 11 2005 using texi2html