mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 04:46:27 +08:00
rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
This commit is contained in:
@@ -53,6 +53,11 @@ int
|
||||
rtems_bsd_program_call_main(const char *name, int (*main)(int, char **),
|
||||
int argc, char **argv);
|
||||
|
||||
int
|
||||
rtems_bsd_program_call_main_with_data_restore(const char *name,
|
||||
int (*main)(int, char **), int argc, char **argv,
|
||||
const void *data_buf, const size_t data_size);
|
||||
|
||||
void
|
||||
rtems_bsd_program_exit(int exit_code) __dead2;
|
||||
|
||||
|
Reference in New Issue
Block a user