1 /*
2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
7  *
8  * See the COPYRIGHT file distributed with this work for additional
9  * information regarding copyright ownership.
10  */
11 
12 #ifndef LWRES_STDLIB_H
13 #define LWRES_STDLIB_H 1
14 
15 /*! \file lwres/stdlib.h */
16 
17 #include <stdlib.h>
18 
19 #include <lwres/lang.h>
20 #include <lwres/platform.h>
21 
22 #ifdef LWRES_PLATFORM_NEEDSTRTOUL
23 #define strtoul lwres_strtoul
24 #endif
25 
26 LWRES_LANG_BEGINDECLS
27 
28 unsigned long lwres_strtoul(const char *, char **, int);
29 
30 LWRES_LANG_ENDDECLS
31 
32 #endif
33