diff options
author | Baoshan Pang <baoshan.pang@windriver.com> | 2019-09-23 14:53:41 -0700 |
---|---|---|
committer | Baoshan Pang <baoshan.pang@windriver.com> | 2019-09-23 14:53:41 -0700 |
commit | d751f237125d96147cb5eb1d074113a5e5cf8d10 (patch) | |
tree | 22f8a94d767d93df7ba06e3423dfabc9e2e2eb20 | |
parent | 95b1e24db9ccfb144574b65cb22611d31ebcdd29 (diff) | |
download | rust-libc-d751f237125d96147cb5eb1d074113a5e5cf8d10.tar.gz |
move rtpSpawn from libstd to libc
-rwxr-xr-x | src/vxworks/mod.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index 6fb79c1db0..f17773dae7 100755 --- a/src/vxworks/mod.rs +++ b/src/vxworks/mod.rs @@ -2050,6 +2050,15 @@ extern "C" { // rtpLibCommon.h pub fn rtpInfoGet(rtpId: ::RTP_ID, rtpStruct: *mut ::RTP_DESC) -> ::c_int; + pub fn rtpSpawn( + pubrtpFileName: *const ::c_char, + argv: *const *const ::c_char, + envp: *const *const ::c_char, + priority: ::c_int, + uStackSize: ::size_t, + options: ::c_int, + taskOptions: ::c_int, + ) -> RTP_ID; // ioLib.h pub fn _realpath( |