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 13 #ifndef ISC_STDLIB_H 14 #define ISC_STDLIB_H 1 15 16 /*! \file isc/stdlib.h */ 17 18 #include <stdlib.h> 19 20 #include <isc/lang.h> 21 #include <isc/platform.h> 22 23 #ifdef ISC_PLATFORM_NEEDSTRTOUL 24 #define strtoul isc_strtoul 25 #endif 26 27 ISC_LANG_BEGINDECLS 28 29 unsigned long isc_strtoul(const char *, char **, int); 30 31 ISC_LANG_ENDDECLS 32 33 #endif 34