X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..3a60a9f5b85abb8c2cf24e1926c5c7b3f608a5e2:/bsd/sys/exec.h diff --git a/bsd/sys/exec.h b/bsd/sys/exec.h index 3abf356dd..e3b9d6e5b 100644 --- a/bsd/sys/exec.h +++ b/bsd/sys/exec.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -63,32 +63,15 @@ #ifndef _SYS_EXEC_H_ #define _SYS_EXEC_H_ +#include + /* - * The following structure is found at the top of the user stack of each - * user process. The ps program uses it to locate argv and environment - * strings. Programs that wish ps to display other information may modify - * it; normally ps_argvstr points to the text for argv[0], and ps_nargvstr - * is the same as the program's argc. The fields ps_envstr and ps_nenvstr - * are the equivalent for the environment. + * XXX at this point, this file only exists for backward compatability with + * XXX software which includes instead of the more correct + * XXX and/or need the inclusion of + * XXX as a side effect. */ -struct ps_strings { - char *ps_argvstr; /* first of 0 or more argument strings */ - int ps_nargvstr; /* the number of argument strings */ - char *ps_envstr; /* first of 0 or more environment strings */ - int ps_nenvstr; /* the number of environment strings */ -}; - #include -#ifdef KERNEL -/* - * Arguments to the exec system call. - */ -struct execve_args { - char *fname; - char **argp; - char **envp; -}; -#endif /* KERNEL */ #endif /* !_SYS_EXEC_H_ */