[mammoth] Return ErrorOr when creating a process

This commit is contained in:
Drew Galbraith 2023-06-21 20:58:08 -07:00
parent 0ec2fa3e76
commit 1f7a15eed4
4 changed files with 12 additions and 6 deletions

View file

@ -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);