[mammoth] Return ErrorOr when creating a process
This commit is contained in:
parent
0ec2fa3e76
commit
1f7a15eed4
4 changed files with 12 additions and 6 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <glacier/status/error_or.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "mammoth/channel.h"
|
||||
|
||||
uint64_t SpawnProcessFromElfRegion(uint64_t program, Channel& local);
|
||||
glcr::ErrorOr<Channel> SpawnProcessFromElfRegion(uint64_t program);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue