Skip to content

Commit f248ae8

Browse files
committed
adding VX_TASK_NAME_LENGTH
1 parent 7a28fc7 commit f248ae8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vxworks/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,9 @@ pub const S_taskLib_TASK_HOOK_TABLE_FULL: ::c_int = taskErrorBase + 0x0066;
733733
pub const S_taskLib_TASK_HOOK_NOT_FOUND: ::c_int = taskErrorBase + 0x0067;
734734
pub const S_taskLib_ILLEGAL_PRIORITY: ::c_int = taskErrorBase + 0x0068;
735735

736+
// FIXME: could also be useful for TASK_DESC type
737+
pub const VX_TASK_NAME_LENGTH: ::c_int = 31;
738+
736739
// semLibCommon.h
737740
pub const S_semLib_INVALID_STATE: ::c_int = semErrorBase + 0x0065;
738741
pub const S_semLib_INVALID_OPTION: ::c_int = semErrorBase + 0x0066;

0 commit comments

Comments
 (0)