Print this page
5798 fexecve() needed per POSIX 2008

Split Close
Expand all
Collapse all
          --- old/usr/src/head/unistd.h
          +++ new/usr/src/head/unistd.h
↓ open down ↓ 282 lines elided ↑ open up ↑
 283  283  #endif /* defined(XPG4) || defined(__EXTENSIONS__) */
 284  284  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 285  285  extern void endusershell(void);
 286  286  #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 287  287  extern int execl(const char *, const char *, ...);
 288  288  extern int execle(const char *, const char *, ...);
 289  289  extern int execlp(const char *, const char *, ...);
 290  290  extern int execv(const char *, char *const *);
 291  291  extern int execve(const char *, char *const *, char *const *);
 292  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
 293  296  extern void _exit(int)
 294  297          __NORETURN;
 295  298  /*
 296  299   * The following fattach prototype is duplicated in <stropts.h>. The
 297  300   * duplication is necessitated by XPG4.2 which requires the prototype
 298  301   * be defined in <stropts.h>.
 299  302   */
 300  303  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 301  304  extern int fattach(int, const char *);
 302  305  #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
↓ open down ↓ 422 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX