mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibC: Stub out posix_memalign()
This commit is contained in:
parent
ab878576bb
commit
02c18bf6de
Notes:
sideshowbarker
2024-07-17 11:38:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/02c18bf6de
2 changed files with 11 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue