Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../bin/.././include/spawn.h
Real path: /usr/include/spawn.h
Zurück
/* * Copyright (c) 2003, 2020, Oracle and/or its affiliates. */ #ifndef _SPAWN_H #define _SPAWN_H #include <sys/feature_tests.h> #include <sys/types.h> #include <sys/spawn.h> #include <signal.h> #include <sched.h> #ifdef __cplusplus extern "C" { #endif typedef struct { void *__spawn_attrp; /* implementation-private */ } posix_spawnattr_t; typedef struct { void *__file_attrp; /* implementation-private */ } posix_spawn_file_actions_t; #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) typedef struct { int vamask_len; int vamask_flags; } posix_spawn_vamask_t; #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */ extern int posix_spawn( pid_t *_RESTRICT_KYWD, /* pid */ const char *_RESTRICT_KYWD, /* path */ const posix_spawn_file_actions_t *, /* file_actions */ const posix_spawnattr_t *_RESTRICT_KYWD, /* attrp */ char *const *_RESTRICT_KYWD, /* argv */ char *const *_RESTRICT_KYWD); /* envp */ extern int posix_spawnp( pid_t *_RESTRICT_KYWD, /* pid */ const char *_RESTRICT_KYWD, /* file */ const posix_spawn_file_actions_t *, /* file_actions */ const posix_spawnattr_t *_RESTRICT_KYWD, /* attrp */ char *const *_RESTRICT_KYWD, /* argv */ char *const *_RESTRICT_KYWD); /* envp */ extern int posix_spawn_file_actions_init( posix_spawn_file_actions_t *); extern int posix_spawn_file_actions_destroy( posix_spawn_file_actions_t *); extern int posix_spawn_file_actions_addopen( posix_spawn_file_actions_t *_RESTRICT_KYWD, int, /* filedes */ const char *_RESTRICT_KYWD, /* path */ int, /* oflag */ mode_t); /* mode */ extern int posix_spawn_file_actions_addclose( posix_spawn_file_actions_t *, int); /* filedes */ extern int posix_spawn_file_actions_adddup2( posix_spawn_file_actions_t *, int, /* filedes */ int); /* newfiledes */ extern int posix_spawnattr_init( posix_spawnattr_t *); extern int posix_spawnattr_destroy( posix_spawnattr_t *); extern int posix_spawnattr_setflags( posix_spawnattr_t *, short); /* flags */ extern int posix_spawnattr_getflags( const posix_spawnattr_t *_RESTRICT_KYWD, short *_RESTRICT_KYWD); /* flags */ extern int posix_spawnattr_setpgroup( posix_spawnattr_t *, pid_t); /* pgroup */ extern int posix_spawnattr_getpgroup( const posix_spawnattr_t *_RESTRICT_KYWD, pid_t *_RESTRICT_KYWD); /* pgroup */ extern int posix_spawnattr_setschedparam( posix_spawnattr_t *_RESTRICT_KYWD, const struct sched_param *_RESTRICT_KYWD); /* schedparam */ extern int posix_spawnattr_getschedparam( const posix_spawnattr_t *_RESTRICT_KYWD, struct sched_param *_RESTRICT_KYWD); /* schedparam */ extern int posix_spawnattr_setschedpolicy( posix_spawnattr_t *, int); /* schedpolicy */ extern int posix_spawnattr_getschedpolicy( const posix_spawnattr_t *_RESTRICT_KYWD, int *_RESTRICT_KYWD); /* schedpolicy */ extern int posix_spawnattr_setsigdefault( posix_spawnattr_t *_RESTRICT_KYWD, const sigset_t *_RESTRICT_KYWD); /* sigdefault */ extern int posix_spawnattr_getsigdefault( const posix_spawnattr_t *_RESTRICT_KYWD, sigset_t *_RESTRICT_KYWD); /* sigdefault */ /* * non-portable Solaris extensions */ #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) #ifdef __PRAGMA_REDEFINE_EXTNAME #pragma redefine_extname posix_spawn_file_actions_addchdir_np \ posix_spawn_file_actions_addchdir #else #define posix_spawn_file_actions_addchdir_np posix_spawn_file_actions_addchdir #endif extern int posix_spawn_file_actions_addchdir_np( posix_spawn_file_actions_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); /* path */ extern int posix_spawn_file_actions_addchdir( posix_spawn_file_actions_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); /* path */ extern int posix_spawn_file_actions_addfchdir( posix_spawn_file_actions_t *, int); /* file descriptor */ extern int posix_spawn_file_actions_addclosefrom_np( posix_spawn_file_actions_t *, int); /* lowfiledes */ extern int posix_spawnattr_setsigignore_np( posix_spawnattr_t *_RESTRICT_KYWD, const sigset_t *_RESTRICT_KYWD); /* sigignore */ extern int posix_spawnattr_getsigignore_np( const posix_spawnattr_t *_RESTRICT_KYWD, sigset_t *_RESTRICT_KYWD); /* sigignore */ extern int posix_spawnattr_setvamask_np( posix_spawnattr_t *_RESTRICT_KYWD, const posix_spawn_vamask_t *_RESTRICT_KYWD); /* vamask */ extern int posix_spawnattr_getvamask_np( const posix_spawnattr_t *_RESTRICT_KYWD, posix_spawn_vamask_t *_RESTRICT_KYWD); /* vamask */ #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */ extern int posix_spawnattr_setsigmask( posix_spawnattr_t *_RESTRICT_KYWD, const sigset_t *_RESTRICT_KYWD); /* sigmask */ extern int posix_spawnattr_getsigmask( const posix_spawnattr_t *_RESTRICT_KYWD, sigset_t *_RESTRICT_KYWD); /* sigmask */ #ifdef __cplusplus } #endif #endif /* _SPAWN_H */