Partial exec, environment variables
This commit is contained in:
@@ -94,9 +94,15 @@ int remove (const char* path);
|
||||
int create_volume (const char* key, int fs_type, const char* device_key);
|
||||
|
||||
/* Set environment variable */
|
||||
int env_set (const char* key, void* buffer, size_t len);
|
||||
int env_set (int pid, const char* key, void* buffer, size_t len);
|
||||
|
||||
/* Get environment variable */
|
||||
int env_get (const char* key, void* buffer, size_t len);
|
||||
int env_get (int pid, const char* key, void* buffer, size_t len);
|
||||
|
||||
/* Prepare process for execution */
|
||||
int exec_partial (const char* volume, const char* path);
|
||||
|
||||
/* Finish process for execution - run it! */
|
||||
int exec_partial_fini (int pid);
|
||||
|
||||
#endif // _LIBMSL_M_SYSTEM_H
|
||||
|
||||
Reference in New Issue
Block a user