How to add Errno's to the Error Library( USER DEFINED ERRNO'S) in Vx Works?

Status
Not open for further replies.

santhosh_y

Newbie level 6
Joined
Jun 19, 2007
Messages
13
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,357
How to add Errno's to the Error Library( USER DEFINED ERRNO'S) in Vx works :?:
 

Re: Errno in Vx- Works

Exactly what do u want ... it is not clear from ur question......
Do u want to add error numbers to error library of vxworks and to make it a package then ... u have to kernel/interrupt error table in BSP package of the main board (SBC).But simply it is a tedious job as ur system compiler can be failed for a single mistake .

else simply in workspace generate a .h type file and add ur own systems application level errors with defined number levels ... then exactly when u call that .h in any .c file of that same workspace u will have the access to ur defined error numbers to that
defined errors separately ... no need to hanadle any Board's integrated ESP (Enhanced Support Package).
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…