Print this page
5798 fexecve() needed per POSIX 2008


 273 #endif /* !defined(__XOPEN_OR_POSIX) || defined(_REENTRANT) ... */
 274 /* Marked as LEGACY in SUSv2 and removed in SUSv3 */
 275 #if !defined(_XPG6) || defined(__EXTENSIONS__)
 276 extern char *cuserid(char *);
 277 #endif
 278 extern int dup(int);
 279 extern int dup2(int, int);
 280 extern int dup3(int, int, int);
 281 #if defined(_XPG4) || defined(__EXTENSIONS__)
 282 extern void encrypt(char *, int);
 283 #endif /* defined(XPG4) || defined(__EXTENSIONS__) */
 284 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 285 extern void endusershell(void);
 286 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 287 extern int execl(const char *, const char *, ...);
 288 extern int execle(const char *, const char *, ...);
 289 extern int execlp(const char *, const char *, ...);
 290 extern int execv(const char *, char *const *);
 291 extern int execve(const char *, char *const *, char *const *);
 292 extern int execvp(const char *, char *const *);



 293 extern void _exit(int)
 294         __NORETURN;
 295 /*
 296  * The following fattach prototype is duplicated in <stropts.h>. The
 297  * duplication is necessitated by XPG4.2 which requires the prototype
 298  * be defined in <stropts.h>.
 299  */
 300 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 301 extern int fattach(int, const char *);
 302 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 303 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || defined(__EXTENSIONS__)
 304 extern int fchdir(int);
 305 extern int fchown(int, uid_t, gid_t);
 306 #endif /* !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2)... */
 307 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 308 extern int fchroot(int);
 309 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 310 #if !defined(__XOPEN_OR_POSIX) || (_POSIX_C_SOURCE > 2) || \
 311         defined(__EXTENSIONS__)
 312 extern int fdatasync(int);




 273 #endif /* !defined(__XOPEN_OR_POSIX) || defined(_REENTRANT) ... */
 274 /* Marked as LEGACY in SUSv2 and removed in SUSv3 */
 275 #if !defined(_XPG6) || defined(__EXTENSIONS__)
 276 extern char *cuserid(char *);
 277 #endif
 278 extern int dup(int);
 279 extern int dup2(int, int);
 280 extern int dup3(int, int, int);
 281 #if defined(_XPG4) || defined(__EXTENSIONS__)
 282 extern void encrypt(char *, int);
 283 #endif /* defined(XPG4) || defined(__EXTENSIONS__) */
 284 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 285 extern void endusershell(void);
 286 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 287 extern int execl(const char *, const char *, ...);
 288 extern int execle(const char *, const char *, ...);
 289 extern int execlp(const char *, const char *, ...);
 290 extern int execv(const char *, char *const *);
 291 extern int execve(const char *, char *const *, char *const *);
 292 extern int execvp(const char *, char *const *);
 293 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
 294 extern int fexecve(int, char *const[], char *const[]);
 295 #endif
 296 extern void _exit(int)
 297         __NORETURN;
 298 /*
 299  * The following fattach prototype is duplicated in <stropts.h>. The
 300  * duplication is necessitated by XPG4.2 which requires the prototype
 301  * be defined in <stropts.h>.
 302  */
 303 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 304 extern int fattach(int, const char *);
 305 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 306 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || defined(__EXTENSIONS__)
 307 extern int fchdir(int);
 308 extern int fchown(int, uid_t, gid_t);
 309 #endif /* !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2)... */
 310 #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 311 extern int fchroot(int);
 312 #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 313 #if !defined(__XOPEN_OR_POSIX) || (_POSIX_C_SOURCE > 2) || \
 314         defined(__EXTENSIONS__)
 315 extern int fdatasync(int);