mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:37:34 +00:00
LibC: Add stub for res_query
This commit is contained in:
parent
8abfcb976d
commit
04733ccb56
3 changed files with 33 additions and 0 deletions
15
Userland/Libraries/LibC/resolv.h
Normal file
15
Userland/Libraries/LibC/resolv.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2021, the SerenityOS developers
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
int res_query(const char* dname, int class_, int type, unsigned char* answer, int anslen);
|
||||
|
||||
__END_DECLS
|
Loading…
Add table
Add a link
Reference in a new issue