@@ -2343,13 +2343,6 @@ pub const PT_LWPNEXT: ::c_int = 25;
2343
2343
pub const PT_SET_SIGPASS : :: c_int = 26 ;
2344
2344
pub const PT_GET_SIGPASS : :: c_int = 27 ;
2345
2345
pub const PT_FIRSTMACH : :: c_int = 32 ;
2346
-
2347
- pub const POSIX_SPAWN_RESETIDS : :: c_int = 0x01 ;
2348
- pub const POSIX_SPAWN_SETPGROUP : :: c_int = 0x02 ;
2349
- pub const POSIX_SPAWN_SETSCHEDPARAM : :: c_int = 0x04 ;
2350
- pub const POSIX_SPAWN_SETSCHEDULER : :: c_int = 0x08 ;
2351
- pub const POSIX_SPAWN_SETSIGDEF : :: c_int = 0x10 ;
2352
- pub const POSIX_SPAWN_SETSIGMASK : :: c_int = 0x20 ;
2353
2346
pub const POSIX_SPAWN_RETURNERROR : :: c_int = 0x40 ;
2354
2347
2355
2348
// Flags for chflags(2)
@@ -2888,82 +2881,6 @@ extern "C" {
2888
2881
ts : * const :: timespec ,
2889
2882
sigmask : * const :: sigset_t ,
2890
2883
) -> :: c_int ;
2891
- pub fn posix_spawn (
2892
- pid : * mut :: pid_t ,
2893
- path : * const :: c_char ,
2894
- file_actions : * const :: posix_spawn_file_actions_t ,
2895
- attrp : * const :: posix_spawnattr_t ,
2896
- argv : * const * mut :: c_char ,
2897
- envp : * const * mut :: c_char ,
2898
- ) -> :: c_int ;
2899
- pub fn posix_spawnp (
2900
- pid : * mut :: pid_t ,
2901
- file : * const :: c_char ,
2902
- file_actions : * const :: posix_spawn_file_actions_t ,
2903
- attrp : * const :: posix_spawnattr_t ,
2904
- argv : * const * mut :: c_char ,
2905
- envp : * const * mut :: c_char ,
2906
- ) -> :: c_int ;
2907
- pub fn posix_spawnattr_init ( attr : * mut posix_spawnattr_t ) -> :: c_int ;
2908
- pub fn posix_spawnattr_destroy ( attr : * mut posix_spawnattr_t ) -> :: c_int ;
2909
- pub fn posix_spawnattr_getsigdefault (
2910
- attr : * const posix_spawnattr_t ,
2911
- default : * mut :: sigset_t ,
2912
- ) -> :: c_int ;
2913
- pub fn posix_spawnattr_setsigdefault (
2914
- attr : * mut posix_spawnattr_t ,
2915
- default : * const :: sigset_t ,
2916
- ) -> :: c_int ;
2917
- pub fn posix_spawnattr_getsigmask (
2918
- attr : * const posix_spawnattr_t ,
2919
- default : * mut :: sigset_t ,
2920
- ) -> :: c_int ;
2921
- pub fn posix_spawnattr_setsigmask (
2922
- attr : * mut posix_spawnattr_t ,
2923
- default : * const :: sigset_t ,
2924
- ) -> :: c_int ;
2925
- pub fn posix_spawnattr_getflags (
2926
- attr : * const posix_spawnattr_t ,
2927
- flags : * mut :: c_short ,
2928
- ) -> :: c_int ;
2929
- pub fn posix_spawnattr_setflags ( attr : * mut posix_spawnattr_t , flags : :: c_short ) -> :: c_int ;
2930
- pub fn posix_spawnattr_getpgroup (
2931
- attr : * const posix_spawnattr_t ,
2932
- flags : * mut :: pid_t ,
2933
- ) -> :: c_int ;
2934
- pub fn posix_spawnattr_setpgroup ( attr : * mut posix_spawnattr_t , flags : :: pid_t ) -> :: c_int ;
2935
- pub fn posix_spawnattr_getschedpolicy (
2936
- attr : * const posix_spawnattr_t ,
2937
- flags : * mut :: c_int ,
2938
- ) -> :: c_int ;
2939
- pub fn posix_spawnattr_setschedpolicy ( attr : * mut posix_spawnattr_t , flags : :: c_int ) -> :: c_int ;
2940
- pub fn posix_spawnattr_getschedparam (
2941
- attr : * const posix_spawnattr_t ,
2942
- param : * mut :: sched_param ,
2943
- ) -> :: c_int ;
2944
- pub fn posix_spawnattr_setschedparam (
2945
- attr : * mut posix_spawnattr_t ,
2946
- param : * const :: sched_param ,
2947
- ) -> :: c_int ;
2948
-
2949
- pub fn posix_spawn_file_actions_init ( actions : * mut posix_spawn_file_actions_t ) -> :: c_int ;
2950
- pub fn posix_spawn_file_actions_destroy ( actions : * mut posix_spawn_file_actions_t ) -> :: c_int ;
2951
- pub fn posix_spawn_file_actions_addopen (
2952
- actions : * mut posix_spawn_file_actions_t ,
2953
- fd : :: c_int ,
2954
- path : * const :: c_char ,
2955
- oflag : :: c_int ,
2956
- mode : :: mode_t ,
2957
- ) -> :: c_int ;
2958
- pub fn posix_spawn_file_actions_addclose (
2959
- actions : * mut posix_spawn_file_actions_t ,
2960
- fd : :: c_int ,
2961
- ) -> :: c_int ;
2962
- pub fn posix_spawn_file_actions_adddup2 (
2963
- actions : * mut posix_spawn_file_actions_t ,
2964
- fd : :: c_int ,
2965
- newfd : :: c_int ,
2966
- ) -> :: c_int ;
2967
2884
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
2968
2885
2969
2886
pub fn reboot ( mode : :: c_int , bootstr : * mut :: c_char ) -> :: c_int ;
0 commit comments