1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

LibC: Stub out posix_memalign()

This commit is contained in:
Andreas Kling 2022-04-21 11:10:41 +02:00
parent ab878576bb
commit 02c18bf6de
2 changed files with 11 additions and 0 deletions

View file

@ -1335,3 +1335,12 @@ void _Exit(int status)
{
_exit(status);
}
// https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_memalign.html
int posix_memalign(void** memptr, size_t alignment, size_t size)
{
(void)memptr;
(void)alignment;
(void)size;
TODO();
}

View file

@ -101,4 +101,6 @@ int posix_openpt(int flags);
int grantpt(int fd);
int unlockpt(int fd);
int posix_memalign(void**, size_t alignment, size_t size);
__END_DECLS