haiku/headers/private/system/user_runtime.h
Ingo Weinhold 19d40f9eb7 Moved the rld_export structure from <user_runtime.h> to
<runtime_loader.h>, since it isn't a kernel <-> userland interface.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-02 03:43:01 +00:00

34 lines
742 B
C

/*
* Copyright 2003-2007, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*
* Copyright 2002, Manuel J. Petit. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#ifndef KERNEL_USER_RUNTIME_H_
#define KERNEL_USER_RUNTIME_H_
#include <image.h>
#include <OS.h>
#define MAGIC_APP_NAME "_APP_"
#define MAX_PROCESS_ARGS_SIZE (128 * 1024)
// maximal total size needed for process arguments and environment strings
struct user_space_program_args {
char program_name[B_OS_NAME_LENGTH];
char program_path[B_PATH_NAME_LENGTH];
port_id error_port;
uint32 error_token;
int arg_count;
int env_count;
char **args;
char **env;
};
#endif /* KERNEL_USER_RUNTIME_H_ */