Skip to content

Commit d751f23

Browse files
committed
move rtpSpawn from libstd to libc
1 parent 95b1e24 commit d751f23

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/vxworks/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,6 +2050,15 @@ extern "C" {
20502050

20512051
// rtpLibCommon.h
20522052
pub fn rtpInfoGet(rtpId: ::RTP_ID, rtpStruct: *mut ::RTP_DESC) -> ::c_int;
2053+
pub fn rtpSpawn(
2054+
pubrtpFileName: *const ::c_char,
2055+
argv: *const *const ::c_char,
2056+
envp: *const *const ::c_char,
2057+
priority: ::c_int,
2058+
uStackSize: ::size_t,
2059+
options: ::c_int,
2060+
taskOptions: ::c_int,
2061+
) -> RTP_ID;
20532062

20542063
// ioLib.h
20552064
pub fn _realpath(

0 commit comments

Comments
 (0)