AuroraRuntime/Source/AuProcAddresses.UNIX.hpp

20 lines
549 B
C++
Executable File

/***
Copyright (C) 2024 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuProcAddresses.UNIX.hpp
Date: 2024-3-5
Author: Reece
***/
#pragma once
namespace Aurora
{
void PosixDoForkHooks();
void PosixTerminate();
AuUInt64 PosixGetOffset(int fd);
bool PosixSetOffset(int fd, AuUInt64 offset);
AuUInt64 PosixGetLength(int fd);
bool PosixRead (int fd, void *buf, AuUInt32 count, AuUInt32 *pRead);
bool PosixWrite (int fd, const void *buf, AuUInt32 count, AuUInt32 *pWritten);
}