@@ -26,8 +26,6 @@ pub type cpulevel_t = c_int;
26
26
pub type cpuwhich_t = c_int ;
27
27
28
28
pub type mqd_t = * mut c_void ;
29
- pub type posix_spawnattr_t = * mut c_void ;
30
- pub type posix_spawn_file_actions_t = * mut c_void ;
31
29
32
30
pub type pthread_spinlock_t = * mut __c_anonymous_pthread_spinlock ;
33
31
pub type pthread_barrierattr_t = * mut __c_anonymous_pthread_barrierattr ;
@@ -3938,13 +3936,6 @@ pub const RTP_PRIO_REALTIME: c_ushort = 2;
3938
3936
pub const RTP_PRIO_NORMAL : c_ushort = 3 ;
3939
3937
pub const RTP_PRIO_IDLE : c_ushort = 4 ;
3940
3938
3941
- pub const POSIX_SPAWN_RESETIDS : c_short = 0x01 ;
3942
- pub const POSIX_SPAWN_SETPGROUP : c_short = 0x02 ;
3943
- pub const POSIX_SPAWN_SETSCHEDPARAM : c_short = 0x04 ;
3944
- pub const POSIX_SPAWN_SETSCHEDULER : c_short = 0x08 ;
3945
- pub const POSIX_SPAWN_SETSIGDEF : c_short = 0x10 ;
3946
- pub const POSIX_SPAWN_SETSIGMASK : c_short = 0x20 ;
3947
-
3948
3939
// Flags for chflags(2)
3949
3940
pub const UF_SYSTEM : c_ulong = 0x00000080 ;
3950
3941
pub const UF_SPARSE : c_ulong = 0x00000100 ;
@@ -5160,9 +5151,6 @@ extern "C" {
5160
5151
sevp : * mut sigevent ,
5161
5152
) -> c_int ;
5162
5153
5163
- pub fn mkostemp ( template : * mut c_char , flags : c_int ) -> c_int ;
5164
- pub fn mkostemps ( template : * mut c_char , suffixlen : c_int , flags : c_int ) -> c_int ;
5165
-
5166
5154
pub fn getutxuser ( user : * const c_char ) -> * mut utmpx ;
5167
5155
pub fn setutxdb ( _type : c_int , file : * const c_char ) -> c_int ;
5168
5156
@@ -5196,80 +5184,6 @@ extern "C" {
5196
5184
5197
5185
pub fn rtprio_thread ( function : c_int , lwpid : crate :: lwpid_t , rtp : * mut super :: rtprio ) -> c_int ;
5198
5186
5199
- pub fn posix_spawn (
5200
- pid : * mut crate :: pid_t ,
5201
- path : * const c_char ,
5202
- file_actions : * const crate :: posix_spawn_file_actions_t ,
5203
- attrp : * const crate :: posix_spawnattr_t ,
5204
- argv : * const * mut c_char ,
5205
- envp : * const * mut c_char ,
5206
- ) -> c_int ;
5207
- pub fn posix_spawnp (
5208
- pid : * mut crate :: pid_t ,
5209
- file : * const c_char ,
5210
- file_actions : * const crate :: posix_spawn_file_actions_t ,
5211
- attrp : * const crate :: posix_spawnattr_t ,
5212
- argv : * const * mut c_char ,
5213
- envp : * const * mut c_char ,
5214
- ) -> c_int ;
5215
- pub fn posix_spawnattr_init ( attr : * mut posix_spawnattr_t ) -> c_int ;
5216
- pub fn posix_spawnattr_destroy ( attr : * mut posix_spawnattr_t ) -> c_int ;
5217
- pub fn posix_spawnattr_getsigdefault (
5218
- attr : * const posix_spawnattr_t ,
5219
- default : * mut crate :: sigset_t ,
5220
- ) -> c_int ;
5221
- pub fn posix_spawnattr_setsigdefault (
5222
- attr : * mut posix_spawnattr_t ,
5223
- default : * const crate :: sigset_t ,
5224
- ) -> c_int ;
5225
- pub fn posix_spawnattr_getsigmask (
5226
- attr : * const posix_spawnattr_t ,
5227
- default : * mut crate :: sigset_t ,
5228
- ) -> c_int ;
5229
- pub fn posix_spawnattr_setsigmask (
5230
- attr : * mut posix_spawnattr_t ,
5231
- default : * const crate :: sigset_t ,
5232
- ) -> c_int ;
5233
- pub fn posix_spawnattr_getflags ( attr : * const posix_spawnattr_t , flags : * mut c_short ) -> c_int ;
5234
- pub fn posix_spawnattr_setflags ( attr : * mut posix_spawnattr_t , flags : c_short ) -> c_int ;
5235
- pub fn posix_spawnattr_getpgroup (
5236
- attr : * const posix_spawnattr_t ,
5237
- flags : * mut crate :: pid_t ,
5238
- ) -> c_int ;
5239
- pub fn posix_spawnattr_setpgroup ( attr : * mut posix_spawnattr_t , flags : crate :: pid_t ) -> c_int ;
5240
- pub fn posix_spawnattr_getschedpolicy (
5241
- attr : * const posix_spawnattr_t ,
5242
- flags : * mut c_int ,
5243
- ) -> c_int ;
5244
- pub fn posix_spawnattr_setschedpolicy ( attr : * mut posix_spawnattr_t , flags : c_int ) -> c_int ;
5245
- pub fn posix_spawnattr_getschedparam (
5246
- attr : * const posix_spawnattr_t ,
5247
- param : * mut crate :: sched_param ,
5248
- ) -> c_int ;
5249
- pub fn posix_spawnattr_setschedparam (
5250
- attr : * mut posix_spawnattr_t ,
5251
- param : * const crate :: sched_param ,
5252
- ) -> c_int ;
5253
-
5254
- pub fn posix_spawn_file_actions_init ( actions : * mut posix_spawn_file_actions_t ) -> c_int ;
5255
- pub fn posix_spawn_file_actions_destroy ( actions : * mut posix_spawn_file_actions_t ) -> c_int ;
5256
- pub fn posix_spawn_file_actions_addopen (
5257
- actions : * mut posix_spawn_file_actions_t ,
5258
- fd : c_int ,
5259
- path : * const c_char ,
5260
- oflag : c_int ,
5261
- mode : crate :: mode_t ,
5262
- ) -> c_int ;
5263
- pub fn posix_spawn_file_actions_addclose (
5264
- actions : * mut posix_spawn_file_actions_t ,
5265
- fd : c_int ,
5266
- ) -> c_int ;
5267
- pub fn posix_spawn_file_actions_adddup2 (
5268
- actions : * mut posix_spawn_file_actions_t ,
5269
- fd : c_int ,
5270
- newfd : c_int ,
5271
- ) -> c_int ;
5272
-
5273
5187
pub fn uuidgen ( store : * mut uuid , count : c_int ) -> c_int ;
5274
5188
5275
5189
pub fn thr_kill ( id : c_long , sig : c_int ) -> c_int ;
0 commit comments