1d54cfbdroberto/*
2d54cfbdroberto * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
3d54cfbdroberto * Copyright (C) 2003  Internet Software Consortium.
4d54cfbdroberto *
5d54cfbdroberto * Permission to use, copy, modify, and/or distribute this software for any
6d54cfbdroberto * purpose with or without fee is hereby granted, provided that the above
7d54cfbdroberto * copyright notice and this permission notice appear in all copies.
8d54cfbdroberto *
9d54cfbdroberto * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10d54cfbdroberto * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11d54cfbdroberto * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12d54cfbdroberto * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13d54cfbdroberto * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14d54cfbdroberto * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15d54cfbdroberto * PERFORMANCE OF THIS SOFTWARE.
16d54cfbdroberto */
17d54cfbdroberto
18d54cfbdroberto/* $Id: stdlib.h,v 1.8 2007/06/19 23:47:18 tbox Exp $ */
19d54cfbdroberto
20d54cfbdroberto#ifndef ISC_STDLIB_H
21d54cfbdroberto#define ISC_STDLIB_H 1
22d54cfbdroberto
23d54cfbdroberto/*! \file isc/stdlib.h */
24d54cfbdroberto
25d54cfbdroberto#include <stdlib.h>
26d54cfbdroberto
27d54cfbdroberto#include <isc/lang.h>
28d54cfbdroberto#include <isc/platform.h>
29d54cfbdroberto
30d54cfbdroberto#ifdef ISC_PLATFORM_NEEDSTRTOUL
31d54cfbdroberto#define strtoul isc_strtoul
32d54cfbdroberto#endif
33d54cfbdroberto
34d54cfbdrobertoISC_LANG_BEGINDECLS
35d54cfbdroberto
36d54cfbdrobertounsigned long isc_strtoul(const char *, char **, int);
37d54cfbdroberto
38d54cfbdrobertoISC_LANG_ENDDECLS
39d54cfbdroberto
40d54cfbdroberto#endif
41