Skip to content

Commit f2dc14f

Browse files
authored
Merge pull request #4407 from hax0kartik/vxworks
Add some missing defines for VxWorks
2 parents 049d0af + e119cae commit f2dc14f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vxworks/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ pub const S_taskLib_ILLEGAL_PRIORITY: c_int = taskErrorBase + 0x0068;
753753

754754
// FIXME(vxworks): could also be useful for TASK_DESC type
755755
pub const VX_TASK_NAME_LENGTH: c_int = 31;
756+
pub const VX_TASK_RENAME_LENGTH: c_int = 16;
756757

757758
// semLibCommon.h
758759
pub const S_semLib_INVALID_STATE: c_int = semErrorBase + 0x0065;
@@ -814,6 +815,9 @@ pub const S_IWOTH: c_int = 0o0002;
814815
pub const S_IXOTH: c_int = 0o0001;
815816
pub const S_IRWXO: c_int = 0o0007;
816817

818+
pub const UTIME_OMIT: c_long = 0x3ffffffe;
819+
pub const UTIME_NOW: c_long = 0x3fffffff;
820+
817821
// socket.h
818822
pub const SOL_SOCKET: c_int = 0xffff;
819823
pub const SOMAXCONN: c_int = 128;

0 commit comments

Comments
 (0)