[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c_user documentation bug



In the document c_user.pdf there is a problem.

In section 2.2.1 there are references to rtems_get_object_name. The examples won't compile as shown.

The real function is rtems_object_get_name.

One more thing, the routine has 3 parameters, the ID of the process in question, and the length and holding spot for the returned name, It then returns a pointer to the name. Would it make more sense to return a pointer to the name in the TCB or just a status code? It just seems redundant to return a copy of the name and a pointer to the copy.


Thanks,
Andrei
---------------------
Andrei Chichak

Systems Developer
CBF Systems Inc.
4-038 NINT INNOVATION CENTRE
11421 SASKATCHEWAN DRIVE
EDMONTON, ALBERTA
T6G 2M9
CANADA

Phone: 780-628-2072
Skype: andrei.chichak