mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibC: Add stub for res_query
This commit is contained in:
parent
8abfcb976d
commit
04733ccb56
Notes:
sideshowbarker
2024-07-18 05:43:16 +09:00
Author: https://github.com/kennethmyhra
Commit: 04733ccb56
Pull-request: https://github.com/SerenityOS/serenity/pull/9347
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg ✅
3 changed files with 33 additions and 0 deletions
17
Userland/Libraries/LibC/resolv.cpp
Normal file
17
Userland/Libraries/LibC/resolv.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2021, the SerenityOS developers
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/Format.h>
|
||||
#include <resolv.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
int res_query(char const*, int, int, unsigned char*, int)
|
||||
{
|
||||
dbgln("FIXME: Implement res_query()");
|
||||
return 0;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue